Reference Source
public class | source

MetricsRecord

Metrics record base class.

Constructor Summary

Public Constructor
public

constructor(arg_metrics_name: string): nothing

Metrics record constructor.

Member Summary

Public Members
public

Class test flag.

public

Metrics record name.

public

Metrics record values.

Method Summary

Public Methods
public

after(): nothing

Executed after request processing.

public

before(): nothing

Executed before request processing.

public

Returns metrics series name.

public

Returns metrics values plain object.

public

iteration(): nothing

Executed at each request processing iteration.

Public Constructors

public constructor(arg_metrics_name: string): nothing source

Metrics record constructor.

Params:

NameTypeAttributeDescription
arg_metrics_name string

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

Return:

nothing

Public Members

public is_metrics_record: boolean source

Class test flag.

public name: string source

Metrics record name.

public values: object source

Metrics record values.

Public Methods

public after(): nothing source

Executed after request processing.

Return:

nothing

public before(): nothing source

Executed before request processing.

Return:

nothing

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 iteration(): nothing source

Executed at each request processing iteration.

Return:

nothing