Metrics labels¶
The metrics that MKE exposes in Prometheus have standardized labels, depending on the target resource.
Label name  | 
Value  | 
|---|---|
  | 
The collection ID of the collection the container is in, if any.  | 
  | 
The ID of the container.  | 
  | 
The name of the container image.  | 
  | 
Set to   | 
  | 
The container name.  | 
  | 
The pod name, if the container is part of a Kubernetes Pod.  | 
  | 
The pod namespace, if the container is part of a Kubernetes Pod namespace.  | 
  | 
The container name in the pod spec, if the container is part of a Kubernetes pod.  | 
  | 
The service ID, if the container is part of a Swarm service.  | 
  | 
The stack name, if the container is part of a Docker Compose stack.  | 
Label name  | 
Value  | 
|---|---|
  | 
The collection ID of the collection the container is in, if any.  | 
  | 
The ID of the container.  | 
  | 
The name of the container image.  | 
  | 
Set to   | 
  | 
The container name.  | 
  | 
The ID of the network.  | 
  | 
The pod name, if the container is part of a Kubernetes pod.  | 
  | 
The pod namespace, if the container is part of a Kubernetes pod namespace.  | 
  | 
The container name in the pod spec, if the container is part of a Kubernetes pod.  | 
  | 
The service ID, if the container is part of a Swarm service.  | 
  | 
The stack name, if the container is part of a Docker Compose stack.  | 
Note
The container networking labels are the same as the Container labels, with
the addition of network.
Label name  | 
Value  | 
|---|---|
  | 
Set to   | 
See also