Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.27 KB

fastify-metrics.idefaultmetricsconfig.md

File metadata and controls

25 lines (15 loc) · 1.27 KB

Home > fastify-metrics > IDefaultMetricsConfig

IDefaultMetricsConfig interface

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'>

Remarks

Extends the prom-client interface. So it accepts all options from it and pass to default metrics.

Properties

Property Modifiers Type Description
enabled boolean Enables collection of default prom-client metrics (e.g. node.js vitals like cpu, memory, etc.)