7#ifndef ZEPHYR_INCLUDE_PROMETHEUS_GAUGE_H_
8#define ZEPHYR_INCLUDE_PROMETHEUS_GAUGE_H_
60#define PROMETHEUS_GAUGE_DEFINE(_name, _detail) \
61 static STRUCT_SECTION_ITERABLE(prometheus_gauge, _name) = {.base = (void *)(_detail), \
int prometheus_gauge_set(struct prometheus_gauge *gauge, double value)
Set the value of a Prometheus gauge metric.
Prometheus metric interface.
Type used to represent a Prometheus gauge metric.
Definition gauge.h:28
struct prometheus_metric * base
Base of the Prometheus gauge metric.
Definition gauge.h:30
double value
Value of the Prometheus gauge metric.
Definition gauge.h:32
Type used to represent a Prometheus metric base.
Definition metric.h:48