extatus v0.2.5 Extatus.Metric.Gauge View Source
This module defines a wrapper over Prometheus.Metric.Gauge
functions to
be compatible with Extatus
way of handling metrics.
Link to this section Summary
Functions
Decrements the gauge identified by name
and values
(keyword list with
the correspondence between labels and values) by value
Creates a gauge using the name
of a metric
. If the counter exists,
returns false
Increments the gauge identified by name
and values
(keyword list with
the correspondence between labels and values) by value
Creates a gauge using the name
of a metric
Removes gauge series identified by name
and values
(keyword list with
the correspondence between labels and values)
Resets the value of the gauge identified by name
and values
(keyword list with the correspondence between labels and values)
Sets the gauge identified by name
and values
(keyword list with the
correspondence between labels and values) by value
Sets the gauge identified by name
and values
(keyword list with the
correspondence between labels and values) to the amount of time spent
executing function
Sets the gauge identified by name
and values
(keyword list with the
correspondence between labels and values) to the current unix time
Sets the gauge identified by name
and values
(keyword list with the
correspondence between labels and values) to the number of the currently
executing function
Returns the value of the gauge identified by name
and values
(keyword list with the correspondence between labels and values)
Link to this section Functions
Decrements the gauge identified by name
and values
(keyword list with
the correspondence between labels and values) by value
. If value
happened
to be a float even one time(!) you shouldn’t use dec/3
after ddec/3
.
Decrements the gauge identified by name
and values
(keyword list with
the correspondence between labels and values) by value
.
Creates a gauge using the name
of a metric
. If the counter exists,
returns false.
Increments the gauge identified by name
and values
(keyword list with
the correspondence between labels and values) by value
. If value
happened
to be a float even one time(!) you shouldn’t use inc/3
after dinc/3
.
Increments the gauge identified by name
and values
(keyword list with
the correspondence between labels and values) by value
.
Creates a gauge using the name
of a metric.
Removes gauge series identified by name
and values
(keyword list with
the correspondence between labels and values).
Resets the value of the gauge identified by name
and values
(keyword list with the correspondence between labels and values).
Sets the gauge identified by name
and values
(keyword list with the
correspondence between labels and values) by value
.
Sets the gauge identified by name
and values
(keyword list with the
correspondence between labels and values) to the amount of time spent
executing function
.
Sets the gauge identified by name
and values
(keyword list with the
correspondence between labels and values) to the current unix time.
Sets the gauge identified by name
and values
(keyword list with the
correspondence between labels and values) to the number of the currently
executing function
.
Returns the value of the gauge identified by name
and values
(keyword list with the correspondence between labels and values).