UNPKG

strapi-prometheus

Version:

A powerful Strapi plugin that adds comprehensive Prometheus metrics to monitor your API performance, system resources, and application behavior using prom-client.

16 lines (15 loc) 438 B
import { DefaultMetricsCollectorConfiguration, RegistryContentType } from "prom-client"; export interface Config { labels: object; collectDefaultMetrics: false | DefaultMetricsCollectorConfiguration<RegistryContentType>; server: false | { port: number; host: string; path: string; }; } declare const _default: { default: Config; validator(config: Config): void; }; export default _default;