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
132 changes: 68 additions & 64 deletions opentelemetry_configuration.json

Large diffs are not rendered by default.

133 changes: 69 additions & 64 deletions schema-docs.md

Large diffs are not rendered by default.

43 changes: 22 additions & 21 deletions schema/instrumentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,71 +6,71 @@ properties:
description: |
Configure general SemConv options that may apply to multiple languages and instrumentations.
Instrumenation may merge general config options with the language specific configuration at .instrumentation.<language>.
defaultBehavior: TODO
defaultBehavior: default values as described in ExperimentalGeneralInstrumentation are used
cpp:
$ref: "#/$defs/ExperimentalLanguageSpecificInstrumentation"
description: Configure C++ language-specific instrumentation libraries.
defaultBehavior: TODO
defaultBehavior: instrumentation defaults are used
dotnet:
$ref: "#/$defs/ExperimentalLanguageSpecificInstrumentation"
description: |
Configure .NET language-specific instrumentation libraries.
Each entry's key identifies a particular instrumentation library. The corresponding value configures it.
defaultBehavior: TODO
defaultBehavior: instrumentation defaults are used
erlang:
$ref: "#/$defs/ExperimentalLanguageSpecificInstrumentation"
description: |
Configure Erlang language-specific instrumentation libraries.
Each entry's key identifies a particular instrumentation library. The corresponding value configures it.
defaultBehavior: TODO
defaultBehavior: instrumentation defaults are used
go:
$ref: "#/$defs/ExperimentalLanguageSpecificInstrumentation"
description: |
Configure Go language-specific instrumentation libraries.
Each entry's key identifies a particular instrumentation library. The corresponding value configures it.
defaultBehavior: TODO
defaultBehavior: instrumentation defaults are used
java:
$ref: "#/$defs/ExperimentalLanguageSpecificInstrumentation"
description: |
Configure Java language-specific instrumentation libraries.
Each entry's key identifies a particular instrumentation library. The corresponding value configures it.
defaultBehavior: TODO
defaultBehavior: instrumentation defaults are used
js:
$ref: "#/$defs/ExperimentalLanguageSpecificInstrumentation"
description: |
Configure JavaScript language-specific instrumentation libraries.
Each entry's key identifies a particular instrumentation library. The corresponding value configures it.
defaultBehavior: TODO
defaultBehavior: instrumentation defaults are used
php:
$ref: "#/$defs/ExperimentalLanguageSpecificInstrumentation"
description: |
Configure PHP language-specific instrumentation libraries.
Each entry's key identifies a particular instrumentation library. The corresponding value configures it.
defaultBehavior: TODO
defaultBehavior: instrumentation defaults are used
python:
$ref: "#/$defs/ExperimentalLanguageSpecificInstrumentation"
description: |
Configure Python language-specific instrumentation libraries.
Each entry's key identifies a particular instrumentation library. The corresponding value configures it.
defaultBehavior: TODO
defaultBehavior: instrumentation defaults are used
ruby:
$ref: "#/$defs/ExperimentalLanguageSpecificInstrumentation"
description: |
Configure Ruby language-specific instrumentation libraries.
Each entry's key identifies a particular instrumentation library. The corresponding value configures it.
defaultBehavior: TODO
defaultBehavior: instrumentation defaults are used
rust:
$ref: "#/$defs/ExperimentalLanguageSpecificInstrumentation"
description: |
Configure Rust language-specific instrumentation libraries.
Each entry's key identifies a particular instrumentation library. The corresponding value configures it.
defaultBehavior: TODO
defaultBehavior: instrumentation defaults are used
swift:
$ref: "#/$defs/ExperimentalLanguageSpecificInstrumentation"
description: |
Configure Swift language-specific instrumentation libraries.
Each entry's key identifies a particular instrumentation library. The corresponding value configures it.
defaultBehavior: TODO
defaultBehavior: instrumentation defaults are used
$defs:
ExperimentalGeneralInstrumentation:
type: object
Expand All @@ -81,13 +81,13 @@ $defs:
description: |
Configure instrumentations following the peer semantic conventions.
See peer semantic conventions: https://opentelemetry.io/docs/specs/semconv/attributes-registry/peer/
defaultBehavior: TODO
defaultBehavior: defaults as described in ExperimentalPeerInstrumentation are used
http:
$ref: "#/$defs/ExperimentalHttpInstrumentation"
description: |
Configure instrumentations following the http semantic conventions.
See http semantic conventions: https://opentelemetry.io/docs/specs/semconv/http/
defaultBehavior: TODO
defaultBehavior: defaults as described in ExperimentalHttpInstrumentation are used
ExperimentalPeerInstrumentation:
type: object
additionalProperties: false
Expand All @@ -100,7 +100,7 @@ $defs:
description: |
Configure the service mapping for instrumentations following peer.service semantic conventions.
See peer.service semantic conventions: https://opentelemetry.io/docs/specs/semconv/general/attributes/#general-remote-service-attributes
defaultBehavior: TODO
defaultBehavior: no peer service mappings are used
ExperimentalPeerServiceMapping:
type: object
additionalProperties: false
Expand All @@ -127,14 +127,15 @@ $defs:
type: string
description: |
Configure headers to capture for outbound http requests.
defaultBehavior: TODO
defaultBehavior: no outbound request headers are captured
response_captured_headers:
type: array
minItems: 1
items:
type: string
description: |
Configure headers to capture for inbound http responses.
defaultBehavior: TODO
defaultBehavior: no inbound response headers are captured
ExperimentalHttpServerInstrumentation:
type: object
additionalProperties: false
Expand All @@ -146,27 +147,27 @@ $defs:
type: string
description: |
Configure headers to capture for inbound http requests.
defaultBehavior: TODO
defaultBehavior: no request headers are captured
response_captured_headers:
type: array
minItems: 1
items:
type: string
description: |
Configure headers to capture for outbound http responses.
defaultBehavior: TODO
defaultBehavior: no response headers are captures
ExperimentalHttpInstrumentation:
type: object
additionalProperties: false
properties:
client:
$ref: "#/$defs/ExperimentalHttpClientInstrumentation"
description: Configure instrumentations following the http client semantic conventions.
defaultBehavior: TODO
defaultBehavior: defaults as described in ExperimentalHttpClientInstrumentation are used
server:
$ref: "#/$defs/ExperimentalHttpServerInstrumentation"
description: Configure instrumentations following the http server semantic conventions.
defaultBehavior: TODO
defaultBehavior: defaults as described in ExperimentalHttpServerInstrumentation are used
ExperimentalLanguageSpecificInstrumentation:
type: object
additionalProperties:
Expand Down
8 changes: 4 additions & 4 deletions schema/logger_provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ properties:
$ref: "#/$defs/ExperimentalLoggerConfigurator"
description: |
Configure loggers.
defaultBehavior: TODO
defaultBehavior: all loggers use default values as described in ExperimentalLoggerConfig
required:
- processors
$defs:
Expand Down Expand Up @@ -92,7 +92,7 @@ $defs:
$ref: common.yaml#/$defs/ExperimentalOtlpFileExporter
description: |
Configure exporter to be OTLP with file transport.
defaultBehavior: TODO
defaultBehavior: ignore
console:
$ref: common.yaml#/$defs/ConsoleExporter
description: Configure exporter to be console.
Expand Down Expand Up @@ -146,14 +146,14 @@ $defs:
default_config:
$ref: "#/$defs/ExperimentalLoggerConfig"
description: Configure the default logger config used there is no matching entry in .logger_configurator/development.loggers.
defaultBehavior: TODO
defaultBehavior: unmatched .loggers use default values as described in ExperimentalLoggerConfig
loggers:
type: array
minItems: 1
items:
$ref: "#/$defs/ExperimentalLoggerMatcherAndConfig"
description: Configure loggers.
defaultBehavior: TODO
defaultBehavior: all loggers use .default_config
ExperimentalLoggerMatcherAndConfig:
type:
- object
Expand Down
20 changes: 10 additions & 10 deletions schema/meter_provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ properties:
$ref: "#/$defs/ExperimentalMeterConfigurator"
description: |
Configure meters.
defaultBehavior: TODO
defaultBehavior: all meters use default values as described in ExperimentalMeterConfig
required:
- readers
$defs:
Expand Down Expand Up @@ -192,7 +192,7 @@ $defs:
$ref: "#/$defs/ExperimentalOtlpFileMetricExporter"
description: |
Configure exporter to be OTLP with file transport.
defaultBehavior: TODO
defaultBehavior: ignore
console:
$ref: "#/$defs/ConsoleMetricExporter"
description: |
Expand All @@ -212,7 +212,7 @@ $defs:
$ref: "#/$defs/ExperimentalPrometheusMetricExporter"
description: |
Configure exporter to be prometheus.
defaultBehavior: TODO
defaultBehavior: ignore
isSdkExtensionPlugin: true
MetricProducer:
type: object
Expand Down Expand Up @@ -270,7 +270,7 @@ $defs:
with_resource_constant_labels:
$ref: common.yaml#/$defs/IncludeExclude
description: Configure Prometheus Exporter to add resource attributes as metrics attributes, where the resource attribute keys match the patterns.
defaultBehavior: TODO
defaultBehavior: no resource attributes are added
translation_strategy:
$ref: "#/$defs/ExperimentalPrometheusTranslationStrategy"
description: |
Expand Down Expand Up @@ -699,20 +699,20 @@ $defs:
minimum: -10
maximum: 20
description: Configure the max scale factor.
defaultBehavior: TODO
defaultBehavior: 20 is used
max_size:
type:
- integer
- "null"
minimum: 2
description: Configure the maximum number of buckets in each of the positive and negative ranges, not counting the special zero bucket.
defaultBehavior: TODO
defaultBehavior: 160 is used
record_min_max:
type:
- boolean
- "null"
description: Configure whether or not to record min and max.
defaultBehavior: TODO
defaultBehavior: true is used
LastValueAggregation:
type:
- object
Expand All @@ -731,14 +731,14 @@ $defs:
default_config:
$ref: "#/$defs/ExperimentalMeterConfig"
description: Configure the default meter config used there is no matching entry in .meter_configurator/development.meters.
defaultBehavior: TODO
defaultBehavior: unmatched .meters use default values as described in ExperimentalMeterConfig
meters:
type: array
minItems: 1
items:
$ref: "#/$defs/ExperimentalMeterMatcherAndConfig"
description: Configure meters.
defaultBehavior: TODO
defaultBehavior: all meters used .default_config
ExperimentalMeterMatcherAndConfig:
type:
- object
Expand Down Expand Up @@ -767,4 +767,4 @@ $defs:
type:
- boolean
description: Configure if the meter is enabled or not.
defaultBehavior: TODO
defaultBehavior: false is used
2 changes: 1 addition & 1 deletion schema/opentelemetry_configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ properties:
$ref: "#/$defs/ExperimentalInstrumentation"
description: |
Configure instrumentation.
defaultBehavior: TODO
defaultBehavior: instrumentation defaults are used
required:
- file_format
$defs:
Expand Down
10 changes: 5 additions & 5 deletions schema/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ $defs:
attributes:
$ref: common.yaml#/$defs/IncludeExclude
description: Configure attributes provided by resource detectors.
defaultBehavior: TODO
defaultBehavior: all attributes from resource detectors are added
detectors:
type: array
minItems: 1
Expand All @@ -120,22 +120,22 @@ $defs:
$ref: "#/$defs/ExperimentalContainerResourceDetector"
description: |
Enable the container resource detector, which populates container.* attributes.
defaultBehavior: TODO
defaultBehavior: ignore
host:
$ref: "#/$defs/ExperimentalHostResourceDetector"
description: |
Enable the host resource detector, which populates host.* and os.* attributes.
defaultBehavior: TODO
defaultBehavior: ignore
process:
$ref: "#/$defs/ExperimentalProcessResourceDetector"
description: |
Enable the process resource detector, which populates process.* attributes.
defaultBehavior: TODO
defaultBehavior: ignore
service:
$ref: "#/$defs/ExperimentalServiceResourceDetector"
description: |
Enable the service detector, which populates service.name based on the OTEL_SERVICE_NAME environment variable and service.instance.id.
defaultBehavior: TODO
defaultBehavior: ignore
isSdkExtensionPlugin: true
ExperimentalContainerResourceDetector:
type:
Expand Down
Loading
Loading