31 lines
1.1 KiB
JSON
31 lines
1.1 KiB
JSON
{
|
|
"title": "Vuln Explorer",
|
|
"timezone": "utc",
|
|
"panels": [
|
|
{
|
|
"type": "timeseries",
|
|
"title": "API latency p50/p95/p99",
|
|
"targets": [
|
|
{ "expr": "histogram_quantile(0.95, rate(http_request_duration_seconds_bucket{service=\"vuln-explorer\",path=~\"/findings.*\"}[5m]))" },
|
|
{ "expr": "histogram_quantile(0.99, rate(http_request_duration_seconds_bucket{service=\"vuln-explorer\",path=~\"/findings.*\"}[5m]))" }
|
|
]
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"title": "Projection lag (s)",
|
|
"targets": [ { "expr": "vuln_projection_lag_seconds" } ]
|
|
},
|
|
{
|
|
"type": "stat",
|
|
"title": "Error rate",
|
|
"targets": [ { "expr": "sum(rate(http_requests_total{service=\"vuln-explorer\",status=~\"5..\"}[5m])) / sum(rate(http_requests_total{service=\"vuln-explorer\"}[5m]))" } ],
|
|
"options": { "reduceOptions": { "calcs": ["lastNotNull"] } }
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"title": "Query budget enforcement hits",
|
|
"targets": [ { "expr": "rate(vuln_query_budget_enforced_total[5m])" } ]
|
|
}
|
|
]
|
|
}
|