Skip to content

Commit

Permalink
modify the metric name of processing_time.
Browse files Browse the repository at this point in the history
Signed-off-by: xtk8532704 <[email protected]>
  • Loading branch information
xtk8532704 committed Nov 12, 2024
1 parent 785cd34 commit 00be49a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void ProcessingTimeChecker::on_timer()

// generate MetricMsg
MetricMsg metric;
metric.name = processing_time_topic_name + "/processing_time";
metric.name = "processing_time/" + processing_time_topic_name;
metric.value = std::to_string(processing_time);
metric.unit = "millisecond";
metrics_msg.metric_array.push_back(metric);
Expand Down

0 comments on commit 00be49a

Please sign in to comment.