K8s Migration Phase 0: Foundation Infrastructure #26
1 changed files with 11 additions and 11 deletions
Fix zot dashboard job label filter
Alloy labels scraped metrics with job="prometheus.scrape.zot", not just "zot". Updated all dashboard queries to match. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
commit
6dc698d4ef
|
|
@ -105,7 +105,7 @@
|
|||
"targets": [
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"expr": "go_goroutines{job=\"zot\"}",
|
||||
"expr": "go_goroutines{job=\"prometheus.scrape.zot\"}",
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
|
|
@ -153,7 +153,7 @@
|
|||
"targets": [
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"expr": "process_resident_memory_bytes{job=\"zot\"}",
|
||||
"expr": "process_resident_memory_bytes{job=\"prometheus.scrape.zot\"}",
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
|
|
@ -197,7 +197,7 @@
|
|||
"targets": [
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"expr": "sum(rate(zot_http_requests_total{job=\"zot\"}[5m]))",
|
||||
"expr": "sum(rate(zot_http_requests_total{job=\"prometheus.scrape.zot\"}[5m]))",
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
|
|
@ -259,7 +259,7 @@
|
|||
"targets": [
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"expr": "sum by (method) (rate(zot_http_requests_total{job=\"zot\"}[5m]))",
|
||||
"expr": "sum by (method) (rate(zot_http_requests_total{job=\"prometheus.scrape.zot\"}[5m]))",
|
||||
"legendFormat": "{{method}}",
|
||||
"refId": "A"
|
||||
}
|
||||
|
|
@ -322,7 +322,7 @@
|
|||
"targets": [
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"expr": "sum by (code) (rate(zot_http_requests_total{job=\"zot\"}[5m]))",
|
||||
"expr": "sum by (code) (rate(zot_http_requests_total{job=\"prometheus.scrape.zot\"}[5m]))",
|
||||
"legendFormat": "{{code}}",
|
||||
"refId": "A"
|
||||
}
|
||||
|
|
@ -385,19 +385,19 @@
|
|||
"targets": [
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"expr": "histogram_quantile(0.50, sum(rate(zot_http_request_duration_seconds_bucket{job=\"zot\"}[5m])) by (le))",
|
||||
"expr": "histogram_quantile(0.50, sum(rate(zot_http_request_duration_seconds_bucket{job=\"prometheus.scrape.zot\"}[5m])) by (le))",
|
||||
"legendFormat": "p50",
|
||||
"refId": "A"
|
||||
},
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"expr": "histogram_quantile(0.95, sum(rate(zot_http_request_duration_seconds_bucket{job=\"zot\"}[5m])) by (le))",
|
||||
"expr": "histogram_quantile(0.95, sum(rate(zot_http_request_duration_seconds_bucket{job=\"prometheus.scrape.zot\"}[5m])) by (le))",
|
||||
"legendFormat": "p95",
|
||||
"refId": "B"
|
||||
},
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"expr": "histogram_quantile(0.99, sum(rate(zot_http_request_duration_seconds_bucket{job=\"zot\"}[5m])) by (le))",
|
||||
"expr": "histogram_quantile(0.99, sum(rate(zot_http_request_duration_seconds_bucket{job=\"prometheus.scrape.zot\"}[5m])) by (le))",
|
||||
"legendFormat": "p99",
|
||||
"refId": "C"
|
||||
}
|
||||
|
|
@ -460,19 +460,19 @@
|
|||
"targets": [
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"expr": "process_resident_memory_bytes{job=\"zot\"}",
|
||||
"expr": "process_resident_memory_bytes{job=\"prometheus.scrape.zot\"}",
|
||||
"legendFormat": "Resident Memory",
|
||||
"refId": "A"
|
||||
},
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"expr": "go_memstats_heap_alloc_bytes{job=\"zot\"}",
|
||||
"expr": "go_memstats_heap_alloc_bytes{job=\"prometheus.scrape.zot\"}",
|
||||
"legendFormat": "Heap Alloc",
|
||||
"refId": "B"
|
||||
},
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"expr": "go_memstats_heap_inuse_bytes{job=\"zot\"}",
|
||||
"expr": "go_memstats_heap_inuse_bytes{job=\"prometheus.scrape.zot\"}",
|
||||
"legendFormat": "Heap In Use",
|
||||
"refId": "C"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue