From 1cdee4c9a19baa1bbdbe859e7015759c717b3a51 Mon Sep 17 00:00:00 2001 From: Daniel Chew Date: Tue, 16 Jul 2024 12:51:35 +0900 Subject: [PATCH] update config --- config/config.sample.pythnet.toml | 9 +++++++++ config/config.sample.pythtest.toml | 9 +++++++++ config/config.toml | 10 ++++++++++ 3 files changed, 28 insertions(+) diff --git a/config/config.sample.pythnet.toml b/config/config.sample.pythnet.toml index 8ea9a709..f1d35b9d 100644 --- a/config/config.sample.pythnet.toml +++ b/config/config.sample.pythnet.toml @@ -70,3 +70,12 @@ exporter.maximum_compute_unit_price_micro_lamports = 100000 # Note that this doesn't affect the rate at which transactions are published: # this is soley a backwards-compatibility API feature. notify_price_sched_interval_duration = "400ms" + +# Configuration for OpenTelemetry +[opentelemetry] + +# Timeout in seconds for the OpenTelemetry exporter +exporter_timeout_secs = 3 + +# Endpoint URL for the OpenTelemetry exporter +exporter_endpoint = "http://127.0.0.1:4317" diff --git a/config/config.sample.pythtest.toml b/config/config.sample.pythtest.toml index 2674801e..653411cf 100644 --- a/config/config.sample.pythtest.toml +++ b/config/config.sample.pythtest.toml @@ -60,3 +60,12 @@ exporter.compute_unit_price_micro_lamports = 1000 # Note that this doesn't affect the rate at which transactions are published: # this is soley a backwards-compatibility API feature. notify_price_sched_interval_duration = "400ms" + +# Configuration for OpenTelemetry +[opentelemetry] + +# Timeout in seconds for the OpenTelemetry exporter +exporter_timeout_secs = 3 + +# Endpoint URL for the OpenTelemetry exporter +exporter_endpoint = "http://127.0.0.1:4317" diff --git a/config/config.toml b/config/config.toml index 8f35ade4..39b254b6 100644 --- a/config/config.toml +++ b/config/config.toml @@ -181,3 +181,13 @@ key_store.mapping_key = "RelevantOracleMappingAddress" # publish data to. In most cases this should be a Solana endpoint. The # options correspond to the ones in primary_network # [secondary_network] + + +## Configuration for OpenTelemetry ## +[opentelemetry] + +# Timeout in seconds for the OpenTelemetry exporter +exporter_timeout_secs = 3 + +# Endpoint URL for the OpenTelemetry exporter +exporter_endpoint = "http://127.0.0.1:4317"