summaryrefslogtreecommitdiff
path: root/src/exporter/cjson_exporter.c
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2024-07-17 10:35:24 +0800
committerchenzizhan <[email protected]>2024-07-17 10:35:24 +0800
commit6595cbbde1280b6c7d3c445697e39aa18fa9741f (patch)
tree0fe9af32b13926b6aa8682337b500012ddecafca /src/exporter/cjson_exporter.c
parentc488da1f8346baf8d5a0260da9c5934c8dfdfbef (diff)
primary metric in spreadsketch/heavykeeper
Diffstat (limited to 'src/exporter/cjson_exporter.c')
-rw-r--r--src/exporter/cjson_exporter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exporter/cjson_exporter.c b/src/exporter/cjson_exporter.c
index 1606df5..6a52c6a 100644
--- a/src/exporter/cjson_exporter.c
+++ b/src/exporter/cjson_exporter.c
@@ -542,7 +542,7 @@ struct export_kv_pair *cell_query_with_iter(const struct cell_iter *iter, int me
if (type == METRIC_TYPE_HLL || type == METRIC_TYPE_HISTOGRAM) {
char *value;
size_t len;
- fieldstat_get_serialized_blob(iter->instance, cube_id, metric_id, &iter->tag_list[iter->curr_cell_idx], &value, &len);
+ fieldstat_metric_get_serialization_as_base64(iter->instance, cube_id, metric_id, &iter->tag_list[iter->curr_cell_idx], &value, &len);
if (value == NULL) {
return NULL;
}