BBjAPI::registerMetricGauge
Description
In BBj 18.0 and higher, this method registers and returns a new metrics Gauge object.
Syntax
| 
                                                             Return Value  | 
                                                        
                                                             Method  | 
                                                    
|---|---|
| Gauge | registerMetricGauge(String name, String help, String... labels) | 
Parameters
| Parameter | Description | 
|---|---|
| name | A name for the Counter | 
| help | A help description of the Counter | 
| labels | Any number of string labels for the Counter which can be accessed from the Counter object. | 
Return Value
A Gauge object for reference anywhere in any BBj interpreter.
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::unregisterMetricCounter
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.