From b020cbb76cf32d235b6efddf10186ea7320718bc Mon Sep 17 00:00:00 2001 From: Artyom Bakhtin Date: Wed, 30 Oct 2024 19:53:44 +0300 Subject: [PATCH] Add more parameters to the example configuration (#9) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 📝 Summary Add more parameters to the example configuration: - Couple of new parameters supported by the rbuilder-operator - `instance_name` to the Prometheus config to uniquely identify the running instance - Secrets configuration to Prometheus config to authenticate to the remote endpoint ## ⛱ Motivation and Context ## 📚 References --- ## ✅ I have run these commands * [ ] `make lint` * [ ] `make test` * [ ] `go mod tidy` Signed-off-by: bakhtin --- testdata/get-configuration.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/testdata/get-configuration.json b/testdata/get-configuration.json index a8da542..21edf5f 100644 --- a/testdata/get-configuration.json +++ b/testdata/get-configuration.json @@ -24,6 +24,8 @@ "relay_secret_key": "0x00", "optimistic_relay_secret_key": "0x00", "coinbase_secret_key": "0x00", + "top_bid_stream_api_key": "0x00", + "always_seal": true, "relays": [ { "name": "flashbots", @@ -45,6 +47,7 @@ }, "prometheus": { "__version": "2.54.0", + "instance_name": "tdx-builder-xx-yocto", "scrape_interval": "10s", "static_configs_default_labels": [ { @@ -71,13 +74,18 @@ "rbuilder_metrics": { "enabled": true, "targets": [ - "localhost:6069" + "localhost:6060" ] }, "remote_write": [ { "name": "tdx-rbuilder-collector", - "url": "https://aps-workspaces.us-east-2.amazonaws.com/workspaces/ws-xxx/api/v1/remote_write" + "url": "https://aps-workspaces.us-east-2.amazonaws.com/workspaces/ws-xxx/api/v1/remote_write", + "sigv4": { + "access_key": "xxx", + "secret_key": "xxx", + "region": "us-east-2" + } } ] },