The agent does its best to enrich profiles with labels coming from various system facilities relative to the originating process.
__name__: The name of the profiler (e.g.
pid: The PID of the process.
namespace: The namespace of the pod object.
pod: The name of the pod object.
container: The name of the container.
containerid: The ID of the container.
systemd_unit: The systemd unit name as in
systemctl list-units --type=service --state=running.
node: The name of the node set by the
--nodeflag on the agent.
- Any labels configured by the
--metadata-external-labelsflag on the agent.
cgroup_name: The cgroup path as in
compiler: Detected compiler and its version (see github.com/xyproto/ainur for supported compilers).
trueif the binary has been stripped of its debug and symbol info, otherwise
trueif the binary is compiled statically, otherwise
comm: The comm of the process as in
executable: The executable name of the process as in
kernel_release: The Linux kernel release used by the node as in
agent_revision: The Git commit SHA Parca Agent was built from.
Parca Agent supports relabeling in the same fashion as Prometheus. This can be used to add, update, or delete labels, as well as filtering the profiles sent to Parca (keep or drop).
To do so, pass a YAML configuration file to the agent with
parca-agent.yaml) with a list of
# Example: Add a profiler_pid label (e.g. provider_pid="cpu/1234")
- source_labels: [__name__, pid]
Please see the Prometheus
relabel_config documentation for more details about the fields.