Prometheus Gauge methods
The Gauge class provides a metric that can increase or decrease.
| Method | Description |
|---|---|
|
Creates a new gauge metric with the specified name, description, and labels. |
| Method | Description |
|---|---|
|
Increases the gauge by one for the specified label values. |
|
Decreases the gauge by one for the specified label values. |
|
Adds a float value to the gauge for the specified label values. |
|
Subtracts a float value from the gauge for the specified label values. |
|
Sets the gauge to a specific float value for the specified label values. |