Skip to content

Commit c1cfd8b

Browse files
committed
remove the properties that can't be read with the java agent
1 parent d337cf7 commit c1cfd8b

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

docs/misc/declarative-configuration/config.yaml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@
77
# - https://github.com/open-telemetry/opentelemetry-configuration/blob/main/examples/sdk-migration-config.yaml
88
# - https://github.com/open-telemetry/opentelemetry-configuration/blob/main/examples/sdk-config.yaml
99

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.
13-
disabled: false # was: "otel.javaagent.enabled"
14-
# Re-use this flag from the SDK: if value is "debug", we trigger the behavior of "otel.javaagent.debug"
15-
log_level: info # was: "otel.javaagent.debug"
1610
instrumentation/development:
1711
# nothing changes here - just for reference
1812
general:
@@ -54,12 +48,6 @@ instrumentation/development:
5448
exclude_class_loaders: # was "otel.javaagent.exclude-class-loaders"
5549
- a
5650
- 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"
6351
common:
6452
default:
6553
enabled: true # was "otel.instrumentation.common.default-enabled"
@@ -69,3 +57,8 @@ instrumentation/development:
6957
# disabled by default
7058
# enabled applies to both spans and logs (but not metrics due to high cardinality)
7159
enabled: true # was "otel.javaagent.add-thread-details" = "true"
60+
61+
# These cannot be used in the Java Agent, because they are read in early stages,
62+
# but the Spring starter can use them.
63+
disabled: false # was: "otel.sdk.enabled"
64+
log_level: info # is not used is Spring starter yet

0 commit comments

Comments
 (0)