Skip to content

Commit ee5659d

Browse files
committed
use _
1 parent 1d5eba4 commit ee5659d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/misc/declarative-configuration/config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ instrumentation/development:
2020
service: BarService
2121
http:
2222
# should be added to https://github.com/open-telemetry/opentelemetry-configuration/blob/c205770a956713e512eddb056570a99737e3383a/examples/kitchen-sink.yaml#L872
23-
known-methods: # was "otel.instrumentation.http.known-methods"
23+
known_methods: # was "otel.instrumentation.http.known-methods"
2424
- GET
2525
- POST
2626
- PUT
@@ -47,15 +47,15 @@ instrumentation/development:
4747
# Also map all other properties with the "otel.javaagent." prefix the same way,
4848
# unless specified otherwise.
4949
# See https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/14132
50-
exclude-class-loaders: # was "otel.javaagent.exclude-class-loaders"
50+
exclude_class_loaders: # was "otel.javaagent.exclude-class-loaders"
5151
- a
5252
- b
5353
common:
54-
db-statement-sanitizer:
54+
db_statement_sanitizer:
5555
enabled: true # already exists - just for reference
5656
thread_details:
5757
enabled: true # was "otel.javaagent.add-thread-details" = "true"
5858
logging:
5959
application:
60-
logs-buffer-max-records: 1000 # can only be used with "type: application"
60+
logs_buffer_max_records: 1000 # can only be used with "type: application"
6161
type: application or simple # was "otel.javaagent.logging"

0 commit comments

Comments
 (0)