(https://www.jaegertracing.io/docs/1.18/deployment/)
git clone https://github.com/jaegertracing/jaeger
MODE=prod DATACENTER=dc1 sh ./jaeger/plugin/storage/cassandra/schema/create.sh | cqlsh
docker-compose up
(https://www.jaegertracing.io/docs/1.18/deployment/)
git clone https://github.com/jaegertracing/jaeger
MODE=prod DATACENTER=dc1 sh ./jaeger/plugin/storage/cassandra/schema/create.sh | cqlsh
docker-compose up
version: '3.8' | |
services: | |
jaeger-collector: | |
image: 'jaegertracing/jaeger-collector:1.18' | |
container_name: 'jaeger-collector' | |
ports: | |
- '14250:14250' | |
env_file: | |
- cassandra_vars.env | |
# Collector | |
otel-collector: | |
image: otel/opentelemetry-collector:0.3.0 | |
command: ['--config=/etc/otel-collector-config.yaml'] | |
volumes: | |
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml | |
ports: | |
- '8888:8888' # Prometheus metrics exposed by the collector | |
- '8889:8889' # Prometheus exporter metrics | |
- '13133:13133' # health_check extension | |
- '55680:55680' # OTLP receiver | |
depends_on: | |
- jaeger-collector | |
# UI | |
jaeger-ui: | |
image: jaegertracing/jaeger-query:1.18 | |
ports: | |
- '16686:16686' | |
- '16687:16687' | |
env_file: | |
- cassandra_vars.env | |
command: --log-level=debug | |
# Grafana | |
grafana: | |
image: grafana/grafana:7.0.2 | |
ports: | |
- '3000:3000' | |
volumes: | |
- ./grafana-data:/var/lib/grafana | |
environment: | |
GF_AUTH_ANONYMOUS_ENABLED: 'true' |
receivers: | |
otlp: | |
endpoint: '0.0.0.0:55680' | |
# cors_allowed_origins: production deployment should do security! | |
exporters: | |
jaeger_grpc: | |
endpoint: jaeger-collector:14250 | |
logging: | |
loglevel: info | |
sampling_initial: 5 | |
sampling_thereafter: 200 | |
processors: | |
batch: | |
queued_retry: | |
extensions: | |
health_check: | |
pprof: | |
endpoint: :1888 | |
zpages: | |
endpoint: :55679 | |
service: | |
extensions: [pprof, zpages, health_check] | |
pipelines: | |
traces: | |
receivers: [otlp] | |
exporters: [logging, jaeger_grpc] | |
processors: [batch, queued_retry] | |
# metrics: | |
# receivers: [opencensus] | |
# exporters: [logging, prometheus] |
Well, should update doc, to change steps. first. cassandra should be launched, schema created, then whole system
Really appreciate for your time @AndrewGrachov for helping!
Oh I posted the following up question at https://stackoverflow.com/questions/63485673/how-to-correctly-use-opentelemetry-exporter-with-opentelemetry-collector-in-clie
If you have time, it would be great! Thanks again!
I have figured with some further help, I posted my final working solution at https://stackoverflow.com/a/63489195/2000548
Good - glad you worked it out :)
Thanks for helping, @AndrewGrachov !
Hmm, when tired to run
MODE=prod DATACENTER=dc1 sh ./jaeger/plugin/storage/cassandra/schema/create.sh | cqlsh
Got this error: