Express middleware that returns the metrics collected by the registry.
The metrics registry.
Indicates whether to collect default metrics. Default is true.
true
Optional
The labels to be added to default metrics.
The Express request handler function.
Express middleware that returns the metrics collected by the registry.