Skip to main content

agentrouter.metrics.v1.MetricsService

MetricsService is the admin, cross-tenant metrics API. It is gated on the metrics_reader scope (admin implies it), so a scoped usage/dashboard integration can read cross-tenant and infra-layer (DATAPLANE/GATEWAY) metrics without full admin -- but a bare read key cannot, keeping cross-tenant data behind an explicit grant. No row-scoping: authorization is the scope check alone. Normal users read their own/project metrics via CustomerMetricsService instead (row-scoped, no special scope).