Skip to content

Commit

Permalink
add console definition for log record exporter (#84)
Browse files Browse the repository at this point in the history
This is consistent with the other signals.

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
  • Loading branch information
codeboten committed Apr 25, 2024
1 parent 6215d43 commit 834ae3c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/kitchen-sink.yaml
Expand Up @@ -91,6 +91,12 @@ logger_provider:
#
# Environment variable: OTEL_EXPORTER_OTLP_INSECURE, OTEL_EXPORTER_OTLP_LOGS_INSECURE
insecure: false
# Configure a simple span processor.
- simple:
# Configure exporter.
exporter:
# Configure exporter to be console.
console: {}
# Configure log record limits. See also attribute_limits.
limits:
# Configure max log record attribute value size. Overrides attribute_limits.attribute_value_length_limit.
Expand Down
3 changes: 3 additions & 0 deletions schema/logger_provider.json
Expand Up @@ -64,6 +64,9 @@
"properties": {
"otlp": {
"$ref": "common.json#/$defs/Otlp"
},
"console": {
"$ref": "common.json#/$defs/Console"
}
},
"patternProperties": {
Expand Down

0 comments on commit 834ae3c

Please sign in to comment.