BBjAPI::getMetricCounter

Description

In BBj 18.0 and higher, this method returns a metrics Counter object with a given name.

Syntax

Return Value

Method

Counter getMetricCounter(String name)

Parameters

Parameter Description
name The name of the Counter

Return Value

A Counter with the given name, or null if it does not exist.

Remarks

BBj 18.0 and higher supports metrics that are exported in a format compatible with the Prometheus time series database. See BBj Metrics documentation for more information.

See Also

BBjAPI

BBjAPI::getMetricGauge

BBjAPI::getMetricCounter

BBjAPI::registerMetricGauge

BBjAPI::unregisterMetricCounter

BBjAPI::unregisterMetricGauge

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.