You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
585 B
27 lines
585 B
export interface PromModuleOptions {
|
|
[key: string]: any;
|
|
|
|
/**
|
|
* Enable default metrics
|
|
* Under the hood, that call collectDefaultMetrics()
|
|
*/
|
|
withDefaultsMetrics?: boolean;
|
|
|
|
/**
|
|
* Enable internal controller to expose /metrics
|
|
* Caution: If you have a global prefix, don't forget to prefix it in prom
|
|
*/
|
|
withDefaultController?: boolean;
|
|
|
|
/**
|
|
* Create automatically http_requests_total counter
|
|
*/
|
|
useHttpCounterMiddleware?: boolean;
|
|
|
|
registryName?: string;
|
|
timeout?: number;
|
|
prefix?: string;
|
|
defaultLabels?: {
|
|
[key: string]: any;
|
|
};
|
|
}
|