Skip to content

Commit 834ae3c

Browse files
authored
add console definition for log record exporter (#84)
This is consistent with the other signals. Signed-off-by: Alex Boten <[email protected]>
1 parent 6215d43 commit 834ae3c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

examples/kitchen-sink.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ logger_provider:
9191
#
9292
# Environment variable: OTEL_EXPORTER_OTLP_INSECURE, OTEL_EXPORTER_OTLP_LOGS_INSECURE
9393
insecure: false
94+
# Configure a simple span processor.
95+
- simple:
96+
# Configure exporter.
97+
exporter:
98+
# Configure exporter to be console.
99+
console: {}
94100
# Configure log record limits. See also attribute_limits.
95101
limits:
96102
# Configure max log record attribute value size. Overrides attribute_limits.attribute_value_length_limit.

schema/logger_provider.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@
6464
"properties": {
6565
"otlp": {
6666
"$ref": "common.json#/$defs/Otlp"
67+
},
68+
"console": {
69+
"$ref": "common.json#/$defs/Console"
6770
}
6871
},
6972
"patternProperties": {

0 commit comments

Comments
 (0)