Skip to content

Commit

Permalink
redpanda: Make redpanda_cpu_busy_seconds_total a counter
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Pope <ben@redpanda.com>
(cherry picked from commit cd18d3c)
  • Loading branch information
BenPope authored and vbotbuildovich committed Nov 13, 2023
1 parent 9020cb8 commit 7fffb8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v/redpanda/application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ void application::setup_public_metrics() {
.invoke_on_all([](auto& public_metrics) {
public_metrics.groups.add_group(
"cpu",
{sm::make_gauge(
{sm::make_counter(
"busy_seconds_total",
[] {
return std::chrono::duration<double>(
Expand Down

0 comments on commit 7fffb8b

Please sign in to comment.