|
3 | 3 | # This list does not contain all properties, but those that |
4 | 4 | # are different from what the config bridge already does. |
5 | 5 |
|
6 | | -# Based on https://github.com/open-telemetry/opentelemetry-configuration/blob/main/examples/kitchen-sink.yaml |
| 6 | +# Also see |
| 7 | +# - https://github.com/open-telemetry/opentelemetry-configuration/blob/main/examples/sdk-migration-config.yaml |
| 8 | +# - https://github.com/open-telemetry/opentelemetry-configuration/blob/main/examples/sdk-config.yaml |
7 | 9 |
|
8 | 10 | # Re-use this flag to disable the Agent/Spring starter as well as the SDK. |
| 11 | +# Note that the Agent/Spring starter still keeps the convention to use "enabled" - |
| 12 | +# this is just an exception to the rule. |
9 | 13 | disabled: false # was: "otel.javaagent.enabled" |
10 | 14 | # Re-use this flag from the SDK: if value is "debug", we trigger the behavior of "otel.javaagent.debug" |
11 | 15 | log_level: info # was: "otel.javaagent.debug" |
@@ -50,14 +54,18 @@ instrumentation/development: |
50 | 54 | exclude_class_loaders: # was "otel.javaagent.exclude-class-loaders" |
51 | 55 | - a |
52 | 56 | - b |
| 57 | + logging: |
| 58 | + # was "otel.javaagent.logging" |
| 59 | + output: |
| 60 | + application: |
| 61 | + logs_buffer_max_records: 1000 # can only be used with "type: application" |
| 62 | + simple: # mutually exclusive with "application" |
53 | 63 | common: |
| 64 | + default: |
| 65 | + enabled: true # was "otel.instrumentation.common.default-enabled" |
54 | 66 | db_statement_sanitizer: |
55 | 67 | enabled: true # already exists - just for reference |
56 | 68 | thread_details: |
57 | 69 | # disabled by default |
58 | 70 | # enabled applies to both spans and logs (but not metrics due to high cardinality) |
59 | 71 | enabled: true # was "otel.javaagent.add-thread-details" = "true" |
60 | | - logging: |
61 | | - application: |
62 | | - logs_buffer_max_records: 1000 # can only be used with "type: application" |
63 | | - type: application or simple # was "otel.javaagent.logging" |
|
0 commit comments