Skip to content

Commit 894cb3a

Browse files
Update A91-outlier-detection-metrics.md
Added backend_service optional label
1 parent a92809a commit 894cb3a

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

A91-outlier-detection-metrics.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,21 @@ Outlier Detection metrics will have the following labels:
3131
| Name | Disposition | Description |
3232
| ----------- | ----------- | ----------- |
3333
| grpc.target | required | Indicates the target we are running outlier detection on. (Same as the attribute defined in [A66](https://github.com/grpc/proposal/blob/master/A66-otel-stats.md).) |
34+
| grpc.lb.backend_service | optional | The backend service to which the traffic is being sent. This is relevant when a single channel target can be sent to different sets of servers. When using xDS, this will be the cluster name. When not relevant, the value will be the empty string.
35+
36+
Note that `grpc.lb.backend_service` will not be supported as a label until completion of [A75](https://github.com/grpc/proposal/blob/master/A75-xds-aggregate-cluster-behavior-fixes.md)
3437

3538
The following metrics will be exported:
3639

3740
| Name | Type | Unit | Labels | Description |
3841
| ------------- | ----- | ----- | ------- | ----------- |
39-
| grpc.lb.outlier_detection.ejections_enforced_total | Counter | {ejection} | grpc.target | Total enforced ejections due to any outlier type |
40-
| grpc.lb.outlier_detection.ejections_active | Gauge | {ejection} | grpc.target | Number of currently ejected hosts |
41-
| grpc.lb.outlier_detection.ejections_overflow | Counter | {ejection} | grpc.target | Number of ejections aborted due to max ejection percentage |
42-
| grpc.lb.outlier_detection.ejections_enforced_success_rate | Counter | {ejection} | grpc.target | Enforced success rate outlier ejections |
43-
| grpc.lb.outlier_detection.ejections_detected_success_rate | Counter | {ejection} | grpc.target | Detected (even if unenforced) success rate outlier ejections |
44-
| grpc.lb.outlier_detection.ejections_enforced_failure_percentage | Counter | {ejection} | grpc.target | Enforced failure percentage outlier ejections |
45-
| grpc.lb.outlier_detection.ejections_detected_failure_percentage | Counter | {ejection} | grpc.target | Detected (even if unenforced) failure percentage outlier ejections |
42+
| grpc.lb.outlier_detection.ejections_enforced_total | Counter | {ejection} | grpc.target, grpc.lb.backend_service | Total enforced ejections due to any outlier type |
43+
| grpc.lb.outlier_detection.ejections_active | Gauge | {ejection} | grpc.target, grpc.lb.backend_service | Number of currently ejected hosts |
44+
| grpc.lb.outlier_detection.ejections_overflow | Counter | {ejection} | grpc.target, grpc.lb.backend_service | Number of ejections aborted due to max ejection percentage |
45+
| grpc.lb.outlier_detection.ejections_enforced_success_rate | Counter | {ejection} | grpc.target, grpc.lb.backend_service | Enforced success rate outlier ejections |
46+
| grpc.lb.outlier_detection.ejections_detected_success_rate | Counter | {ejection} | grpc.target, grpc.lb.backend_service | Detected (even if unenforced) success rate outlier ejections |
47+
| grpc.lb.outlier_detection.ejections_enforced_failure_percentage | Counter | {ejection} | grpc.target, grpc.lb.backend_service | Enforced failure percentage outlier ejections |
48+
| grpc.lb.outlier_detection.ejections_detected_failure_percentage | Counter | {ejection} | grpc.target, grpc.lb.backend_service | Detected (even if unenforced) failure percentage outlier ejections |
4649

4750
On any ejection/unejection, these metrics will be accordingly updated using globally available metric recorder.
4851

0 commit comments

Comments
 (0)