Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,24 @@ services:
- vl-data:/vlogs
restart: unless-stopped

# VictoriaTraces for distributed tracing
victoriatraces:
image: victoriametrics/victoria-traces:v0.9.3
container_name: victoriatraces
ports:
- "14317:4317" # VictoriaTraces OTLP ingestion
- "8443:8443" # VictoriaTraces UI
command:
- '-otlpGRPCListenAddr=:4317'
- '-otlpGRPC.tls=false'
- '--storageDataPath=/vtraces'
- '--retentionPeriod=7d'
- '--httpListenAddr=0.0.0.0:8443'
- '--logNewStreams'
volumes:
- vt-data:/vtraces
restart: unless-stopped

otel-collector:
image: otel/opentelemetry-collector-contrib:0.115.1
container_name: otel-collector
Expand All @@ -37,6 +55,7 @@ services:
depends_on:
- victoriametrics
- victorialogs
- victoriatraces
restart: unless-stopped

grafana:
Expand All @@ -61,9 +80,11 @@ services:
depends_on:
- victoriametrics
- victorialogs
- victoriatraces
restart: unless-stopped

volumes:
vm-data:
vl-data:
vt-data:
grafana-data:
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,10 @@ datasources:
access: proxy
url: http://victorialogs:9428
editable: true

- name: VictoriaTraces
uid: victoriatraces
type: jaeger
access: proxy
url: http://victoriatraces:8443/select/jaeger
editable: true
Comment thread
bukata-sa marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,27 @@ exporters:
tls:
insecure: true

otlp/traces:
endpoint: victoriatraces:4317
tls:
insecure: true

debug:
verbosity: basic

service:
pipelines:
metrics:
receivers: [otlp]
processors: [batch]
exporters: [prometheusremotewrite, debug]
receivers: [ otlp ]
processors: [ batch ]
exporters: [ prometheusremotewrite, debug ]

logs:
receivers: [otlp]
processors: [batch]
exporters: [otlphttp/logs, debug]
receivers: [ otlp ]
processors: [ batch ]
exporters: [ otlphttp/logs, debug ]

traces:
receivers: [ otlp ]
processors: [ batch ]
exporters: [ otlp/traces, debug ]
Loading