Skip to content

Commit

Permalink
pandaproxy: add request_errors_total metric to interal metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
IoannisRP committed Dec 13, 2024
1 parent b90c9f0 commit 939face
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/v/pandaproxy/probe.cc
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ void probe::setup_metrics() {
if (!config::shard_local_cfg().disable_metrics()) {
_metrics.add_group(
"pandaproxy",
{make_internal_request_latency(internal_labels)},
{make_internal_request_latency(internal_labels),
make_request_errors_total_5xx(internal_labels),
make_request_errors_total_4xx(internal_labels),
make_request_errors_total_3xx(internal_labels)},
{},
internal_labels.agg);
}
Expand Down

0 comments on commit 939face

Please sign in to comment.