Reference Source
public class | source

MetricsState

Metrics state base class.

Constructor Summary

Public Constructor
public

constructor(arg_metrics_name: string): nothing

Metrics state constructor.

Member Summary

Public Members
public

Class test flag.

public

Metrics series name.

public

Metrics state values.

Method Summary

Public Methods
public

Returns metrics series name.

public

Returns metrics values plain object.

public

set_values(arg_values: object): nothing

Set metrics values plain object.

Public Constructors

public constructor(arg_metrics_name: string): nothing source

Metrics state constructor.

Params:

NameTypeAttributeDescription
arg_metrics_name string

metrics series name ('http', 'host'...)

Return:

nothing

Public Members

public is_metrics_state: boolean source

Class test flag.

public name: string source

Metrics series name.

public values: object source

Metrics state values.

Public Methods

public get_name(): string source

Returns metrics series name.

Return:

string

name.

public get_values(): object source

Returns metrics values plain object.

Return:

object

values map plain object.

public set_values(arg_values: object): nothing source

Set metrics values plain object.

Params:

NameTypeAttributeDescription
arg_values object

values plain object.

Return:

nothing