MCPcopy Index your code
hub / github.com/avoidwork/tenso / PrometheusMiddleware

Interface PrometheusMiddleware

types/middleware.d.ts:24–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 * Prometheus middleware function with register property
23 */
24export interface PrometheusMiddleware extends MiddlewareFunction {
25 /** Prometheus metrics registry */
26 register: {
27 /** Content type for metrics endpoint */
28 contentType: string;
29 /** Get metrics as a promise */
30 metrics(): Promise<string>;
31 };
32}
33
34/**
35 * Middleware that sets async protection flag

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected