Skip to content

Commit f91e606

Browse files
committed
Introduce custom metrics.
# Conflicts: # nativelink-scheduler/src/simple_scheduler_state_manager.rs # nativelink-store/src/redis_store.rs # nativelink-util/BUILD.bazel # Conflicts: # nativelink-store/src/redis_store.rs # nativelink-util/BUILD.bazel
1 parent 69db8a6 commit f91e606

32 files changed

Lines changed: 3367 additions & 115 deletions

Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deployment-examples/metrics/docker-compose.yaml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ services:
2323

2424
# Prometheus with OTLP support
2525
prometheus:
26-
image: prom/prometheus:v3.0.0
26+
image: prom/prometheus:v3.7.3
2727
container_name: prometheus
2828
restart: unless-stopped
2929
command:
@@ -34,6 +34,7 @@ services:
3434
- '--web.enable-lifecycle'
3535
- '--web.enable-otlp-receiver' # Enable OTLP receiver
3636
- '--storage.tsdb.retention.time=30d'
37+
- '--query.max-concurrency=20'
3738
volumes:
3839
- ./prometheus-config.yaml:/etc/prometheus/prometheus.yml:ro
3940
- ./prometheus-recording-rules.yml:/etc/prometheus/rules/nativelink.yml:ro
@@ -67,20 +68,20 @@ services:
6768
- prometheus
6869

6970
# Optional: AlertManager for alerts
70-
alertmanager:
71-
image: prom/alertmanager:v0.27.0
72-
container_name: alertmanager
73-
restart: unless-stopped
74-
volumes:
75-
- ./alertmanager-config.yml:/etc/alertmanager/config.yml:ro
76-
- alertmanager_data:/alertmanager
77-
ports:
78-
- "9093:9093"
79-
command:
80-
- '--config.file=/etc/alertmanager/config.yml'
81-
- '--storage.path=/alertmanager'
82-
networks:
83-
- metrics
71+
# alertmanager:
72+
# image: prom/alertmanager:v0.27.0
73+
# container_name: alertmanager
74+
# restart: unless-stopped
75+
# volumes:
76+
# - ./alertmanager-config.yml:/etc/alertmanager/config.yml:ro
77+
# - alertmanager_data:/alertmanager
78+
# ports:
79+
# - "9093:9093"
80+
# command:
81+
# - '--config.file=/etc/alertmanager/config.yml'
82+
# - '--storage.path=/alertmanager'
83+
# networks:
84+
# - metrics
8485

8586
# Optional: Node exporter for host metrics
8687
node-exporter:

0 commit comments

Comments
 (0)