Associate Infrastructure Metrics with Services¶
Infrastructure metrics gathered from Kubernetes (in your Kubernetes Explorer/Prometheus Metrics dataset) will automatically be associated with your services in Service Explorer provided that metrics the have the following labels:
Label |
Required |
|---|---|
|
Yes |
|
No |
|
No |
These labels must all match the labels used in your application instrumentation for the same service.
The observe-agent installed via the Observe Agent Helm Chart will automatically add these labels to infrastructure metrics pertaining to Kubernetes pods that are annotated according to the OTel Semantic Conventions. The supported pod annotations are:
Annotation Name |
Resulting Label |
|---|---|
|
|
|
|
|
|
The observe-agent will also use the app.kubernetes.io/name pod label to determine the service_name if the annotation is not present. This feature requires the observe-agent helm chart version 0.52.0 or later.