UNPKG

prometheus-middleware

Version:

Middleware to add an HTTP server to expose prometheus metrics.

13 lines (12 loc) 275 B
/// <reference types="node" /> export = APM; declare class APM { constructor(config?: {}); config: {}; client: typeof client; server: http.Server; init(): void; destroy(): void; } import client = require("prom-client"); import http = require("http");