]> git.feebdaed.xyz Git - 0xmirror/grpc-go.git/commit
outlierdetection: add metrics specified in gRFC A91 (#8644)
authorSotiris Nanopoulos <sotiris.nanopoulos@reddit.com>
Tue, 21 Oct 2025 19:15:11 +0000 (15:15 -0400)
committerGitHub <noreply@github.com>
Tue, 21 Oct 2025 19:15:11 +0000 (00:45 +0530)
commit58d4b2b1492dbcfdf26daa7ed93830ebb871faf1
treea8a21da6f4f15f4236b5a304f5cad701d8c06c11
parent2b35fa5fb8e29f04d94a3c1bae56422fa8ec8a75
outlierdetection: add metrics specified in gRFC A91 (#8644)

Implements gRFC A91:
https://github.com/grpc/proposal/blob/master/A91-outlier-detection-metrics.md

### Notable implementation detals
* `grpc.lb.backend_service` is not implemented yet (marked as optional
in the gRFC)
* modifies the tests to make sure we can cover all the cases for
`enforced`/`unenforced` without repeating the test setup.

RELEASE NOTES:

* outlierdetection: add metrics for enforced
(grpc.lb.outlier_detection.ejections_enforced) and unenforced
(grpc.lb.outlier_detection.ejections_unenforced) outlier ejections.

---------

Signed-off-by: sotiris <sotiris.nanopoulos@reddit.com>
Co-authored-by: Pardhu Konakanchi <pardhukonakanchi@berkeley.edu>
Co-authored-by: Pardhu Konakanchi <46410151+PardhuKonakanchi@users.noreply.github.com>
Co-authored-by: eshitachandwani <59800922+eshitachandwani@users.noreply.github.com>
internal/xds/balancer/outlierdetection/balancer.go
internal/xds/balancer/outlierdetection/balancer_test.go