Whether to collect node metrics.
Whether to collect service version metrics.
Object containing extra labels, useful together with transformLabels.
Add operation id based on the Openapi operationId to the metrics. Requires the express-openapi-validator package to function.
The labels to attach to all the metrics.
The prefix for the metrics. e.g. 'my_prefix_my_metric'
The Prometheus registry to use for the metrics.
Optional
transformFunction to transform labels with request and response objects.
Options for configuring metrics middleware.