Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
cctdaniel committed Jul 16, 2024
1 parent a7ddefe commit 1cdee4c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/config.sample.pythnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
9 changes: 9 additions & 0 deletions config/config.sample.pythtest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
10 changes: 10 additions & 0 deletions config/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 1cdee4c

Please sign in to comment.