1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
|
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0
# The file format version
file_format: "0.1"
# Configure if the SDK is disabled or not. This is not required to be provided
# to ensure the SDK isn't disabled, the default value when this is not provided
# is for the SDK to be enabled.
#
# Environment variable: OTEL_SDK_DISABLED
disabled: false
# Configure text map context propagators.
#
# Environment variable: OTEL_PROPAGATORS
propagator:
# composite: [tracecontext, baggage, b3, b3multi, jaeger, xray, ottrace]
composite: tracecontext
# Configure tracer provider.
tracer_provider:
# Configure span processors.
processors:
# Configure a batch span processor.
- batch:
# Configure exporter.
#
# Environment variable: OTEL_TRACES_EXPORTER
exporter:
# Configure exporter to be zipkin.
zipkin:
# Configure endpoint.
#
# Environment variable: OTEL_EXPORTER_ZIPKIN_ENDPOINT
endpoint: http://localhost:9411/api/v2/spans
# Configure max time (in milliseconds) to wait for each export.
#
# Environment variable: OTEL_EXPORTER_ZIPKIN_TIMEOUT
timeout: 10000
# Configure a simple span processor.
- simple:
# Configure exporter.
exporter:
# Configure exporter to be console.
console: {}
- my_custom_span_processor:
comment: "This is a span processor extension point, with properties."
- batch:
exporter:
my_custom_span_exporter:
comment: "This is a span exporter extension point, with properties."
# Configure the sampler.
sampler:
my_custom_sampler:
comment: "This is a sampler extension point, with properties."
meter_provider:
readers:
- pull:
exporter:
my_custom_pull_metric_exporter:
comment: "This is a pull metric exporter extension point, with properties."
- periodic:
exporter:
my_custom_push_metric_exporter:
comment: "This is a push metric exporter extension point, with properties."
logger_provider:
processors:
- simple:
# Configure exporter.
exporter:
# Configure exporter to be console.
console: {}
- my_custom_log_record_processor:
comment: "This is a log record processor extension point, with properties."
- batch:
exporter:
my_custom_log_record_exporter:
comment: "This is a log record exporter extension point, with properties."
|