Merge pull request #73946 from dashpole/prometheus_core_metrics

Add kubelet resource metrics v1alpha1 endpoint
This commit is contained in:
Kubernetes Prow Robot
2019-03-07 22:43:28 -08:00
committed by GitHub
103 changed files with 156129 additions and 348 deletions

View File

@@ -148,7 +148,7 @@ func checkIfNvidiaGPUsExistOnNode() bool {
}
func logDevicePluginMetrics() {
ms, err := metrics.GrabKubeletMetricsWithoutProxy(framework.TestContext.NodeName + ":10255")
ms, err := metrics.GrabKubeletMetricsWithoutProxy(framework.TestContext.NodeName+":10255", "/metrics")
framework.ExpectNoError(err)
for msKey, samples := range ms {
switch msKey {