summaryrefslogtreecommitdiff
path: root/example/tracing
diff options
context:
space:
mode:
Diffstat (limited to 'example/tracing')
-rw-r--r--example/tracing/docker-compose.yaml10
-rw-r--r--example/tracing/tempo.yaml3
2 files changed, 8 insertions, 5 deletions
diff --git a/example/tracing/docker-compose.yaml b/example/tracing/docker-compose.yaml
index e719e096a..1a5922d18 100644
--- a/example/tracing/docker-compose.yaml
+++ b/example/tracing/docker-compose.yaml
@@ -1,20 +1,20 @@
version: "3"
services:
tempo:
- image: docker.io/grafana/tempo:2.1.1
+ image: docker.io/grafana/tempo:latest
command: [ "-config.file=/etc/tempo.yaml" ]
volumes:
- - ./tempo.yaml:/etc/tempo.yaml
- - ./tempo-data:/tmp/tempo
+ - ./tempo.yaml:/etc/tempo.yaml:Z
ports:
- "3200:3200" # tempo
- "9095:9095" # tempo grpc
- "4317:4317" # otlp grpc
+ - "4318:4318" # otlp http
grafana:
- image: docker.io/grafana/grafana:9.5.2
+ image: docker.io/grafana/grafana:latest
volumes:
- - ./grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
+ - ./grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml:Z
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
diff --git a/example/tracing/tempo.yaml b/example/tracing/tempo.yaml
index 52f6147a0..551d3b390 100644
--- a/example/tracing/tempo.yaml
+++ b/example/tracing/tempo.yaml
@@ -5,7 +5,10 @@ distributor:
receivers:
otlp:
protocols:
+ http:
+ endpoint: '0.0.0.0:4318'
grpc:
+ endpoint: '0.0.0.0:4317'
ingester:
max_block_duration: 5m