import type { FastifyInstance } from "fastify"; import type { HttpMetrics } from "../plugins/http-metrics"; export interface MetricsRouteOptions { http: HttpMetrics; version: string; } /** * `GET /metrics` in the Prometheus exposition format. * * The OpenTelemetry generator has always emitted resource attributes so *other* services can say * which team owns them; the API that computed those attributes exported nothing about itself or * about the org it was serving. This is that missing half — and the org half is the interesting * one. Cognitive load per team, agents by status, blocking gaps, unresolved references and the age * of the resolved graph are exactly the things that are invisible in a report somebody runs * manually and obvious on a chart. * * Behind the same bearer token as everything else, unlike `/health`. It carries team ids, team * types and per-team load scores, which is org structure — less than `/graph` gives away, but not * nothing, and a scraper can send a header where a load balancer's liveness probe cannot. */ export declare function metricsRoutes(app: FastifyInstance, options: MetricsRouteOptions): Promise; //# sourceMappingURL=metrics.d.ts.map