This module contains the methods to create and register default node process metrics to a metrics registry.
Members
-
<static> nodeProcessMetrics
-
Map of metric names to a corresponding function that creates and returns a Metric that tracks it.
See nodeProcessMetrics
Methods
-
<static> createProcessMetrics(metricsRegistry [, customDimensions] [, reportingIntervalInSeconds])
-
Method that can be used to add a set of default node process metrics to your app.
Parameters:
Name Type Argument Description metricsRegistry
SelfReportingMetricsRegistry customDimensions
Dimensions <optional>
reportingIntervalInSeconds
number <optional>