fix: correct metric names in llama-swap monitoring (llamacpp_* -> llamaswap_*), update alerts + dashboard + scrape config

This commit is contained in:
Hermes Agent service account
2026-08-18 23:18:22 -05:00
parent 7867be688a
commit 24735f7e5c
6 changed files with 81 additions and 76 deletions

View File

@@ -30,7 +30,10 @@
metrics_path: /metrics
# Relabeling: extract model name from metric labels for dashboard grouping
metric_relabel_configs:
- source_labels: [__name__]
regex: 'llamacpp_.*'
action: keep
# llama-swap exposes llamaswap_* metrics (GPU VRAM, utilization, power, CPU,
# network, load average). Per-model inference metrics are not available at the
# proxy level. Filter to keep only llamaswap_* metrics to reduce cardinality.
metric_relabel_configs:
- source_labels: [__name__]
regex: 'llamaswap_.*'
action: keep