Skip to content

Commit 17d9656

Browse files
committed
add early init properties
1 parent c1cfd8b commit 17d9656

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

docs/misc/declarative-configuration/config.yaml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,40 @@ instrumentation/development:
5959
enabled: true # was "otel.javaagent.add-thread-details" = "true"
6060

6161
# These cannot be used in the Java Agent, because they are read in early stages,
62-
# but the Spring starter can use them.
62+
# but the Spring starter may use them (need to be discussed).
6363
disabled: false # was: "otel.sdk.enabled"
6464
log_level: info # is not used is Spring starter yet
65+
66+
# Note: The following properties still have to be specified with system properties or
67+
# environment variables, because they are read in early stages of the application startup:
68+
# User facing:
69+
# - otel.javaagent.enabled
70+
# - otel.javaagent.debug
71+
# - otel.javaagent.extensions
72+
# - otel.javaagent.logging
73+
# - otel.javaagent.logging.application.logs-buffer-max-records
74+
# - otel.javaagent.configuration-file (although you shouldn't need this with declarative configuration)
75+
# - otel.javaagent.experimental.field-injection.enabled
76+
# - otel.javaagent.experimental.security-manager-support.enabled
77+
# Internal:
78+
# - otel.javaagent.experimental.thread-propagation-debugger.enabled
79+
# - otel.javaagent.testing.fail-on-context-leak
80+
81+
# These properties could be read from declarative configuration in the future, but are not yet.
82+
# Issue: https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/14192
83+
# - otel.experimental.javascript-snippet
84+
# - otel.instrumentation.aws-sdk.experimental-record-individual-http-error
85+
# - otel.instrumentation.aws-sdk.experimental-span-attributes
86+
# - otel.instrumentation.aws-sdk.experimental-use-propagator-for-messaging
87+
# - otel.instrumentation.common.db-statement-sanitizer.enabled
88+
# - otel.instrumentation.common.logging.span-id
89+
# - otel.instrumentation.common.logging.trace-flags
90+
# - otel.instrumentation.common.logging.trace-id
91+
# - otel.instrumentation.experimental.span-suppression-strategy
92+
# - otel.instrumentation.genai.capture-message-content
93+
# - otel.instrumentation.jdbc.experimental.capture-query-parameters
94+
# - otel.instrumentation.jdbc.experimental.transaction.enabled
95+
# - otel.instrumentation.log4j-context-data.add-baggage
96+
# - otel.instrumentation.messaging.experimental.capture-headers
97+
# - otel.instrumentation.messaging.experimental.receive-telemetry.enabled
98+
# - otel.semconv-stability.opt-in

0 commit comments

Comments
 (0)