Skip to content

Commit 1cdee4c

Browse files
committed
update config
1 parent a7ddefe commit 1cdee4c

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

config/config.sample.pythnet.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,12 @@ exporter.maximum_compute_unit_price_micro_lamports = 100000
7070
# Note that this doesn't affect the rate at which transactions are published:
7171
# this is soley a backwards-compatibility API feature.
7272
notify_price_sched_interval_duration = "400ms"
73+
74+
# Configuration for OpenTelemetry
75+
[opentelemetry]
76+
77+
# Timeout in seconds for the OpenTelemetry exporter
78+
exporter_timeout_secs = 3
79+
80+
# Endpoint URL for the OpenTelemetry exporter
81+
exporter_endpoint = "http://127.0.0.1:4317"

config/config.sample.pythtest.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,12 @@ exporter.compute_unit_price_micro_lamports = 1000
6060
# Note that this doesn't affect the rate at which transactions are published:
6161
# this is soley a backwards-compatibility API feature.
6262
notify_price_sched_interval_duration = "400ms"
63+
64+
# Configuration for OpenTelemetry
65+
[opentelemetry]
66+
67+
# Timeout in seconds for the OpenTelemetry exporter
68+
exporter_timeout_secs = 3
69+
70+
# Endpoint URL for the OpenTelemetry exporter
71+
exporter_endpoint = "http://127.0.0.1:4317"

config/config.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,3 +181,13 @@ key_store.mapping_key = "RelevantOracleMappingAddress"
181181
# publish data to. In most cases this should be a Solana endpoint. The
182182
# options correspond to the ones in primary_network
183183
# [secondary_network]
184+
185+
186+
## Configuration for OpenTelemetry ##
187+
[opentelemetry]
188+
189+
# Timeout in seconds for the OpenTelemetry exporter
190+
exporter_timeout_secs = 3
191+
192+
# Endpoint URL for the OpenTelemetry exporter
193+
exporter_endpoint = "http://127.0.0.1:4317"

0 commit comments

Comments
 (0)