The prometheus.Gauge class

The prometheus.Gauge class provides methods for recording metrics that can increase or decrease, such as current memory usage.

This class is provided in the prometheus library; to use this class, import the prometheus package with:
IMPORT prometheus

Once the class has been instantiated with prometheus.Gauge.create(), you can use its class methods in your program.

For more information on Prometheus monitoring, refer to the Genero Application Server User Guide