summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2023-09-28 10:31:15 +0800
committerchenzizhan <[email protected]>2023-09-28 10:31:15 +0800
commit18f4423825ea67d83b16cdff88cc5d7bd179d158 (patch)
treec7064a770099b09a0f0b2a4871fbb7494f71d0fc /include
parentf1688d8980e052ca04b1945f273b554f9c8a295b (diff)
fuzz test for topk
Diffstat (limited to 'include')
-rw-r--r--include/fieldstat/fieldstat_exporter.h57
1 files changed, 0 insertions, 57 deletions
diff --git a/include/fieldstat/fieldstat_exporter.h b/include/fieldstat/fieldstat_exporter.h
index d095dd4..e846231 100644
--- a/include/fieldstat/fieldstat_exporter.h
+++ b/include/fieldstat/fieldstat_exporter.h
@@ -7,63 +7,6 @@
extern "C"
{
#endif
-/**
- * Create prometheus endpoint.
- * The operation should be executed in single-threaded fashion.
- * @param listen_port The endpoint listen port. i.e., 80,8080
- * @param url_path The endpoint url path. url path is "/metrics" when url path is NULL.
- * @return -1 is failed. 0 is success.
- */
-int fieldstat_global_enable_prometheus_endpoint(unsigned short listen_port, const char *url_path);
-/**
- * Enable fieldstat instance output prometheus
- * The operation should be executed in single-threaded fashion.
- * @param instance The fieldstat instance.
- * @return -1 is failed. 0 is success.
- */
-int fieldstat_enable_prometheus_output(struct fieldstat *instance);
-/**
- * Enable output metric to statsd server.
- * The operation should be executed in single-threaded fashion.
- * @param instance The fieldstat instance.
- * @param ip Statsd server ip.
- * @param port Statsd server port. i.e., 80,8080
- * @return -1 is failed. 0 is success.
- */
-int fieldstat_set_statsd_server(struct fieldstat *instance, const char *ip, unsigned short port);
-/**
- * Enable output metric to line protocol server.
- * The operation should be executed in single-threaded fashion.
- * @param instance The fieldstat instance.
- * @param ip Line protocol server ip.
- * @param port Line protocol server port. i.e., 80,8080
- * @return -1 is failed. 0 is success.
- */
-int fieldstat_set_line_protocol_server(struct fieldstat *instance, const char *ip, unsigned short port);
-/**
- * Enable output metric to file.
- * The operation should be executed in single-threaded fashion.
- * @param instance The fieldstat instance.
- * @param filename The output target filename.
- * @param format The output format. value in {"json","default"}
- * @return -1 is failed. 0 is success.
- */
-int fieldstat_set_local_output(struct fieldstat *instance, const char *filename, const char *format);
-/**
- * Disable the background thread.
- * The operation should be executed in single-threaded fashion.
- * @param instance The fieldstat instance.
- * @return -1 is failed. 0 is success.
- */
-int fieldstat_disable_background_thread(struct fieldstat *instance);
-/**
- * Set the output interval in milliseconds
- * The operation should be executed in single-threaded fashion.
- * @param seconds In milliseconds.
- * @return -1 is failed. 0 is success.
- */
-int fieldstat_set_output_interval(struct fieldstat *instance, int milliseconds);
-
/* -------------------------------------------------------------------------- */
/* fieldstat_json_exporter */