Reference Source
public class | source

MetricsNodeFeature

Extends:

NodeFeature → MetricsNodeFeature

Constructor Summary

Public Constructor
public

constructor(arg_node: Node, arg_name: string): nothing

Create a MetricsNodefeature instance.

Member Summary

Public Members
public

Class type flag.

public

Metrics server instance.

Method Summary

Public Methods
public

Get metrics server instance.

public

load(): nothing

Load Node settings.

public

start(): nothing

Starts node metrics.

public

stop(): nothing

Stops node metrics.

Inherited Summary

From class NodeFeature
public

Class type flag.

public

Is ready flag.

public

Feature name.

public

Node instance.

public

Get feature name.

public abstract

load(): nothing

Load Node settings.

public abstract

start(): nothing

Starts node feature.

public abstract

stop(): nothing

Stops node feature.

Public Constructors

public constructor(arg_node: Node, arg_name: string): nothing source

Create a MetricsNodefeature instance.

Override:

NodeFeature#constructor

Params:

NameTypeAttributeDescription
arg_node Node

node instance.

arg_name string

feature name.

Return:

nothing

Public Members

public is_metrics_node_feature: boolean source

Class type flag.

public metrics_server: Server source

Metrics server instance.

Public Methods

public get_metrics_server(): Server source

Get metrics server instance.

Return:

Server

Metrics server.

public load(): nothing source

Load Node settings.

Override:

NodeFeature#load

Return:

nothing

public start(): nothing source

Starts node metrics.

Override:

NodeFeature#start

Return:

nothing

public stop(): nothing source

Stops node metrics.

Override:

NodeFeature#stop

Return:

nothing