VictoriaMetrics/lib/promscrape/discovery/kubernetes
Lu Jiajing b59164cf33
fix access to nil *url.URL (#1180)
* fix access to nil *url.URL

Signed-off-by: Megrez Lu <lujiajing1126@gmail.com>

* Update lib/promscrape/discovery/kubernetes/api_watcher.go

Co-authored-by: Aliaksandr Valialkin <valyala@gmail.com>
2021-04-05 22:25:31 +03:00
..
api.go lib/promscrape/discovery/kubernetes: reduce CPU time spent on registering big number of Kubernetes objects shared among big number of scrape jobs 2021-04-05 22:04:30 +03:00
api_watcher.go fix access to nil *url.URL (#1180) 2021-04-05 22:25:31 +03:00
api_watcher_test.go lib/promscrape/discovery/kubernetes: properly discover targets in multiple namespaces 2021-04-02 14:28:30 +03:00
common_types.go lib/promscrape/discovery/kubernetes: properly track objects with the same names in multiple namespaces 2021-04-02 14:45:32 +03:00
endpoints.go lib/promscrape/discovery/kubernetes: load objects missing in local cache from api seriver in getObjectByRole() 2021-04-05 20:31:17 +03:00
endpoints_test.go lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00
endpointslices.go lib/promscrape/discovery/kubernetes: properly track objects with the same names in multiple namespaces 2021-04-02 14:45:32 +03:00
endpointslices_test.go lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00
ingress.go lib/promscrape/discovery/kubernetes: properly track objects with the same names in multiple namespaces 2021-04-02 14:45:32 +03:00
ingress_test.go lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00
kubernetes.go lib/promscrape/discovery/kubernetes: reduce CPU time spent on registering big number of Kubernetes objects shared among big number of scrape jobs 2021-04-05 22:04:30 +03:00
node.go lib/promscrape/discovery/kubernetes: properly track objects with the same names in multiple namespaces 2021-04-02 14:45:32 +03:00
node_test.go lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00
pod.go lib/promscrape/discovery/kubernetes: properly track objects with the same names in multiple namespaces 2021-04-02 14:45:32 +03:00
pod_test.go lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00
service.go lib/promscrape/discovery/kubernetes: properly track objects with the same names in multiple namespaces 2021-04-02 14:45:32 +03:00
service_test.go lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00