-
Notifications
You must be signed in to change notification settings - Fork 959
Allow the Spring starter to configure the OTel Logback appender from system properties #10355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
ef30a19
4348a3e
00a59f8
50111be
54b890a
0dfa07e
2405a72
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. will this file conflict with the one we're autogenerating? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No. See https://docs.spring.io/spring-boot/docs/current/reference/html/configuration-metadata.html#appendix.configuration-metadata.annotation-processor.adding-additional-metadata: "the annotation processor automatically merges items from META-INF/additional-spring-configuration-metadata.json into the main metadata file." |
||
"groups": [ | ||
{ | ||
"name": "otel" | ||
} | ||
], | ||
"properties": [ | ||
{ | ||
"name": "otel.instrumentation.logback-appender.experimental.capture-code-attributes", | ||
"type": "java.lang.Boolean", | ||
"description": "Enable the capture of source code attributes. Note that capturing source code attributes at logging sites might add a performance overhead.", | ||
"defaultValue": false | ||
}, | ||
{ | ||
"name": "otel.instrumentation.logback-appender.experimental.capture-marker-attribute", | ||
"type": "java.lang.Boolean", | ||
"description": "Enable the capture of Logback markers as attributes.", | ||
"defaultValue": false | ||
}, | ||
{ | ||
"name": "otel.instrumentation.logback-appender.experimental.capture-key-value-pair-attributes", | ||
"type": "java.lang.Boolean", | ||
"description": "Enable the capture of Logback key value pairs as attributes.", | ||
"defaultValue": false | ||
}, | ||
{ | ||
"name": "otel.instrumentation.logback-appender.experimental-log-attributes", | ||
"type": "java.lang.Boolean", | ||
"description": "Enable the capture of experimental log attributes thread.name and thread.id.", | ||
"defaultValue": false | ||
}, | ||
{ | ||
"name": "otel.instrumentation.logback-appender.experimental.capture-logger-context-attributes", | ||
"type": "java.lang.Boolean", | ||
"description": "Enable the capture of Logback logger context properties as attributes.", | ||
"defaultValue": false | ||
}, | ||
{ | ||
"name": "otel.instrumentation.logback-appender.experimental.capture-mdc-attributes", | ||
"type": "java.lang.String", | ||
"description": "Comma separated list of MDC attributes to capture. Use the wildcard character * to capture all attributes." | ||
} | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
otel.instrumentation.logback-appender.experimental.capture-code-attributes=true |
Uh oh!
There was an error while loading. Please reload this page.