VictoriaMetrics/lib/promscrape/discovery/kubernetes
Aliaksandr Valialkin 2c7c812a9d
lib/promscrape/discovery/kubernetes: add -promscrape.kubernetes.attachNodeMetadataAll command-line flag
This flag allows setting attach_metadata.node=true for all the kubernetes_sd_configs defined at -promscrape.config

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4640

Thanks to wasim-nihal for the initial implementation at https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5593
2024-01-22 01:08:52 +02:00
..
testdata lib/promscrape/discovery/kubernetes: follow-up after 0b5c874911 (#2672) 2022-06-04 01:11:23 +03:00
api_watcher_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
api_watcher.go lib/promscrape/discovery/kubernetes: add -promscrape.kubernetes.attachNodeMetadataAll command-line flag 2024-01-22 01:08:52 +02:00
api.go lib/promscrape/discovery/kubernetes: propagate possible errors at newAPIWatcher() to the caller 2023-10-27 20:27:58 +02:00
common_types.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
endpoints_test.go lib/promscrape/discovery/kubernetes: follow-up for d5e94721db (#4255) 2023-05-09 21:29:27 -07:00
endpoints.go Add endpoint labels for pod targets discovered form endpoint but has different ports (#4253) 2023-05-09 21:25:56 -07:00
endpointslice_test.go lib/promscrape/discovery/kubernetes: follow-up for d5e94721db (#4255) 2023-05-09 21:29:27 -07:00
endpointslice.go Add endpoint labels for pod targets discovered form endpoint but has different ports (#4253) 2023-05-09 21:25:56 -07:00
ingress_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
ingress.go Makefile: update golangci-lint from v1.51.2 to v1.54.2 2023-09-01 10:25:49 +02:00
kubeconfig_test.go lib/promscrape/discovery/kubernetes/kubeconfig_test.go: make TestParseKubeConfigSuccess test code easier to follow 2023-10-26 09:54:40 +02:00
kubeconfig.go lib/promauth: properly parse string contents for ca, cert and key fields at tls_config 2023-10-26 09:54:18 +02:00
kubernetes.go lib/promscrape/discovery/kubernetes: add -promscrape.kubernetes.attachNodeMetadataAll command-line flag 2024-01-22 01:08:52 +02:00
node_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
node.go Makefile: update golangci-lint from v1.51.2 to v1.54.2 2023-09-01 10:25:49 +02:00
pod_test.go lib/promscrape/discovery/kubernetes: add support for __meta_kubernetes_pod_container_id 2023-01-27 16:33:57 -08:00
pod_timing_test.go all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-26 09:44:40 +02:00
pod.go lib/promscrape/discovery/kubernetes: follow-up for d5e94721db (#4255) 2023-05-09 21:29:27 -07:00
service_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
service.go Makefile: update golangci-lint from v1.51.2 to v1.54.2 2023-09-01 10:25:49 +02:00