Skip to content

Latest commit

 

History

History
55 lines (30 loc) · 1.08 KB

fastify-metrics.idefaultmetricsconfig.md

File metadata and controls

55 lines (30 loc) · 1.08 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.)