Skip to content

Commit 0375368

Browse files
committed
histogram: fix logger parameters (CID 507881 507669)
Signed-off-by: Eduardo Silva <[email protected]>
1 parent 7ec7f46 commit 0375368

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/cmt_histogram.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,8 @@ int cmt_histogram_observe(struct cmt_histogram *histogram, uint64_t timestamp,
341341
metric = histogram_get_metric(histogram, labels_count, label_vals);
342342
if (!metric) {
343343
cmt_log_error(histogram->cmt,
344-
"unable to retrieve metric: %s for histogram %s_%s_%s",
345-
histogram->map, histogram->opts.ns, histogram->opts.subsystem,
344+
"unable to retrieve metric for histogram %s_%s_%s",
345+
histogram->opts.ns, histogram->opts.subsystem,
346346
histogram->opts.name);
347347
return -1;
348348
}
@@ -381,8 +381,8 @@ int cmt_histogram_set_default(struct cmt_histogram *histogram,
381381
metric = histogram_get_metric(histogram, labels_count, label_vals);
382382
if (!metric) {
383383
cmt_log_error(histogram->cmt,
384-
"unable to retrieve metric: %s for histogram %s_%s_%s",
385-
histogram->map, histogram->opts.ns, histogram->opts.subsystem,
384+
"unable to retrieve metric for histogram %s_%s_%s",
385+
histogram->opts.ns, histogram->opts.subsystem,
386386
histogram->opts.name);
387387
return -1;
388388
}

0 commit comments

Comments
 (0)