Skip to content

Commit

Permalink
chore: add missing Prometheus service to grafana-tempo monitoring exa…
Browse files Browse the repository at this point in the history
…mple.

  Prometheus is needed to collect metrics and serve them to grafana.
  While we don't have many metrics yet emitted directly by Amaru, we are
  able to automatically derive some from spans using the OpenTelemetry
  collector with the 'spanmetrics' collector/plugin.
  • Loading branch information
KtorZ committed Dec 29, 2024
1 parent d75e37d commit 27a3517
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions monitoring/grafana-tempo/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ services:
- "55679:55679"
- "13133:13133"

prometheus:
image: prom/prometheus:v3.0.1
command:
[ "--web.enable-otlp-receiver"
, "--config.file=/etc/prometheus/prometheus.yml"
]
volumes:
- "./prometheus.yml:/etc/prometheus/prometheus.yml"
ports:
- "9090:9090"

tempo:
image: grafana/tempo:latest
ports:
Expand Down

0 comments on commit 27a3517

Please sign in to comment.