Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ up/mqs:
down/mqs:
docker-compose -f build/dev/mqs/compose.yml down

up/grafana:
docker-compose -f build/dev/grafana/compose.yml up -d

down/grafana:
docker-compose -f build/dev/grafana/compose.yml down

up/uptrace:
docker-compose -f build/dev/uptrace/compose.yml up -d

Expand Down
13 changes: 0 additions & 13 deletions build/dev/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,19 +110,6 @@ services:
timeout: 1s
retries: 30

otel-collector:
image: otel/opentelemetry-collector-contrib
volumes:
- ./otel-collector.yaml:/etc/otelcol-contrib/config.yaml
ports:
- 1888:1888 # pprof extension
- 8888:8888 # Prometheus metrics exposed by the Collector
- 8889:8889 # Prometheus exporter metrics
- 13133:13133 # health_check extension
- 4317:4317 # OTLP gRPC receiver
- 4318:4318 # OTLP http receiver
- 55679:55679 # zpages extension

volumes:
redis:
driver: local
Expand Down
43 changes: 43 additions & 0 deletions build/dev/grafana/compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: "outpost-grafana"

services:
otel-collector:
image: otel/opentelemetry-collector-contrib:latest
command: ["--config=/etc/otel-collector-config.yaml"]
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports:
- "4317:4317" # OTLP gRPC
- "4318:4318" # OTLP HTTP
- "8888:8888" # Telemetry metrics
- "8889:8889" # Prometheus metrics

prometheus:
image: prom/prometheus:latest
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"

grafana:
image: grafana/grafana:latest
ports:
- "3000:3000"
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
volumes:
- ./provisioning/datasources:/etc/grafana/provisioning/datasources
- ./provisioning/dashboards:/etc/grafana/provisioning/dashboards
- ./dashboards:/etc/grafana/dashboards

volumes:
grafana-data:

networks:
default:
name: outpost
external: true
Loading