Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
prometheus_histogram Struct Reference

Type used to represent a Prometheus histogram metric. More...

#include <histogram.h>

Data Fields

struct prometheus_metric base
 Base of the Prometheus histogram metric.
 
struct prometheus_histogram_bucketbuckets
 Array of buckets in the histogram.
 
size_t num_buckets
 Number of buckets in the histogram.
 
double sum
 Sum of all observed values in the histogram.
 
unsigned long count
 Total count of observations in the histogram.
 
void * user_data
 User data.
 

Detailed Description

Type used to represent a Prometheus histogram metric.

Field Documentation

◆ base

struct prometheus_metric prometheus_histogram::base

Base of the Prometheus histogram metric.

◆ buckets

struct prometheus_histogram_bucket* prometheus_histogram::buckets

Array of buckets in the histogram.

◆ count

unsigned long prometheus_histogram::count

Total count of observations in the histogram.

◆ num_buckets

size_t prometheus_histogram::num_buckets

Number of buckets in the histogram.

◆ sum

double prometheus_histogram::sum

Sum of all observed values in the histogram.

◆ user_data

void* prometheus_histogram::user_data

User data.


The documentation for this struct was generated from the following file: