diff options
Diffstat (limited to 'exporting/prometheus/prometheus.h')
-rw-r--r-- | exporting/prometheus/prometheus.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/exporting/prometheus/prometheus.h b/exporting/prometheus/prometheus.h index b947633deb..85bcc7a7f8 100644 --- a/exporting/prometheus/prometheus.h +++ b/exporting/prometheus/prometheus.h @@ -23,10 +23,10 @@ typedef enum prometheus_output_flags { } PROMETHEUS_OUTPUT_OPTIONS; extern void rrd_stats_api_v1_charts_allmetrics_prometheus_single_host( - struct instance *instance, RRDHOST *host, BUFFER *wb, const char *server, const char *prefix, + RRDHOST *host, BUFFER *wb, const char *server, const char *prefix, EXPORTING_OPTIONS exporting_options, PROMETHEUS_OUTPUT_OPTIONS output_options); extern void rrd_stats_api_v1_charts_allmetrics_prometheus_all_hosts( - struct instance *instance, RRDHOST *host, BUFFER *wb, const char *server, const char *prefix, + RRDHOST *host, BUFFER *wb, const char *server, const char *prefix, EXPORTING_OPTIONS exporting_options, PROMETHEUS_OUTPUT_OPTIONS output_options); int can_send_rrdset(struct instance *instance, RRDSET *st); @@ -34,4 +34,6 @@ size_t prometheus_name_copy(char *d, const char *s, size_t usable); size_t prometheus_label_copy(char *d, const char *s, size_t usable); char *prometheus_units_copy(char *d, const char *s, size_t usable, int showoldunits); +void format_host_labels_prometheus(struct instance *instance, RRDHOST *host); + #endif //NETDATA_EXPORTING_PROMETHEUS_H |