diff options
| author | chenzizhan <[email protected]> | 2024-01-03 10:02:17 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2024-01-03 10:02:17 +0800 |
| commit | d84dbcfd6c26c1ffcc7f0c81f6cca5f07246d8b9 (patch) | |
| tree | 902a395f7f13d8e2978371f035c76450cf781035 /src/fieldstat.c | |
| parent | 8b48e41d611e73615bc8d8fa290032fc38378dcf (diff) | |
增强可定位性,临时版本
Diffstat (limited to 'src/fieldstat.c')
| -rw-r--r-- | src/fieldstat.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/fieldstat.c b/src/fieldstat.c index b62ea39..6e37a36 100644 --- a/src/fieldstat.c +++ b/src/fieldstat.c @@ -585,11 +585,6 @@ int check_before_add(const struct fieldstat *instance, int cube_id, int metric_i int fieldstat_counter_incrby(struct fieldstat *instance, int cube_id, int metric_id, const struct fieldstat_tag *tags, size_t n_tag, long long increment) { - -// todo: 可能可以在每次操作的时候,都和之前比一次cell id对应的tag,如果tag对上了,就沿用上次的cell id。 -// 也许吧。 -// 作为一个方案,看看情况 - int ret = check_before_add(instance, cube_id, metric_id, METRIC_TYPE_COUNTER); if (ret != FS_OK) { return ret; |
