Skip to content

Commit

Permalink
e2e: test more prometheus scrape targets
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom committed Apr 8, 2019
1 parent 2899b45 commit 394a3c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/extended/prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ var _ = g.Describe("[Feature:Prometheus][Conformance] Prometheus", func() {
targets.Expect(labels{"job": "kubelet"}, "up", "^https://.*/metrics$"),
targets.Expect(labels{"job": "kubelet"}, "up", "^https://.*/metrics/cadvisor$"),
targets.Expect(labels{"job": "node-exporter"}, "up", "^https://.*/metrics$"),
targets.Expect(labels{"job": "prometheus-operator"}, "up", "^http://.*/metrics$"),
targets.Expect(labels{"job": "alertmanager-main"}, "up", "^https://.*/metrics$"),
targets.Expect(labels{"job": "crio"}, "up", "^http://.*/metrics$"),
targets.Expect(labels{"job": "telemeter-client"}, "up", "^https://.*/metrics$"),
)
if len(lastErrs) > 0 {
e2e.Logf("missing some targets: %v", lastErrs)
Expand Down

0 comments on commit 394a3c3

Please sign in to comment.