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