Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/kitchen-sink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# see: https://github.com/open-telemetry/opentelemetry-configuration/blob/main/schema-docs.md
file_format: "1.0-rc.2"
disabled: false
log_level: info
log_level: INFO
attribute_limits:
attribute_value_length_limit: 4096
attribute_count_limit: 128
Expand Down
2 changes: 1 addition & 1 deletion examples/sdk-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# see: https://github.com/open-telemetry/opentelemetry-configuration/blob/main/schema-docs.md
file_format: "1.0-rc.2"
disabled: false
log_level: info
log_level: INFO
resource:
attributes:
- name: service.name
Expand Down
3 changes: 2 additions & 1 deletion examples/sdk-migration-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@
# - OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE
# - OTEL_EXPORTER_OTLP_COMPRESSION
# - OTEL_EXPORTER_OTLP_TIMEOUT
# - OTEL_LOG_LEVEL
#
# For schema documentation, including required properties, semantics, default behavior, etc,
# see: https://github.com/open-telemetry/opentelemetry-configuration/blob/main/schema-docs.md
file_format: "1.0-rc.2"
disabled: ${OTEL_SDK_DISABLED:-false}
log_level: ${OTEL_LOG_LEVEL:-info}
log_level: INFO
resource:
attributes:
- name: service.name
Expand Down
73 changes: 35 additions & 38 deletions opentelemetry_configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@
"description": "Configure if the SDK is disabled or not.\nIf omitted or null, false is used.\n"
},
"log_level": {
"type": [
"string",
"null"
],
"description": "Configure the log level of the internal logger used by the SDK.\nIf omitted or null, info is used.\n"
"$ref": "#/$defs/SeverityNumber",
"description": "Configure the log level of the internal logger used by the SDK.\nIf omitted, INFO is used.\n"
},
"attribute_limits": {
"$ref": "#/$defs/AttributeLimits",
Expand Down Expand Up @@ -736,7 +733,7 @@
"description": "Configure if the logger is enabled or not.\nIf omitted or null, false is used.\n"
},
"minimum_severity": {
"$ref": "#/$defs/ExperimentalSeverityNumber",
"$ref": "#/$defs/SeverityNumber",
"description": "Configure severity filtering.\nLog records with an non-zero (i.e. unspecified) severity number which is less than minimum_severity are not processed.\nValues include: TRACE, TRACE2, TRACE3, TRACE4, DEBUG, DEBUG2, DEBUG3, DEBUG4, INFO, INFO2, INFO3, INFO4, WARN, WARN2, WARN3, WARN4, ERROR, ERROR2, ERROR3, ERROR4, FATAL, FATAL2, FATAL3, FATAL4.\nIf omitted, severity filtering is not applied.\n"
},
"trace_based": {
Expand Down Expand Up @@ -1054,38 +1051,6 @@
],
"additionalProperties": false
},
"ExperimentalSeverityNumber": {
"type": [
"string",
"null"
],
"enum": [
"TRACE",
"TRACE2",
"TRACE3",
"TRACE4",
"DEBUG",
"DEBUG2",
"DEBUG3",
"DEBUG4",
"INFO",
"INFO2",
"INFO3",
"INFO4",
"WARN",
"WARN2",
"WARN3",
"WARN4",
"ERROR",
"ERROR2",
"ERROR3",
"ERROR4",
"FATAL",
"FATAL2",
"FATAL3",
"FATAL4"
]
},
"ExperimentalTracerConfig": {
"type": [
"object"
Expand Down Expand Up @@ -1972,6 +1937,38 @@
}
}
},
"SeverityNumber": {
"type": [
"string",
"null"
],
"enum": [
"TRACE",
"TRACE2",
"TRACE3",
"TRACE4",
"DEBUG",
"DEBUG2",
"DEBUG3",
"DEBUG4",
"INFO",
"INFO2",
"INFO3",
"INFO4",
"WARN",
"WARN2",
"WARN3",
"WARN4",
"ERROR",
"ERROR2",
"ERROR3",
"ERROR4",
"FATAL",
"FATAL2",
"FATAL3",
"FATAL4"
]
},
"SimpleLogRecordProcessor": {
"type": "object",
"additionalProperties": false,
Expand Down
Loading
Loading