Repository navigation
Commit 07ebdcc
authored
feat(monitoring): add Dashboard 5 (API Serving & Analytics) (#6487)
## Overview
Implements **Dashboard 5 (`5. API Serving & Analytics`)** for Plutono
`v7.5.52` (`schemaVersion: 27`), providing deep-dive visibility into
OSV's public API (`osv-grpc-v1`, `osv-grpc-backend`,
`osv-grpc-backend-batch`) and website Load Balancer.
> *Note: This pull request was developed with AI assistance.*
## Details
- Added
`deployment/clouddeploy/gke-workers/base/monitoring/dashboards/api-serving-analytics.json`
(`uid: osv-api-serving`):
- **API Serving Headline KPIs**: 7d Cloud Run availability
(`osv-grpc-v1`), live QPS, 5xx error rate, active Cloud Run container
count, website LB traffic, and 7d LB availability.
- **Per-Endpoint Volume & Status**: ESPv2 ServiceRuntime QPS by RPC
method (`GetVulnById`, `QueryAffected`, `QueryAffectedBatch`,
`DetermineVersion`) using exact `monitored_resource` equality, plus
Cloud Run request rate by service and response class
(`2xx`/`4xx`/`5xx`).
- **Per-Endpoint Latency Percentiles**: P50/P95/P99 latencies across
`GetVulnById`, `DetermineVersion`, `QueryAffected`, and
`QueryAffectedBatch`.
- **Cloud Run Autoscaling & Utilization**: Container instance counts by
service/state (`active`/`idle`) and P95 CPU & memory utilizations.
- **Endpoint Share & Cloud Logging Analytics**: Ranked selected-range
QPS bar gauge by method alongside pre-filtered Cloud Logs Explorer & Log
Analytics links (both `oss-vdb` and `oss-vdb-test`) matching
`go/internal/api` structured logs (`QueryAffected`,
`QueryAffectedBatch`, `DetermineVersion`, `severity>=ERROR`).
- Registered `api-serving-analytics.json` in
`base/monitoring/kustomization.yaml` and added its directory link to
`home.json`.
## Testing
- Validated JSON syntax for `api-serving-analytics.json` and
`home.json`.
- Verified `kubectl kustomize` builds cleanly across `oss-vdb-test` and
`oss-vdb/monitoring`.
<!-- AI-PR -->1 parent 602c6d0 commit 07ebdcc
3 files changed
Lines changed: 1268 additions & 1 deletion
File tree
- deployment/clouddeploy/gke-workers/base/monitoring
- dashboards
0 commit comments