Skip to content

Commit

Permalink
Allow controlling Otel log level in different environments
Browse files Browse the repository at this point in the history
This is mainly to help us suppress the verbose output on enabling
different instrumentations on startup in test environments, but
also could be generally useful. More on the PR to enable it:
open-telemetry/opentelemetry-ruby#831
  • Loading branch information
hartsick committed Oct 6, 2022
1 parent 85b3318 commit 5f29225
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/config.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ development: &default
otel_service_name: # "pender"
otel_resource_attributes:
# developer.name: <DEVELOPER_NAME>
otel_log_level: info

test:
<<: *default
Expand All @@ -137,6 +138,7 @@ test:
storage_medias_asset_path: 'http://localhost:9000/check-test/medias'
otel_exporter_otlp_endpoint:
otel_exporter_otlp_headers:
otel_log_level: error
airbrake_host:

production:
Expand Down

0 comments on commit 5f29225

Please sign in to comment.