coroot / coroot-node-agent

A Prometheus exporter based on eBPF that gathers comprehensive container metrics
https://coroot.com/docs/metrics/node-agent
Apache License 2.0
294 stars 54 forks source link

put custom label for prometheus #104

Open crazy-genius opened 1 week ago

crazy-genius commented 1 week ago

In order to enable the separation of metrics in a multi-cluster setup, it is necessary to have a cluster-wide specific metrics label.

In Coroot's project configuration for Prometheus, simply add the following: { ProjectId = "{apiKey}" }.