MetricsAggregator
Constructor Summary
Public Constructor | ||
public |
constructor(options: Object): MetricsAggregator |
Method Summary
Public Methods | ||
public |
aggregate(): * |
|
public |
listen(callback: *): * |
|
public |
markMiddleware(): * |
|
public |
stop(): * |
Public Constructors
public constructor(options: Object): MetricsAggregator source
Params:
Name | Type | Attribute | Description |
options | Object |
|
Options to initialize MetricsAggregator. |
options.prefix | string |
|
Prefix of metrics name. |
options.metricses | Array |
|
Metricses to aggregate. |
options.interval | number |
|
Interval to aggregate. |