Skip to content

Commit

Permalink
add simple OpenTelemetry/Grafana stack
Browse files Browse the repository at this point in the history
  • Loading branch information
tomascco committed May 3, 2024
1 parent cf76392 commit 9dc61ce
Show file tree
Hide file tree
Showing 6 changed files with 1,733 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@

/node_modules
/.yarn

/volumes/tempo/data/*
29 changes: 29 additions & 0 deletions compose.dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
services:
grafana:
image: grafana/grafana:10.4.2
ports:
- "3001:3000"
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
volumes:
- ./volumes/grafana/grafana.ini:/etc/grafana/grafana.ini
- ./volumes/grafana/provisioning:/etc/grafana/provisioning

tempo:
image: grafana/tempo:2.4.1
command: [ "-config.file=/etc/tempo.yaml" ]
ports:
- "3200:3200" # tempo metrics
- "4317:4317" # otlp http
volumes:
- ./volumes/tempo/tempo.yml:/etc/tempo.yaml
- ./volumes/tempo/data:/tmp/tempo

otel-collector:
image: otel/opentelemetry-collector:0.98.0
command: [ "--config=/etc/otelcol-config.yml" ]
volumes:
- ./volumes/otelcol-config.yml:/etc/otelcol-config.yml
ports:
- "4318:4318" # OTLP over HTTP receiver
Loading

0 comments on commit 9dc61ce

Please sign in to comment.