9 #define METRICS_STORE_ENTRY_PRIVATE
27 static char buf[1024];
30 if (smartlist_len(labels) == 0) {
void buf_add_printf(buf_t *buf, const char *format,...)
Headers for util_malloc.c.
const char * metrics_type_to_str(const metrics_type_t type)
int64_t metrics_store_entry_get_value(const metrics_store_entry_t *entry)
int tor_snprintf(char *str, size_t size, const char *format,...)
void prometheus_format_store_entry(const metrics_store_entry_t *entry, buf_t *data, bool no_comment)
static const char * format_labels(smartlist_t *labels)
Header for feature/metrics/prometheus.c.
char * smartlist_join_strings(smartlist_t *sl, const char *join, int terminate, size_t *len_out)
Macros to manage assertions, fatal and non-fatal.