The metrics registry.
Indicates whether to collect default metrics. Default is true
.
Optional
defaultMetricsPrefix: stringThe prefix to be added to default metrics.
Optional
defaultMetricsLabels: Record<string, string>The labels to be added to default metrics.
The Express request handler function.
Express middleware that returns the metrics collected by the registry.