This module contains the methods to create and register default node os metrics to a metrics registry.
Members
-
<static> nodeOsMetrics
-
Map of metric names to a corresponding function that creates and returns a Metric that tracks it.
See nodeOsMetrics
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