Skip to content

Commit

Permalink
Merge pull request #5599 from BenPope/new-rest-error-metrics-ben-2
Browse files Browse the repository at this point in the history
pandaproxy: Initialize error metrics to 0
  • Loading branch information
dotnwat committed Jul 23, 2022
2 parents 7135051 + 551b2e5 commit 350c439
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/v/pandaproxy/probe.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ class http_status_metric {
auto auto_measure() { return measurement{this, _hist.auto_measure()}; }

hdr_hist _hist;
int64_t _5xx_count;
int64_t _4xx_count;
int64_t _3xx_count;
int64_t _5xx_count{0};
int64_t _4xx_count{0};
int64_t _3xx_count{0};
};

class probe {
Expand Down

0 comments on commit 350c439

Please sign in to comment.