libprom
@VERSION@
C based libraries to expose metrics in Promtheus exposition format
|
Go to the documentation of this file.
32 #define NaN (0.0f / 0.0f)
83 #endif // PROM_METRIC_H
pms_t * pms_from_labels(prom_metric_t *self, const char **label_values)
Get a prom metric sample by label values.
Functions for interfacting with metric samples directly.
struct prom_metric prom_metric_t
A prometheus metric.
Definition: prom_metric.h:43
Functions for interacting with histogram metric samples directly.
struct pms pms_t
Contains the specific metric and value given the name and label set.
Definition: prom_metric_sample.h:33
pms_histogram_t * pms_histogram_from_labels(prom_metric_t *self, const char **label_values)
Get a prom histogram metric sample by label values.
struct pms_histogram pms_histogram_t
A histogram metric sample.
Definition: prom_metric_sample_histogram.h:30