Skip to content

Commit 799883a

Browse files
Add running request metric to extractor test
1 parent 31f102c commit 799883a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkg/epp/datalayer/metrics/extractor_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,14 @@ func TestExtractorExtract(t *testing.T) {
107107
},
108108
},
109109
},
110+
defaultTotalRunningRequestsMetric: &dto.MetricFamily{
111+
Type: dto.MetricType_GAUGE.Enum(),
112+
Metric: []*dto.Metric{
113+
{
114+
Gauge: &dto.Gauge{Value: ptr.To(1.0)},
115+
},
116+
},
117+
},
110118
defaultKvCacheUsagePercentageMetric: &dto.MetricFamily{
111119
Type: dto.MetricType_GAUGE.Enum(),
112120
Metric: []*dto.Metric{

0 commit comments

Comments
 (0)