e2e monitoring metrics: Verify if etcd is scraped
This commit adds metrics monitoring e2e test to verify that etcd metrics
are being scraped into Prometheus.
@@ -70,6 +70,11 @@ func testComponentsPrometheusMetrics(t *testing.T, v1api v1.API) {
query: "kubelet_running_pod_count",
platforms: selfHostedPlatforms,
},
+ {
+ componentName: "etcd",
+ query: "etcd_server_has_leader",
+ platforms: selfHostedPlatforms,
+ },
{
componentName: "metallb",
query: "metallb_bgp_session_up",
