You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: A91-outlier-detection-metrics.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,9 +50,9 @@ The following metrics will be exported:
50
50
| grpc.lb.outlier_detection.ejections_enforced | Counter | {ejection} | grpc.target, grpc.lb.backend_service | Total enforced ejections due to any outlier type |
51
51
| grpc.lb.outlier_detection.ejections_overflow | Counter | {ejection} | grpc.target, grpc.lb.backend_service | Number of ejections aborted due to max ejection percentage |
| grpc.lb.outlier_detection.ejections_unenforced_success_rate| Counter | {ejection} | grpc.target, grpc.lb.backend_service |Unenforced success rate outlier ejections due to either max ejection percentage or enforcement_percentage|
| grpc.lb.outlier_detection.ejections_unenforced_failure_percentage| Counter | {ejection} | grpc.target, grpc.lb.backend_service |Unenforced failure percentage outlier ejections due to either max ejection percentage or enforcement_percentage|
56
56
57
57
On any detection and ejection/unejection, these metrics will be accordingly updated.
58
58
@@ -70,6 +70,8 @@ The metrics defined here are generally a trade-off between the usefulness
70
70
of the metric and the cost of reporting it. As the design goal is offering parity to envoy metrics,
71
71
we decided to include any metric that was appropriate to gRPC outlier detection.
72
72
73
+
One change from envoy metrics was instead of reporting all detected ejections (enforced or unenforced) for each algorithm type as its own metric, we opted to simply report enforced and unenforced ejections separately. This reduces cost of any detected outlier by 1 metric in the enforced case, and the unenforced count is more likely the direct information a user of the "detected" metric in Envoy is seeking.
74
+
73
75
## Implementation
74
76
75
77
Dropbox is able to contribute towards a Core and Go implementation, in that order. Implementation of remaining gRPC languages is left for respective gRPC team or other contributors.
0 commit comments