Constructor
#
new Metrics(parent)
Creates a new Metrics handler with optional parent handler. When
a parent handler is defined, metrics will be automatically published
upwards to the parent.
Parameters:
Name |
Type |
Description |
parent |
Metrics
|
Optional parent for upstream metrics. |
View Source
metrics/Metrics.ts, line 138