Skip to content

Commit 939face

Browse files
committed
pandaproxy: add request_errors_total metric to interal metrics
1 parent b90c9f0 commit 939face

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/v/pandaproxy/probe.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,10 @@ void probe::setup_metrics() {
110110
if (!config::shard_local_cfg().disable_metrics()) {
111111
_metrics.add_group(
112112
"pandaproxy",
113-
{make_internal_request_latency(internal_labels)},
113+
{make_internal_request_latency(internal_labels),
114+
make_request_errors_total_5xx(internal_labels),
115+
make_request_errors_total_4xx(internal_labels),
116+
make_request_errors_total_3xx(internal_labels)},
114117
{},
115118
internal_labels.agg);
116119
}

0 commit comments

Comments
 (0)