Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
summary.h File Reference

Prometheus summary 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_summary_quantile
 Prometheus summary quantile definition. More...
 
struct  prometheus_summary
 Type used to represent a Prometheus summary metric. More...
 

Macros

#define PROMETHEUS_SUMMARY_DEFINE(_name, _desc, _label, _collector, ...)
 Prometheus Summary definition.
 

Functions

int prometheus_summary_observe (struct prometheus_summary *summary, double value)
 Observes a value in a Prometheus summary metric.
 
int prometheus_summary_observe_set (struct prometheus_summary *summary, double value, unsigned long count)
 Set the summary value to specific value.
 

Detailed Description

Prometheus summary APIs.