Skip to content
Closed
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
169 changes: 84 additions & 85 deletions examples/kitchen-sink.yaml

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions examples/sdk-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ resource:
value: unknown_service
# Configure general attribute limits. See also tracer_provider.limits, logger_provider.limits.
attribute_limits:
# Configure max attribute value size.
# Configure max attribute value size.
# Value must be non-negative.
# If omitted or null, there is no limit.
attribute_value_length_limit:
# Configure max attribute count.
# Configure max attribute count.
# Value must be non-negative.
# If omitted or null, 128 is used.
attribute_count_limit: 128
# Configure text map context propagators.
# If omitted, a noop propagator is used.
propagator:
# Configure the propagators in the composite text map propagator. Entries from .composite_list are appended to the list here with duplicates filtered out.
# Built-in propagator keys include: tracecontext, baggage, b3, b3multi, jaeger, ottrace. Known third party keys include: xray.
# Built-in propagator keys include: tracecontext, baggage, b3, b3multi, jaeger, ottrace. Known third party keys include: xray.
# If the resolved list of propagators (from .composite and .composite_list) is empty, a noop propagator is used.
composite:
- # Include the w3c trace context propagator.
Expand All @@ -49,15 +49,15 @@ propagator:
# Configure tracer provider.
# If omitted, a noop tracer provider is used.
tracer_provider:
# Configure span processors.
# Configure span processors.
processors:
- # Configure a batch span processor.
batch:
# Configure delay interval (in milliseconds) between two consecutive exports.
# Configure delay interval (in milliseconds) between two consecutive exports.
# Value must be non-negative.
# If omitted or null, 5000 is used.
schedule_delay: 5000
# Configure maximum allowed time (in milliseconds) to export data.
# Configure maximum allowed time (in milliseconds) to export data.
# Value must be non-negative. A value of 0 indicates no limit (infinity).
# If omitted or null, 30000 is used.
export_timeout: 30000
Expand All @@ -76,15 +76,15 @@ tracer_provider:
endpoint: http://localhost:4318/v1/traces
# Configure TLS settings for the exporter.
tls:
# Configure certificate used to verify a server's TLS credentials.
# Configure certificate used to verify a server's TLS credentials.
# Absolute path to certificate file in PEM format.
# If omitted or null, system default certificate verification is used for secure connections.
certificate_file:
# Configure mTLS private client key.
# Configure mTLS private client key.
# Absolute path to client key file in PEM format. If set, .client_certificate must also be set.
# If omitted or null, mTLS is not used.
client_key_file:
# Configure mTLS client certificate.
# Configure mTLS client certificate.
# Absolute path to client certificate file in PEM format. If set, .client_key must also be set.
# If omitted or null, mTLS is not used.
client_certificate_file:
Expand Down Expand Up @@ -125,7 +125,7 @@ tracer_provider:
# Value must be non-negative.
# If omitted or null, 128 is used.
link_attribute_count_limit: 128
# Configure the sampler.
# Configure the sampler.
# If omitted, parent based sampler with a root of always_on is used.
sampler:
# Configure sampler to be parent_based.
Expand Down Expand Up @@ -162,11 +162,11 @@ meter_provider:
readers:
- # Configure a periodic metric reader.
periodic:
# Configure delay interval (in milliseconds) between start of two consecutive exports.
# Configure delay interval (in milliseconds) between start of two consecutive exports.
# Value must be non-negative.
# If omitted or null, 60000 is used.
interval: 60000
# Configure maximum allowed time (in milliseconds) to export data.
# Configure maximum allowed time (in milliseconds) to export data.
# Value must be non-negative. A value of 0 indicates no limit (infinity).
# If omitted or null, 30000 is used.
timeout: 30000
Expand All @@ -179,15 +179,15 @@ meter_provider:
endpoint: http://localhost:4318/v1/metrics
# Configure TLS settings for the exporter.
tls:
# Configure certificate used to verify a server's TLS credentials.
# Configure certificate used to verify a server's TLS credentials.
# Absolute path to certificate file in PEM format.
# If omitted or null, system default certificate verification is used for secure connections.
certificate_file:
# Configure mTLS private client key.
# Configure mTLS private client key.
# Absolute path to client key file in PEM format. If set, .client_certificate must also be set.
# If omitted or null, mTLS is not used.
client_key_file:
# Configure mTLS client certificate.
# Configure mTLS client certificate.
# Absolute path to client certificate file in PEM format. If set, .client_key must also be set.
# If omitted or null, mTLS is not used.
client_certificate_file:
Expand All @@ -210,7 +210,7 @@ meter_provider:
# Values include: explicit_bucket_histogram, base2_exponential_bucket_histogram. For behavior of values, see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk_exporters/otlp.md.
# If omitted or null, explicit_bucket_histogram is used.
default_histogram_aggregation: explicit_bucket_histogram
# Configure the exemplar filter.
# Configure the exemplar filter.
# Values include: trace_based, always_on, always_off. For behavior of values see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#metrics-sdk-configuration.
# If omitted or null, trace_based is used.
exemplar_filter: trace_based
Expand Down Expand Up @@ -244,15 +244,15 @@ logger_provider:
endpoint: http://localhost:4318/v1/logs
# Configure TLS settings for the exporter.
tls:
# Configure certificate used to verify a server's TLS credentials.
# Configure certificate used to verify a server's TLS credentials.
# Absolute path to certificate file in PEM format.
# If omitted or null, system default certificate verification is used for secure connections.
certificate_file:
# Configure mTLS private client key.
# Configure mTLS private client key.
# Absolute path to client key file in PEM format. If set, .client_certificate must also be set.
# If omitted or null, mTLS is not used.
client_key_file:
# Configure mTLS client certificate.
# Configure mTLS client certificate.
# Absolute path to client certificate file in PEM format. If set, .client_key must also be set.
# If omitted or null, mTLS is not used.
client_certificate_file:
Expand All @@ -269,11 +269,11 @@ logger_provider:
headers: []
# Configure log record limits. See also attribute_limits.
limits:
# Configure max attribute value size. Overrides .attribute_limits.attribute_value_length_limit.
# Configure max attribute value size. Overrides .attribute_limits.attribute_value_length_limit.
# Value must be non-negative.
# If omitted or null, there is no limit.
attribute_value_length_limit:
# Configure max attribute count. Overrides .attribute_limits.attribute_count_limit.
# Configure max attribute count. Overrides .attribute_limits.attribute_count_limit.
# Value must be non-negative.
# If omitted or null, 128 is used.
attribute_count_limit: 128
44 changes: 22 additions & 22 deletions examples/sdk-migration-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,38 +58,38 @@ resource:
attributes_list: ${OTEL_RESOURCE_ATTRIBUTES}
# Configure general attribute limits. See also tracer_provider.limits, logger_provider.limits.
attribute_limits:
# Configure max attribute value size.
# Configure max attribute value size.
# Value must be non-negative.
# If omitted or null, there is no limit.
attribute_value_length_limit: ${OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT}
# Configure max attribute count.
# Configure max attribute count.
# Value must be non-negative.
# If omitted or null, 128 is used.
attribute_count_limit: ${OTEL_ATTRIBUTE_COUNT_LIMIT:-128}
# Configure text map context propagators.
# If omitted, a noop propagator is used.
propagator:
# Configure the propagators in the composite text map propagator. Entries from .composite_list are appended to the list here with duplicates filtered out.
# Built-in propagator keys include: tracecontext, baggage, b3, b3multi, jaeger, ottrace. Known third party keys include: xray.
# Built-in propagator keys include: tracecontext, baggage, b3, b3multi, jaeger, ottrace. Known third party keys include: xray.
# If the resolved list of propagators (from .composite and .composite_list) is empty, a noop propagator is used.
composite: []
# Configure the propagators in the composite text map propagator. Entries are appended to .composite with duplicates filtered out.
# The value is a comma separated list of propagator identifiers matching the format of OTEL_PROPAGATORS. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#general-sdk-configuration for details.
# Built-in propagator identifiers include: tracecontext, baggage, b3, b3multi, jaeger, ottrace. Known third party identifiers include: xray.
# Built-in propagator identifiers include: tracecontext, baggage, b3, b3multi, jaeger, ottrace. Known third party identifiers include: xray.
# If the resolved list of propagators (from .composite and .composite_list) is empty, a noop propagator is used.
composite_list: ${OTEL_PROPAGATORS:-tracecontext,baggage}
# Configure tracer provider.
# If omitted, a noop tracer provider is used.
tracer_provider:
# Configure span processors.
# Configure span processors.
processors:
- # Configure a batch span processor.
batch:
# Configure delay interval (in milliseconds) between two consecutive exports.
# Configure delay interval (in milliseconds) between two consecutive exports.
# Value must be non-negative.
# If omitted or null, 5000 is used.
schedule_delay: ${OTEL_BSP_SCHEDULE_DELAY:-5000}
# Configure maximum allowed time (in milliseconds) to export data.
# Configure maximum allowed time (in milliseconds) to export data.
# Value must be non-negative. A value of 0 indicates no limit (infinity).
# If omitted or null, 30000 is used.
export_timeout: ${OTEL_BSP_EXPORT_TIMEOUT:-30000}
Expand All @@ -108,15 +108,15 @@ tracer_provider:
endpoint: ${OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:-http://localhost:4318/v1/traces}
# Configure TLS settings for the exporter.
tls:
# Configure certificate used to verify a server's TLS credentials.
# Configure certificate used to verify a server's TLS credentials.
# Absolute path to certificate file in PEM format.
# If omitted or null, system default certificate verification is used for secure connections.
certificate_file: ${OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE}
# Configure mTLS private client key.
# Configure mTLS private client key.
# Absolute path to client key file in PEM format. If set, .client_certificate must also be set.
# If omitted or null, mTLS is not used.
client_key_file: ${OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY}
# Configure mTLS client certificate.
# Configure mTLS client certificate.
# Absolute path to client certificate file in PEM format. If set, .client_key must also be set.
# If omitted or null, mTLS is not used.
client_certificate_file: ${OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE}
Expand Down Expand Up @@ -161,7 +161,7 @@ tracer_provider:
# Value must be non-negative.
# If omitted or null, 128 is used.
link_attribute_count_limit: ${OTEL_LINK_ATTRIBUTE_COUNT_LIMIT:-128}
# Configure the sampler.
# Configure the sampler.
# If omitted, parent based sampler with a root of always_on is used.
sampler:
# Configure sampler to be parent_based.
Expand Down Expand Up @@ -200,11 +200,11 @@ meter_provider:
readers:
- # Configure a periodic metric reader.
periodic:
# Configure delay interval (in milliseconds) between start of two consecutive exports.
# Configure delay interval (in milliseconds) between start of two consecutive exports.
# Value must be non-negative.
# If omitted or null, 60000 is used.
interval: ${OTEL_METRIC_EXPORT_INTERVAL:-60000}
# Configure maximum allowed time (in milliseconds) to export data.
# Configure maximum allowed time (in milliseconds) to export data.
# Value must be non-negative. A value of 0 indicates no limit (infinity).
# If omitted or null, 30000 is used.
timeout: ${OTEL_METRIC_EXPORT_TIMEOUT:-30000}
Expand All @@ -217,15 +217,15 @@ meter_provider:
endpoint: ${OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:-http://localhost:4318/v1/metrics}
# Configure TLS settings for the exporter.
tls:
# Configure certificate used to verify a server's TLS credentials.
# Configure certificate used to verify a server's TLS credentials.
# Absolute path to certificate file in PEM format.
# If omitted or null, system default certificate verification is used for secure connections.
certificate_file: ${OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE}
# Configure mTLS private client key.
# Configure mTLS private client key.
# Absolute path to client key file in PEM format. If set, .client_certificate must also be set.
# If omitted or null, mTLS is not used.
client_key_file: ${OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY}
# Configure mTLS client certificate.
# Configure mTLS client certificate.
# Absolute path to client certificate file in PEM format. If set, .client_key must also be set.
# If omitted or null, mTLS is not used.
client_certificate_file: ${OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE}
Expand All @@ -252,7 +252,7 @@ meter_provider:
# Values include: explicit_bucket_histogram, base2_exponential_bucket_histogram. For behavior of values, see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk_exporters/otlp.md.
# If omitted or null, explicit_bucket_histogram is used.
default_histogram_aggregation: ${OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION:-explicit_bucket_histogram}
# Configure the exemplar filter.
# Configure the exemplar filter.
# Values include: trace_based, always_on, always_off. For behavior of values see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#metrics-sdk-configuration.
# If omitted or null, trace_based is used.
exemplar_filter: ${OTEL_METRICS_EXEMPLAR_FILTER:-trace_based}
Expand Down Expand Up @@ -286,15 +286,15 @@ logger_provider:
endpoint: ${OTEL_EXPORTER_OTLP_LOGS_ENDPOINT:-http://localhost:4318/v1/logs}
# Configure TLS settings for the exporter.
tls:
# Configure certificate used to verify a server's TLS credentials.
# Configure certificate used to verify a server's TLS credentials.
# Absolute path to certificate file in PEM format.
# If omitted or null, system default certificate verification is used for secure connections.
certificate_file: ${OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE}
# Configure mTLS private client key.
# Configure mTLS private client key.
# Absolute path to client key file in PEM format. If set, .client_certificate must also be set.
# If omitted or null, mTLS is not used.
client_key_file: ${OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY}
# Configure mTLS client certificate.
# Configure mTLS client certificate.
# Absolute path to client certificate file in PEM format. If set, .client_key must also be set.
# If omitted or null, mTLS is not used.
client_certificate_file: ${OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATE}
Expand All @@ -315,11 +315,11 @@ logger_provider:
headers_list: ${OTEL_EXPORTER_OTLP_LOGS_HEADERS}
# Configure log record limits. See also attribute_limits.
limits:
# Configure max attribute value size. Overrides .attribute_limits.attribute_value_length_limit.
# Configure max attribute value size. Overrides .attribute_limits.attribute_value_length_limit.
# Value must be non-negative.
# If omitted or null, there is no limit.
attribute_value_length_limit: ${OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT}
# Configure max attribute count. Overrides .attribute_limits.attribute_count_limit.
# Configure max attribute count. Overrides .attribute_limits.attribute_count_limit.
# Value must be non-negative.
# If omitted or null, 128 is used.
attribute_count_limit: ${OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT:-128}
Loading
Loading