Skip to content

Commit a0d042d

Browse files
adding e2e tests to ensure sdn metrics
Adding e2e tests to make sure that the sdn metrics are exposed to prometheus correctly
1 parent b9c84a0 commit a0d042d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/extended/prometheus/prometheus.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ var _ = g.Describe("[Feature:Prometheus][Conformance] Prometheus", func() {
145145
targets.Expect(labels{"job": "alertmanager-main"}, "up", "^https://.*/metrics$"),
146146
targets.Expect(labels{"job": "crio"}, "up", "^http://.*/metrics$"),
147147
targets.Expect(labels{"job": "telemeter-client"}, "up", "^https://.*/metrics$"),
148+
targets.Expect(labels{"job": "sdn"}, "up", "^http://.*/metrics$"),
148149
)
149150
if len(lastErrs) > 0 {
150151
e2e.Logf("missing some targets: %v", lastErrs)

0 commit comments

Comments
 (0)