Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
histogram.h File Reference

Prometheus histogram APIs. More...

#include <zephyr/sys/iterable_sections.h>
#include <zephyr/net/prometheus/metric.h>
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  prometheus_histogram_bucket
 Prometheus histogram bucket definition. More...
 
struct  prometheus_histogram
 Type used to represent a Prometheus histogram metric. More...
 

Macros

#define PROMETHEUS_HISTOGRAM_DEFINE(_name, _detail)
 Prometheus Histogram definition.
 

Functions

int prometheus_histogram_observe (struct prometheus_histogram *histogram, double value)
 Observe a value in a Prometheus histogram metric.
 

Detailed Description

Prometheus histogram APIs.