Closed tetianakravchenko closed 1 month ago
In this PR:
1.1. container with name: prometheus-server - has a service.name : server - that is set from pod labels:
prometheus-server
server
kubectl describe pod prometheus-server-server-64ddbf6c85-r7tk5 | grep "Labels:" -a5 ... Labels: app.kubernetes.io/component=server app.kubernetes.io/instance=prometheus-server app.kubernetes.io/managed-by=Helm app.kubernetes.io/name=prometheus app.kubernetes.io/part-of=prometheus app.kubernetes.io/version=v2.54.1
1.2. rest of pods have k8s.container.name = service.name (screenshot above)
service.version
app.kubernetes.io/version
resource.attributes.app.label.component
resource.attributes.app.label.version
elasticinframetrics
In this PR:
1.1. container with name:
prometheus-server
- has a service.name :server
- that is set from pod labels:1.2. rest of pods have k8s.container.name = service.name (screenshot above)
service.version
based onapp.kubernetes.io/version
label (screenshot above)resource.attributes.app.label.component
andresource.attributes.app.label.version
elasticinframetrics
processor