summaryrefslogtreecommitdiffstats
path: root/exporting/prometheus/prometheus.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:19:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 12:07:37 +0000
commitb485aab7e71c1625cfc27e0f92c9509f42378458 (patch)
treeae9abe108601079d1679194de237c9a435ae5b55 /exporting/prometheus/prometheus.h
parentAdding upstream version 1.44.3. (diff)
downloadnetdata-b485aab7e71c1625cfc27e0f92c9509f42378458.tar.xz
netdata-b485aab7e71c1625cfc27e0f92c9509f42378458.zip
Adding upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'exporting/prometheus/prometheus.h')
-rw-r--r--exporting/prometheus/prometheus.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/exporting/prometheus/prometheus.h b/exporting/prometheus/prometheus.h
deleted file mode 100644
index e80b682ae..000000000
--- a/exporting/prometheus/prometheus.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// SPDX-License-Identifier: GPL-3.0-or-later
-
-#ifndef NETDATA_EXPORTING_PROMETHEUS_H
-#define NETDATA_EXPORTING_PROMETHEUS_H 1
-
-#include "exporting/exporting_engine.h"
-
-#define PROMETHEUS_ELEMENT_MAX 256
-#define PROMETHEUS_LABELS_MAX 1024
-#define PROMETHEUS_VARIABLE_MAX 256
-
-#define PROMETHEUS_LABELS_MAX_NUMBER 128
-
-typedef enum prometheus_output_flags {
- PROMETHEUS_OUTPUT_NONE = 0,
- PROMETHEUS_OUTPUT_HELP = (1 << 0),
- PROMETHEUS_OUTPUT_TYPES = (1 << 1),
- PROMETHEUS_OUTPUT_NAMES = (1 << 2),
- PROMETHEUS_OUTPUT_TIMESTAMPS = (1 << 3),
- PROMETHEUS_OUTPUT_VARIABLES = (1 << 4),
- PROMETHEUS_OUTPUT_OLDUNITS = (1 << 5),
- PROMETHEUS_OUTPUT_HIDEUNITS = (1 << 6)
-} PROMETHEUS_OUTPUT_OPTIONS;
-
-void rrd_stats_api_v1_charts_allmetrics_prometheus_single_host(
- RRDHOST *host, const char *filter_string, BUFFER *wb, const char *server, const char *prefix,
- EXPORTING_OPTIONS exporting_options, PROMETHEUS_OUTPUT_OPTIONS output_options);
-void rrd_stats_api_v1_charts_allmetrics_prometheus_all_hosts(
- RRDHOST *host, const char *filter_string, 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, SIMPLE_PATTERN *filter);
-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);
-
-void prometheus_clean_server_root();
-
-#endif //NETDATA_EXPORTING_PROMETHEUS_H