mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
The code that we are reusing from metrics-server to call GetContainerMetrics and GetNodeMetrics requires that both functions returns arrays of lengths of the number of pods/nodes given as arguments. In some cases, prometheus-adapter was returning nil which caused panics in metrics-server code. Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com> |
||
|---|---|---|
| .. | ||
| api | ||
| client | ||
| config | ||
| custom-provider | ||
| external-provider | ||
| naming | ||
| resourceprovider | ||