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
Description: "EXPERIMENTAL. Number of LB picks sent to each RLS target. Note that if the default target is also returned by the RLS server, RPCs sent to that target from the cache will be counted in this metric, not in grpc.rls.default_target_picks.",
Copy file name to clipboardExpand all lines: balancer/rls/metrics_test.go
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ func (s) TestRLSTargetPickMetric(t *testing.T) {
90
90
{
91
91
Name: "grpc.lb.rls.target_picks",
92
92
Description: "EXPERIMENTAL. Number of LB picks sent to each RLS target. Note that if the default target is also returned by the RLS server, RPCs sent to that target from the cache will be counted in this metric, not in grpc.rls.default_target_picks.",
93
-
Unit: "pick",
93
+
Unit: "{pick}",
94
94
Data: metricdata.Sum[int64]{
95
95
DataPoints: []metricdata.DataPoint[int64]{
96
96
{
@@ -107,7 +107,7 @@ func (s) TestRLSTargetPickMetric(t *testing.T) {
107
107
{
108
108
Name: "grpc.lb.rls.cache_entries",
109
109
Description: "EXPERIMENTAL. Number of entries in the RLS cache.",
110
-
Unit: "entry",
110
+
Unit: "{entry}",
111
111
Data: metricdata.Gauge[int64]{
112
112
DataPoints: []metricdata.DataPoint[int64]{
113
113
{
@@ -201,7 +201,7 @@ func (s) TestRLSDefaultTargetPickMetric(t *testing.T) {
201
201
{
202
202
Name: "grpc.lb.rls.default_target_picks",
203
203
Description: "EXPERIMENTAL. Number of LB picks sent to the default target.",
204
-
Unit: "pick",
204
+
Unit: "{pick}",
205
205
Data: metricdata.Sum[int64]{
206
206
DataPoints: []metricdata.DataPoint[int64]{
207
207
{
@@ -218,7 +218,7 @@ func (s) TestRLSDefaultTargetPickMetric(t *testing.T) {
218
218
{
219
219
Name: "grpc.lb.rls.cache_entries",
220
220
Description: "EXPERIMENTAL. Number of entries in the RLS cache.",
221
-
Unit: "entry",
221
+
Unit: "{entry}",
222
222
Data: metricdata.Gauge[int64]{
223
223
DataPoints: []metricdata.DataPoint[int64]{
224
224
{
@@ -299,7 +299,7 @@ func (s) TestRLSFailedRPCMetric(t *testing.T) {
299
299
{
300
300
Name: "grpc.lb.rls.failed_picks",
301
301
Description: "EXPERIMENTAL. Number of LB picks failed due to either a failed RLS request or the RLS channel being throttled.",
302
-
Unit: "pick",
302
+
Unit: "{pick}",
303
303
Data: metricdata.Sum[int64]{
304
304
DataPoints: []metricdata.DataPoint[int64]{
305
305
{
@@ -315,7 +315,7 @@ func (s) TestRLSFailedRPCMetric(t *testing.T) {
315
315
{
316
316
Name: "grpc.lb.rls.cache_entries",
317
317
Description: "EXPERIMENTAL. Number of entries in the RLS cache.",
Description: "EXPERIMENTAL. Number of scheduler updates in which there were not enough endpoints with valid weight, which caused the WRR policy to fall back to RR behavior.",
Description: "EXPERIMENTAL. Number of endpoints from each scheduler update that don't yet have usable weight information (i.e., either the load report has not yet been received, or it is within the blackout period).",
Description: "EXPERIMENTAL. Weight of each endpoint, recorded on every scheduler update. Endpoints without usable weights will be recorded as weight 0.",
0 commit comments