import MetricsBusCollector from 'devapt-core-server/js/metrics/bus/metrics_bus_collector.js'
MetricsBusCollector
Extends:
Metrics Bus collector class.
Constructor Summary
Public Constructor | ||
public |
constructor(arg_settings: Immutable.Map, arg_log_context: string): nothing Metrics collector constructor. |
Member Summary
Public Members | ||
public |
Class test flag. |
|
public |
Logs bus metrics record. |
|
public |
Metrics bus metrics record. |
|
public |
Message bus metrics record. |
|
public |
Metrics reducer instance. |
|
public |
Metrics state instance. |
|
public |
scheduler: Timer Timer instance. |
Method Summary
Public Methods | ||
public |
close(): nothing Flush and close the metrics collector. |
|
public |
flush(): nothing Flush pending metrics records. |
|
public |
init(): nothing Initialize metrics collector. |
Inherited Summary
From class MetricsCollector | ||
public |
Class test flag. |
|
public |
Metrics reducer instance. |
|
public |
Metrics server name. |
|
public |
Metrics state instance. |
|
private |
Metrics collector status. |
|
public |
close(): nothing Flush and close the metrics collector. |
|
public |
flush(): nothing Flush pending metrics records. |
|
public |
Get the metrics collector status: CREATED, INITIALIZED, CLOSED. |
|
public |
get_status(): string Get the metrics collector status: CREATED, INITIALIZED, CLOSED. |
|
public |
init(): nothing Initialize metrics collector. |
|
public |
process_record(arg_metrics_record: MetricsRecord): nothing Process a metrics record. |
|
public |
process_values(arg_metrics_values: object): nothing Process metrics record values. |
|
public |
send_metrics(arg_type: string, arg_values: array): boolean Send metrics message. |
Public Constructors
public constructor(arg_settings: Immutable.Map, arg_log_context: string): nothing source
Metrics collector constructor.
Override:
MetricsCollector#constructorParams:
Name | Type | Attribute | Description |
arg_settings | Immutable.Map | instance settings map. |
|
arg_log_context | string | trace context string. |
Return:
nothing |
Public Members
public metrics_reducer: MetricsReducer source
Metrics reducer instance.
Override:
MetricsCollector#metrics_reducerpublic metrics_state: MetricsState source
Metrics state instance.
Override:
MetricsCollector#metrics_statePublic Methods
public close(): nothing source
Flush and close the metrics collector.
Override:
MetricsCollector#closeReturn:
nothing |
public flush(): nothing source
Flush pending metrics records.
Override:
MetricsCollector#flushReturn:
nothing |
public init(): nothing source
Initialize metrics collector.
Override:
MetricsCollector#initReturn:
nothing |