feat(docker): add full grafana, prometheus, tempo setup for local dev

This is a very useful stack for local development as well, by allowing
to easily access a local grafana instance and look at the accessed
endpoints, query usage and durations etc.
As a nice side effect this also makes sure we have an easy way to
actually test any changes to the opentelemetry integration in an actual
environment instead of just listening to a raw socket.
This commit is contained in:
Levente Polyak 2024-08-19 15:19:25 +02:00
parent 8dcf0b2d97
commit 439ccd4aa3
No known key found for this signature in database
GPG key ID: FC1B547C8D8172C8
8 changed files with 169 additions and 1 deletions

2
docker/health/prometheus.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec wget -q http://prometheus:9090/status -O /dev/null

2
docker/health/tempo.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec wget -q http://tempo:3200/status -O /dev/null