VictoriaMetrics/lib/promscrape/discovery/kubernetes
Aliaksandr Valialkin 7a16e8e3a2 lib/promscrape/discovery: fixes after 133b288681
- Removed a deadlock in addAPIWatcher
- Do not create unused ScrapeWork objects
- Do not spend CPU resources on creating objectByKey map in addAPIWatcher

This work is based on https://github.com/VictoriaMetrics/VictoriaMetrics/pull/1125
2021-03-13 15:18:51 +02:00
..
api.go lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00
api_watcher.go lib/promscrape/discovery: fixes after 133b288681 2021-03-13 15:18:51 +02:00
api_watcher_test.go lib/promscrape/discovery/kubernetes: localize Bookmark parsing code 2021-03-11 13:08:08 +02:00
common_types.go lib/promscrape/discovery/kubernetes: localize Bookmark parsing code 2021-03-11 13:08:08 +02:00
endpoints.go lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02: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: use a single watcher per apiURL 2021-03-11 16:43:04 +02: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: use a single watcher per apiURL 2021-03-11 16:43:04 +02: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: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00
node.go lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02: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: use a single watcher per apiURL 2021-03-11 16:43:04 +02: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: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00
service_test.go lib/promscrape/discovery/kubernetes: use a single watcher per apiURL 2021-03-11 16:43:04 +02:00