7#ifndef ZEPHYR_INCLUDE_PROMETHEUS_COUNTER_H_
8#define ZEPHYR_INCLUDE_PROMETHEUS_COUNTER_H_
61#define PROMETHEUS_COUNTER_DEFINE(_name, _detail) \
62 static STRUCT_SECTION_ITERABLE(prometheus_counter, _name) = {.base = (void *)(_detail), \
int prometheus_counter_inc(struct prometheus_counter *counter)
Increment the value of a Prometheus counter metric Increments the value of the specified counter metr...
Prometheus metric interface.
__UINT64_TYPE__ uint64_t
Definition stdint.h:91
Type used to represent a Prometheus counter metric.
Definition counter.h:30
uint64_t value
Value of the Prometheus counter metric.
Definition counter.h:34
struct prometheus_metric * base
Base of the Prometheus counter metric.
Definition counter.h:32
Type used to represent a Prometheus metric base.
Definition metric.h:48