Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndris Zeila <andris.zeila@zabbix.com>2021-12-02 01:06:33 +0300
committerAndris Zeila <andris.zeila@zabbix.com>2021-12-02 01:06:33 +0300
commit6317d366b0372b91f44758cf0124d3feed8da721 (patch)
treec8d8d417d721b0116426b1b8bc2fb069a3669ee7 /include/zbxprometheus.h
parent8eafa5283b438773c4f1a7d3461d91434ccca019 (diff)
........S. [ZBXNEXT-7049] updated prometheus pattern preprocessing/tests to support new parameter format
Diffstat (limited to 'include/zbxprometheus.h')
-rw-r--r--include/zbxprometheus.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/zbxprometheus.h b/include/zbxprometheus.h
index e999c3e7f8b..8b79eb82ab5 100644
--- a/include/zbxprometheus.h
+++ b/include/zbxprometheus.h
@@ -22,8 +22,8 @@
#include "zbxalgo.h"
-int zbx_prometheus_pattern(const char *data, const char *filter_data, const char *output, char **value,
- char **error);
+int zbx_prometheus_pattern(const char *data, const char *filter_data, const char *request, const char *output,
+ char **value, char **error);
int zbx_prometheus_to_json(const char *data, const char *filter_data, char **value, char **error);
int zbx_prometheus_validate_filter(const char *pattern, char **error);
@@ -38,7 +38,7 @@ zbx_prometheus_t;
int zbx_prometheus_init(zbx_prometheus_t *prom, const char *data, char **error);
void zbx_prometheus_clear(zbx_prometheus_t *prom);
-int zbx_prometheus_pattern_ex(zbx_prometheus_t *prom, const char *filter_data, const char *output, char **value,
- char **error);
+int zbx_prometheus_pattern_ex(zbx_prometheus_t *prom, const char *filter_data, const char *request,
+ const char *output, char **value, char **error);
#endif