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
18 changes: 12 additions & 6 deletions examples/kitchen-sink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ logger_provider:
# Configure exporter.
exporter:
# Configure exporter to be OTLP with file transport.
otlp_file:
# This type is in development and subject to breaking changes in minor versions.
otlp_file/development:
# Configure output stream.
# Values include stdout, or scheme+destination. For example: file:///path/to/file.jsonl.
# If omitted or null, stdout is used.
Expand All @@ -141,7 +142,8 @@ logger_provider:
# Configure exporter.
exporter:
# Configure exporter to be OTLP with file transport.
otlp_file:
# This type is in development and subject to breaking changes in minor versions.
otlp_file/development:
# Configure output stream.
# Values include stdout, or scheme+destination. For example: file:///path/to/file.jsonl.
# If omitted or null, stdout is used.
Expand Down Expand Up @@ -325,7 +327,8 @@ meter_provider:
# Configure exporter.
exporter:
# Configure exporter to be OTLP with file transport.
otlp_file:
# This type is in development and subject to breaking changes in minor versions.
otlp_file/development:
# Configure output stream.
# Values include stdout, or scheme+destination. For example: file:///path/to/file.jsonl.
# If omitted or null, stdout is used.
Expand All @@ -341,7 +344,8 @@ meter_provider:
# Configure exporter.
exporter:
# Configure exporter to be OTLP with file transport.
otlp_file:
# This type is in development and subject to breaking changes in minor versions.
otlp_file/development:
# Configure output stream.
# Values include stdout, or scheme+destination. For example: file:///path/to/file.jsonl.
# If omitted or null, stdout is used.
Expand Down Expand Up @@ -548,7 +552,8 @@ tracer_provider:
# Configure exporter.
exporter:
# Configure exporter to be OTLP with file transport.
otlp_file:
# This type is in development and subject to breaking changes in minor versions.
otlp_file/development:
# Configure output stream.
# Values include stdout, or scheme+destination. For example: file:///path/to/file.jsonl.
# If omitted or null, stdout is used.
Expand All @@ -558,7 +563,8 @@ tracer_provider:
# Configure exporter.
exporter:
# Configure exporter to be OTLP with file transport.
otlp_file:
# This type is in development and subject to breaking changes in minor versions.
otlp_file/development:
# Configure output stream.
# Values include stdout, or scheme+destination. For example: file:///path/to/file.jsonl.
# If omitted or null, stdout is used.
Expand Down
2 changes: 1 addition & 1 deletion schema/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
}
}
},
"OtlpFileExporter": {
"ExperimentalOtlpFileExporter": {
"type": ["object", "null"],
"additionalProperties": false,
"properties": {
Expand Down
4 changes: 2 additions & 2 deletions schema/logger_provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"otlp_grpc": {
"$ref": "common.json#/$defs/OtlpGrpcExporter"
},
"otlp_file": {
"$ref": "common.json#/$defs/OtlpFileExporter"
"otlp_file/development": {
"$ref": "common.json#/$defs/ExperimentalOtlpFileExporter"
},
"console": {
"$ref": "common.json#/$defs/ConsoleExporter"
Expand Down
6 changes: 3 additions & 3 deletions schema/meter_provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@
"otlp_grpc": {
"$ref": "#/$defs/OtlpGrpcMetricExporter"
},
"otlp_file": {
"$ref": "#/$defs/OtlpFileMetricExporter"
"otlp_file/development": {
"$ref": "#/$defs/ExperimentalOtlpFileMetricExporter"
},
"console": {
"$ref": "common.json#/$defs/ConsoleExporter"
Expand Down Expand Up @@ -276,7 +276,7 @@
}
}
},
"OtlpFileMetricExporter": {
"ExperimentalOtlpFileMetricExporter": {
"type": ["object", "null"],
"additionalProperties": false,
"properties": {
Expand Down
4 changes: 2 additions & 2 deletions schema/tracer_provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@
"otlp_grpc": {
"$ref": "common.json#/$defs/OtlpGrpcExporter"
},
"otlp_file": {
"$ref": "common.json#/$defs/OtlpFileExporter"
"otlp_file/development": {
"$ref": "common.json#/$defs/ExperimentalOtlpFileExporter"
},
"console": {
"$ref": "common.json#/$defs/ConsoleExporter"
Expand Down
21 changes: 15 additions & 6 deletions schema/type_descriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,10 @@
property_descriptions:
otlp_http: Configure exporter to be OTLP with HTTP transport.
otlp_grpc: Configure exporter to be OTLP with gRPC transport.
otlp_file: Configure exporter to be OTLP with file transport.
otlp_file/development: >
Configure exporter to be OTLP with file transport.

This type is in development and subject to breaking changes in minor versions.
console: Configure exporter to be console.
path_patterns:
- .logger_provider.processors[].*.exporter
Expand Down Expand Up @@ -258,7 +261,10 @@
property_descriptions:
otlp_http: Configure exporter to be OTLP with HTTP transport.
otlp_grpc: Configure exporter to be OTLP with gRPC transport.
otlp_file: Configure exporter to be OTLP with file transport.
otlp_file/development: >
Configure exporter to be OTLP with file transport.

This type is in development and subject to breaking changes in minor versions.
zipkin: Configure exporter to be zipkin.
console: Configure exporter to be console.
path_patterns:
Expand Down Expand Up @@ -418,7 +424,10 @@
prometheus: Configure exporter to be prometheus.
otlp_http: Configure exporter to be OTLP with HTTP transport.
otlp_grpc: Configure exporter to be OTLP with gRPC transport.
otlp_file: Configure exporter to be OTLP with file transport.
otlp_file/development: >
Configure exporter to be OTLP with file transport.

This type is in development and subject to breaking changes in minor versions.
console: Configure exporter to be console.
path_patterns:
- .meter_provider.readers[].*.exporter
Expand Down Expand Up @@ -683,9 +692,9 @@

If omitted or null, stdout is used.
path_patterns:
- .tracer_provider.processors[].*.exporter.otlp_file
- .logger_provider.processors[].*.exporter.otlp_file
- .meter_provider.readers[].periodic.exporter.otlp_file
- .tracer_provider.processors[].*.exporter.otlp_file/development
- .logger_provider.processors[].*.exporter.otlp_file/development
- .meter_provider.readers[].periodic.exporter.otlp_file/development
# END common

# START Instrumentation
Expand Down