Optional collectcollectDefaultMetrics: a flag indicating if default metrics for nodejs should be included into the registry.
Optional expressexpressApp: an express application where the monitoring middleware will be mounted on.
if not specified, a new express app will be created listening on the METRICS_ENDPOINT_PORT port.
Optional metricmetricRegistry: a custom prom-client registry to be used to attach custom metrics to.
Optional metricsmetrics: an array of Metrics to be added to the Registry for metric collection.
Optional metricsmetricsPath: the path to mount the monitoring metric endpoint
Generated using TypeDoc
Options used to set up monitoring middleware.