BBjAPI::getMetricGauge

Description

In BBj 18.00 and higher, this method returns a metrics Gauge with the given name.

Syntax

Return Value

Method

Counter getMetricGauge(String name)

Parameters

Parameter Description
name The name of the Gauge

Return Value

A metrics Gauge 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::getMetricCounter

BBjAPI::getMetricGauge

BBjAPI::registerMetricGauge

BBjAPI::unregisterMetricCounter

BBjAPI::unregisterMetricGauge

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