Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
Type used to represent a Prometheus metric base. More...
#include <metric.h>
Data Fields | |
enum prometheus_metric_type | type |
Type of the Prometheus metric. | |
char | name [32] |
Name of the Prometheus metric. | |
char | description [64] |
Description of the Prometheus metric. | |
struct prometheus_label | labels [MAX_PROMETHEUS_LABELS_PER_METRIC] |
Labels associated with the Prometheus metric. | |
int | num_labels |
Number of labels associated with the Prometheus metric. | |
Type used to represent a Prometheus metric base.
Every metric has a prometheus_metric structure associated used to control the metric access and usage.
char prometheus_metric::description[64] |
Description of the Prometheus metric.
struct prometheus_label prometheus_metric::labels[MAX_PROMETHEUS_LABELS_PER_METRIC] |
Labels associated with the Prometheus metric.
char prometheus_metric::name[32] |
Name of the Prometheus metric.
int prometheus_metric::num_labels |
Number of labels associated with the Prometheus metric.
enum prometheus_metric_type prometheus_metric::type |
Type of the Prometheus metric.