openmetrics 0.2.0
-
Add
push_to_gateway()
anddelete_from_gateway()
for manually pushing metrics to a Prometheus Pushgateway instance. -
Histogram metrics now have a built-in
time()
method for collecting observations on the duration of an expression. -
The built-in
process_cpu_seconds_total
metric is now correctly reported as a Counter instead of a Gauge. This fixes an inconsistency with other Prometheus clients that would prevent metrics being used with Pushgateway.