docker run -it -v "${PWD}/otel-local-config.yml":/otel-local-config.yaml -p 4317:4317 -p 4318:4318 -p 55679:55679 -p 9464:9464 --name=otel otel/opentelemetry-collector:0.88.0 --config otel-local-config.yaml
Created
August 15, 2024 08:31
-
-
Save fredrikln/b73c1d99ad14a03be1e6ddf800844f8d to your computer and use it in GitHub Desktop.
Open Telemetry Collector container with debug logging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
receivers: | |
otlp: | |
protocols: | |
grpc: | |
http: | |
processors: | |
batch: | |
exporters: | |
debug: | |
verbosity: detailed | |
# prometheus: | |
# endpoint: '0.0.0.0:9464' | |
# resource_to_telemetry_conversion: | |
# enabled: true | |
service: | |
pipelines: | |
traces: | |
receivers: [otlp] | |
processors: [batch] | |
exporters: [debug] | |
metrics: | |
receivers: [otlp] | |
processors: [batch] | |
#exporters: [debug,prometheus] | |
exporters: [debug] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment