Home > fastify-metrics > IDefaultMetricsConfig
Default prom-client metrics config
Signature:
export interface IDefaultMetricsConfig extends DefaultMetricsCollectorConfigurationExtends: DefaultMetricsCollectorConfiguration
Extends the prom-client interface. So it accepts all options from it and pass to default metrics.
| Property | Modifiers | Type | Description |
|---|---|---|---|
| enabled | boolean | Enables collection of default prom-client metrics (e.g. node.js vitals like cpu, memory, etc.) |