Skip to content

Commit 0f4228d

Browse files
authored
Review fixes for log4j-context-data-2.7:javaagent (open-telemetry#18195)
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
1 parent b561aa5 commit 0f4228d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • instrumentation/log4j/log4j-context-data/log4j-context-data-2.7

instrumentation/log4j/log4j-context-data/log4j-context-data-2.7/metadata.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,31 @@ display_name: Log4j
55
library_link: https://logging.apache.org/log4j/2.x/
66
configurations:
77
- name: otel.instrumentation.log4j-context-data.add-baggage
8+
declarative_name: java.log4j_context_data.add_baggage
89
description: >
910
Enables adding baggage entries to the Log4j ThreadContext, prefixed with "baggage.".
1011
type: boolean
1112
default: false
1213
- name: otel.instrumentation.common.logging.trace-id
14+
declarative_name: java.common.logging.trace_id
1315
description: >
1416
Specifies the key name used to store the trace ID in the logging context.
1517
type: string
1618
default: trace_id
1719
- name: otel.instrumentation.common.logging.span-id
20+
declarative_name: java.common.logging.span_id
1821
description: >
1922
Specifies the key name used to store the span ID in the logging context.
2023
type: string
2124
default: span_id
2225
- name: otel.instrumentation.common.logging.trace-flags
26+
declarative_name: java.common.logging.trace_flags
2327
description: >
2428
Specifies the key name used to store the trace flags in the logging context.
2529
type: string
2630
default: trace_flags
2731
- name: otel.instrumentation.common.mdc.resource-attributes
32+
declarative_name: java.common.mdc.resource_attributes
2833
description: >
2934
Specifies which resource attributes to add to the logging context as a comma-separated list
3035
of attribute keys.

0 commit comments

Comments
 (0)