summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2024-07-08 10:56:59 +0800
committerchenzizhan <[email protected]>2024-07-08 10:56:59 +0800
commit722993e93a3843a6240a716b2eaead585c103735 (patch)
tree6be5544e6e0670d0218988cc77bb1d9ea141e4db /include
parent4083cad56dfeac683832e93b1d8a295304aa8ea1 (diff)
fieldstat_hll_add_tag
Diffstat (limited to 'include')
-rw-r--r--include/fieldstat/fieldstat.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/fieldstat/fieldstat.h b/include/fieldstat/fieldstat.h
index b30be53..941b89c 100644
--- a/include/fieldstat/fieldstat.h
+++ b/include/fieldstat/fieldstat.h
@@ -135,9 +135,8 @@ int fieldstat_counter_set(struct fieldstat *instance, int cube_id, int metric_id
* Since topk only support counter, FS_ERR_INVALID_PARAM is returned when the cube is topk.
*/
int fieldstat_hll_add(struct fieldstat *instance, int cube_id, int metric_id, const struct fieldstat_tag *tags, size_t n_tag, const char *key, size_t key_len);
+int fieldstat_hll_add_tag(struct fieldstat *instance, int cube_id, int metric_id, const struct fieldstat_tag *tags, size_t n_tag, const struct fieldstat_tag *tags_key, size_t n_tag_key);
-// TODO: 增加:
-// int fieldstat_hll_add(struct fieldstat *instance, int cube_id, int metric_id, const struct fieldstat_tag *tags, size_t n_tag, const struct fieldstat_tag *tags, size_t n_tag);
/*
* @brief Add a value to the histogram metric of cell_id. Histogram will record the distribution of the values.