-
-
Save asimmon/d3277252e80d210d6d271b51a9dceb20 to your computer and use it in GitHub Desktop.
Zipkin with OpenTelemetry collector
This file contains hidden or 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
OTEL_EXPORTER_OTLP_ENDPOINT=http://127.0.0.1:4317 |
This file contains hidden or 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
version: "3.8" | |
services: | |
zipkin: | |
image: openzipkin/zipkin:latest | |
restart: unless-stopped | |
ports: | |
- "9411:9411" | |
otlp-collector: | |
image: otel/opentelemetry-collector:latest | |
command: ["--config=/etc/otel-collector.yaml"] | |
depends_on: | |
- zipkin | |
restart: unless-stopped | |
ports: | |
- "4317:4317" | |
volumes: | |
- "./otel-collector.yaml:/etc/otel-collector.yaml" |
This file contains hidden or 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: | |
exporters: | |
debug: | |
zipkin: | |
endpoint: "http://zipkin:9411/api/v2/spans" | |
format: proto | |
processors: | |
batch: | |
service: | |
pipelines: | |
traces: | |
receivers: [otlp] | |
processors: [batch] | |
exporters: [debug, zipkin] | |
metrics: | |
receivers: [otlp] | |
processors: [batch] | |
exporters: [debug] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment