summaryrefslogtreecommitdiff
path: root/include/fieldstat/fieldstat.h
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2024-07-02 15:36:01 +0800
committerchenzizhan <[email protected]>2024-07-02 15:36:01 +0800
commitd59c49638d324597b78793edc2169c151bb943a4 (patch)
treeaa40ec6691a0f158356e79e8ecedeeb70de47afa /include/fieldstat/fieldstat.h
parent1c77a52523b730fe2dc3a81f6531e7b3f08a232b (diff)
dynamic metric array do not record metric cnt anymore
Diffstat (limited to 'include/fieldstat/fieldstat.h')
-rw-r--r--include/fieldstat/fieldstat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fieldstat/fieldstat.h b/include/fieldstat/fieldstat.h
index 0fd42b1..be78ab4 100644
--- a/include/fieldstat/fieldstat.h
+++ b/include/fieldstat/fieldstat.h
@@ -151,7 +151,7 @@ int fieldstat_hll_add(struct fieldstat *instance, int cube_id, int metric_id, co
* @return FS_OK if success. FS_ERR_NULL_HANDLER, FS_ERR_INVALID_CUBE_ID, FS_ERR_INVALID_METRIC_ID if fail.
* FS_ERR_INVALID_PARAM when value is less than 0, or the cube is topk.
*/
-int fieldstat_hist_record(struct fieldstat *instance, int cube_id, int metric_id, const struct fieldstat_tag *tags, size_t n_tag, long long value); // TODO: 看看能不能改成histogram(重命名)。
+int fieldstat_hist_record(struct fieldstat *instance, int cube_id, int metric_id, const struct fieldstat_tag *tags, size_t n_tag, long long value);
/*
* @brief Delete all the cells, also the content of every metrics. The cube and metrics are not deleted. Increase cell_version by 1.