Home > fastify-metrics > IDefaultMetricsConfig
Default prom-client metrics config
Signature:
export interface IDefaultMetricsConfig extends DefaultMetricsCollectorConfiguration<'text/plain; version=0.0.4; charset=utf-8'>
Extends: DefaultMetricsCollectorConfiguration<'text/plain; version=0.0.4; charset=utf-8'>
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.) |