Skip to content
Draft
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
48 changes: 48 additions & 0 deletions examples/kitchen-sink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ logger_provider:
# The value is a list of comma separated key-value pairs matching the format of OTEL_EXPORTER_OTLP_HEADERS. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#configuration-options for details.
# If omitted or null, no headers are added.
headers_list: "api-key=1234"
# Configure a user provided authenticator.
# The authenticator is a component that is loaded like any other components, e.g. custom exporter.
# The authenticator is asked to provide authentication headers for each export, so it can be used for
# rotating credentials.
authenticator:
rainy_cloud:
tenant: foo
region: bar
# Configure compression.
# Values include: gzip, none. Implementations may support other compression algorithms.
# If omitted or null, none is used.
Expand Down Expand Up @@ -114,6 +122,14 @@ logger_provider:
# The value is a list of comma separated key-value pairs matching the format of OTEL_EXPORTER_OTLP_HEADERS. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#configuration-options for details.
# If omitted or null, no headers are added.
headers_list: "api-key=1234"
# Configure a user provided authenticator.
# The authenticator is a component that is loaded like any other components, e.g. custom exporter.
# The authenticator is asked to provide authentication headers for each export, so it can be used for
# rotating credentials.
authenticator:
rainy_cloud:
tenant: foo
region: bar
# Configure compression.
# Values include: gzip, none. Implementations may support other compression algorithms.
# If omitted or null, none is used.
Expand Down Expand Up @@ -294,6 +310,14 @@ meter_provider:
# The value is a list of comma separated key-value pairs matching the format of OTEL_EXPORTER_OTLP_HEADERS. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#configuration-options for details.
# If omitted or null, no headers are added.
headers_list: "api-key=1234"
# Configure a user provided authenticator.
# The authenticator is a component that is loaded like any other components, e.g. custom exporter.
# The authenticator is asked to provide authentication headers for each export, so it can be used for
# rotating credentials.
authenticator:
rainy_cloud:
tenant: foo
region: bar
# Configure compression.
# Values include: gzip, none. Implementations may support other compression algorithms.
# If omitted or null, none is used.
Expand Down Expand Up @@ -375,6 +399,14 @@ meter_provider:
# The value is a list of comma separated key-value pairs matching the format of OTEL_EXPORTER_OTLP_HEADERS. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#configuration-options for details.
# If omitted or null, no headers are added.
headers_list: "api-key=1234"
# Configure a user provided authenticator.
# The authenticator is a component that is loaded like any other components, e.g. custom exporter.
# The authenticator is asked to provide authentication headers for each export, so it can be used for
# rotating credentials.
authenticator:
rainy_cloud:
tenant: foo
region: bar
# Configure compression.
# Values include: gzip, none. Implementations may support other compression algorithms.
# If omitted or null, none is used.
Expand Down Expand Up @@ -606,6 +638,14 @@ tracer_provider:
# The value is a list of comma separated key-value pairs matching the format of OTEL_EXPORTER_OTLP_HEADERS. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#configuration-options for details.
# If omitted or null, no headers are added.
headers_list: "api-key=1234"
# Configure a user provided authenticator.
# The authenticator is a component that is loaded like any other components, e.g. custom exporter.
# The authenticator is asked to provide authentication headers for each export, so it can be used for
# rotating credentials.
authenticator:
rainy_cloud:
tenant: foo
region: bar
# Configure compression.
# Values include: gzip, none. Implementations may support other compression algorithms.
# If omitted or null, none is used.
Expand Down Expand Up @@ -648,6 +688,14 @@ tracer_provider:
# The value is a list of comma separated key-value pairs matching the format of OTEL_EXPORTER_OTLP_HEADERS. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#configuration-options for details.
# If omitted or null, no headers are added.
headers_list: "api-key=1234"
# Configure a user provided authenticator.
# The authenticator is a component that is loaded like any other components, e.g. custom exporter.
# The authenticator is asked to provide authentication headers for each export, so it can be used for
# rotating credentials.
authenticator:
rainy_cloud:
tenant: foo
region: bar
# Configure compression.
# Values include: gzip, none. Implementations may support other compression algorithms.
# If omitted or null, none is used.
Expand Down
19 changes: 18 additions & 1 deletion schema/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
"headers_list": {
"type": ["string", "null"]
},
"authenticator": {
"$ref": "#/$defs/Authenticator"
},
"compression": {
"type": ["string", "null"]
},
Expand Down Expand Up @@ -104,6 +107,9 @@
"headers_list": {
"type": ["string", "null"]
},
"authenticator": {
"$ref": "#/$defs/Authenticator"
},
"compression": {
"type": ["string", "null"]
},
Expand All @@ -128,6 +134,17 @@
"ConsoleExporter": {
"type": ["object", "null"],
"additionalProperties": false
},
"Authenticator": {
"type": "object",
"additionalProperties": true,
"minProperties": 1,
"maxProperties": 1,
"patternProperties": {
".*": {
"type": ["object"]
}
}
}
}
}
}
6 changes: 6 additions & 0 deletions schema/meter_provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@
"headers_list": {
"type": ["string", "null"]
},
"authenticator": {
"$ref": "common.json#/$defs/Authenticator"
},
"compression": {
"type": ["string", "null"]
},
Expand Down Expand Up @@ -306,6 +309,9 @@
"headers_list": {
"type": ["string", "null"]
},
"authenticator": {
"$ref": "common.json#/$defs/Authenticator"
},
"compression": {
"type": ["string", "null"]
},
Expand Down
6 changes: 2 additions & 4 deletions schema/resource.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"additionalProperties": true,
"minProperties": 1,
"maxProperties": 1,
"properties": {
"patternProperties": {
"container": {
"$ref": "#/$defs/ExperimentalContainerResourceDetector"
},
Expand All @@ -93,9 +93,7 @@
},
"service": {
"$ref": "#/$defs/ExperimentalServiceResourceDetector"
}
},
"patternProperties": {
},
".*": {
"type": ["object", "null"]
}
Expand Down
Loading