Skip to content
Open
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
10 changes: 10 additions & 0 deletions .docker/docker-compose-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,16 @@ services:
# extends:
# service: jaeger
# file: ./.docker/docker-compose-monitoring.yml
#
# grafana:
# extends:
# service: grafana
# file: ./.docker/docker-compose-monitoring.yml
#
# prometheus:
# extends:
# service: prometheus
# file: ./.docker/docker-compose-monitoring.yml

configs:
init.sql:
Expand Down
1 change: 1 addition & 0 deletions .docker/docker-compose-monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ services:
container_name: prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--web.enable-remote-write-receiver'
ports:
- 9090:9090
restart: unless-stopped
Expand Down
7 changes: 6 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,13 @@ WEBHOOK_API_KEY=
#######################################
# Monitoring
#######################################
DEFAULT_METRICS_ENABLED=true
LOG_LEVEL=info
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://localhost:4317
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=http://localhost:4317
OTEL_METRICS_EXPORT_INTERVAL_MS=5000
OTEL_METRICS_ENABLED=true
PROMETHEUS_METRICS_ENABLED=true


LOGFLARE_ENABLED=false
LOGFLARE_API_KEY=api_key
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ data/
bin/
coverage/
.idea/
src/scripts/*.py
src/scripts/*.py
.claude/
Loading
Loading