Skip to content

Commit

Permalink
Merge pull request #14 from MrAlias/codeboten/enabled
Browse files Browse the repository at this point in the history
add initial options for SDK configuration
  • Loading branch information
Alex Boten authored Nov 21, 2022
2 parents 2545b88 + 8d91f15 commit 34d80e1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
# include version specification in configuration files to help with parsing and schema evolution.
version: 0.0.1
sdk:
# Disable the SDK for all signals.
#
# Boolean value. If "true", a no-op SDK implementation will be used for all telemetry
# signals. Any other value or absence of the variable will have no effect and the SDK
# will remain enabled. This setting has no effect on propagators configured through
# the OTEL_PROPAGATORS variable.
#
# Environment variable: OTEL_SDK_DISABLED
disabled: false
# Configure resource attributes and resource detection for all signals.
resource:
# Key-value pairs to be used as resource attributes.
#
# Environment variable: OTEL_RESOURCE_ATTRIBUTES
attributes:
# Sets the value of the `service.name` resource attribute
#
# Environment variable: OTEL_SERVICE_NAME
service.name: !!str "unknown_service"

0 comments on commit 34d80e1

Please sign in to comment.