prometheus/discovery/kubernetes
Robert Fratto 823d24d1e9 discovery/kubernetes: add container image as metadata
This commits adds a __meta_kubernetes_pod_container_image as a new
metadata label. This can be used to alert on mismatched versions of
targets who don't have a build_info metric, as well as injecting it into
log lines for other consumers of discovery/kubernetes (e.g., Promtail).

Signed-off-by: Robert Fratto <robertfratto@gmail.com>
2022-07-18 08:35:12 -04:00
..
client_metrics.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
endpoints.go discovery/kubernetes: add container image as metadata 2022-07-18 08:35:12 -04:00
endpoints_test.go kubernetes_sd: Allow attaching node labels for endpoint role 2022-06-16 12:22:55 +02:00
endpointslice.go discovery/kubernetes: add container image as metadata 2022-07-18 08:35:12 -04:00
endpointslice_adaptor.go kubernetes_sd: Allow attaching node labels for endpoint role 2022-06-16 12:22:55 +02:00
endpointslice_adaptor_test.go Kubernetes SD: Support discovery.k8s.io/v1 EndpointSlice 2022-03-19 00:42:16 +03:00
endpointslice_test.go kubernetes_sd: Allow attaching node labels for endpoint role 2022-06-16 12:22:55 +02:00
ingress.go refactor (discovery): move from github.com/pkg/errors to 'errors' and 'fmt' (#10807) 2022-06-03 13:47:14 +02:00
ingress_adaptor.go Kubernetes SD: Fix golint issue 2021-08-24 17:30:33 +09:00
ingress_test.go Implement target discovery in own k8s namespace 2021-12-14 13:41:38 +01:00
kubernetes.go kubernetes_sd: Allow attaching node labels for endpoint role 2022-06-16 12:22:55 +02:00
kubernetes_test.go Improve reliability of Kubernetes SD tests (#10761) 2022-06-07 16:19:40 +01:00
node.go refactor (discovery): move from github.com/pkg/errors to 'errors' and 'fmt' (#10807) 2022-06-03 13:47:14 +02:00
node_test.go Kubernetes service discovery: add provider ID label (#9603) 2021-12-06 22:27:11 +01:00
pod.go discovery/kubernetes: add container image as metadata 2022-07-18 08:35:12 -04:00
pod_test.go Allow attaching node metadata 2022-03-10 08:40:52 +01:00
service.go refactor (discovery): move from github.com/pkg/errors to 'errors' and 'fmt' (#10807) 2022-06-03 13:47:14 +02:00
service_test.go Implement target discovery in own k8s namespace 2021-12-14 13:41:38 +01:00