|
libprom
@VERSION@
C based libraries to expose metrics in Promtheus exposition format
|
Functions for interfacting with metric samples directly. More...

Go to the source code of this file.
Typedefs | |
| typedef struct pms | pms_t |
| Contains the specific metric and value given the name and label set. More... | |
Functions | |
| int | pms_add (pms_t *self, double r_value) |
| Add the given r_value to the given sample. More... | |
| int | pms_sub (pms_t *self, double r_value) |
| Subtract the given r_value from the given sample. More... | |
| int | pms_set (pms_t *self, double r_value) |
| Set the given r_value to the given ample. More... | |
Functions for interfacting with metric samples directly.
| typedef struct pms pms_t |
Contains the specific metric and value given the name and label set.
| int pms_add | ( | pms_t * | self, |
| double | r_value | ||
| ) |
Add the given r_value to the given sample.
| self | Where to add the given value. |
| r_value | Value to add. Must be >= 0. |
0 otherwise. | int pms_set | ( | pms_t * | self, |
| double | r_value | ||
| ) |
Set the given r_value to the given ample.
| self | Where to set the given value. |
| r_value | Value to set. |
0 otherwise. | int pms_sub | ( | pms_t * | self, |
| double | r_value | ||
| ) |
Subtract the given r_value from the given sample.
| self | Where to add the given value. |
| r_value | Value to substract. |
0 otherwise.
1.8.13