Skip to main content

Labels

This page provides a comprehensive reference for all labels supported by the Parca Agent, categorized for easy navigation. The labels include essential system, process, thread, Kubernetes, container, and agent metadata attached to profiling data. These labels can be used as-is or customized through Prometheus relabeling to enhance profiling insights and debugging efficiency. The relabeling config can be passed to the agent via the --config-path flag.

Always present labels

LabelDescription
nodeThe name of the node that the process is running on as specified by the --node flag.
commThe command name of the process being profiled.

LabelDescription
__meta_process_pidThe process ID of the process being profiled.
__meta_process_cmdlineThe command line arguments of the process being profiled.
__meta_process_cgroupThe (main) cgroup of the process being profiled.
__meta_process_ppidThe parent process ID of the process being profiled.
__meta_process_executable_file_idThe file ID (a hash) of the executable of the process being profiled.
__meta_process_executable_nameThe basename of the executable of the process being profiled.
__meta_process_executable_build_idThe build ID of the executable of the process being profiled.
__meta_process_executable_compilerThe compiler used to build the executable of the process being profiled.
__meta_process_executable_staticWhether the executable of the process being profiled is statically linked.
__meta_process_executable_strippedWhether the executable of the process being profiled is stripped from debug information.

LabelDescription
__meta_system_kernel_releaseThe kernel release of the system.
__meta_system_kernel_machineThe kernel machine of the system (typically the architecture).

LabelDescription
__meta_thread_commThe command name of the thread being profiled.
__meta_thread_idThe PID of the thread being profiled.

LabelDescription
__meta_agent_revisionThe revision of the agent.

LabelDescription
__meta_kubernetes_namespaceThe namespace of the pod the process is running in.
__meta_kubernetes_pod_nameThe name of the pod the process is running in.
_meta_kubernetes_pod_label*The value of the label * of the pod the process is running in.
_meta_kubernetes_pod_labelpresent*Whether the label * of the pod the process is running in is present.
_meta_kubernetes_pod_annotation*The value of the annotation * of the pod the process is running in.
_meta_kubernetes_pod_annotationpresent*Whether the annotation * of the pod the process is running in is present.
__meta_kubernetes_pod_ipThe IP of the pod the process is running in.
__meta_kubernetes_pod_container_nameThe name of the container the process is running in.
__meta_kubernetes_pod_container_idThe ID of the container the process is running in.
__meta_kubernetes_pod_container_imageThe image of the container the process is running in.
__meta_kubernetes_pod_container_initWhether the container the process is running in is an init container.
__meta_kubernetes_pod_readyWhether the pod the process is running in is ready.
__meta_kubernetes_pod_phaseThe phase of the pod the process is running in.
__meta_kubernetes_node_nameThe name of the node the process is running on.
__meta_kubernetes_pod_host_ipThe host IP of the pod the process is running in.
__meta_kubernetes_pod_uidThe UID of the pod the process is running in.
__meta_kubernetes_pod_controller_kindThe kind of the controller of the pod the process is running in.
__meta_kubernetes_pod_controller_nameThe name of the controller of the pod the process is running in.
_meta_kubernetes_node_label*The value of the label * of the node the process is running on.
_meta_kubernetes_node_labelpresent*Whether the label * of the node the process is running on is present.
_meta_kubernetes_node_annotation*The value of the annotation * of the node the process is running on.
_meta_kubernetes_node_annotationpresent*Whether the annotation * of the node the process is running on is present.

PrefixLabelDescription
Docker (__meta_docker_*)__meta_docker_container_idThe ID of the container the process is running in.
__meta_docker_container_nameThe name of the container the process is running in.
__meta_docker_build_kit_container_idThe ID of the container the process is running in.
Containerd (__meta_containerd_*)__meta_containerd_container_idThe ID of the container the process is running in.
__meta_containerd_container_nameThe name of the container the process is running in.
__meta_containerd_pod_nameThe name of the pod the process is running in.
LXC (__meta_lxc_*)__meta_lxc_container_idThe ID of the container the process is running in.

LabelDescription
__meta_cpuidThe CPUID the sample was taken on.