summaryrefslogtreecommitdiff
path: root/example/tracing/docker-compose.yaml
diff options
context:
space:
mode:
authorLibravatar Daenney <daenney@users.noreply.github.com>2023-06-09 16:04:23 +0200
committerLibravatar GitHub <noreply@github.com>2023-06-09 16:04:23 +0200
commit6f6b8576f025434410e0c049a2971e20e29f108f (patch)
tree308528502c62c2534dc4c61c861fe5989129a20c /example/tracing/docker-compose.yaml
parent[chore] update latest deps, ensure readme up to date (#1873) (diff)
downloadgotosocial-6f6b8576f025434410e0c049a2971e20e29f108f.tar.xz
[docs] Add example tracing infrastructure (#1866)
This adds an example on how to get Grafana Tempo up to receive spans as well as Grafana itself to view them. I've added this as a separate Tracing doc in the installation guide as the Advanced one was starting to get rather full. Fixes: #1791
Diffstat (limited to 'example/tracing/docker-compose.yaml')
-rw-r--r--example/tracing/docker-compose.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/example/tracing/docker-compose.yaml b/example/tracing/docker-compose.yaml
new file mode 100644
index 000000000..e719e096a
--- /dev/null
+++ b/example/tracing/docker-compose.yaml
@@ -0,0 +1,24 @@
+version: "3"
+services:
+ tempo:
+ image: docker.io/grafana/tempo:2.1.1
+ command: [ "-config.file=/etc/tempo.yaml" ]
+ volumes:
+ - ./tempo.yaml:/etc/tempo.yaml
+ - ./tempo-data:/tmp/tempo
+ ports:
+ - "3200:3200" # tempo
+ - "9095:9095" # tempo grpc
+ - "4317:4317" # otlp grpc
+
+ grafana:
+ image: docker.io/grafana/grafana:9.5.2
+ volumes:
+ - ./grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
+ environment:
+ - GF_AUTH_ANONYMOUS_ENABLED=true
+ - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
+ - GF_AUTH_DISABLE_LOGIN_FORM=true
+ - GF_FEATURE_TOGGLES_ENABLE=traceqlEditor
+ ports:
+ - "3000:3000"