/federate
endpoint.
This setup allows you to centralize metrics collection by federating Control Plane metrics into a single external Prometheus instance or service that can collect data using a Prometheus scrape job.
prometheus-federate
.prometheus-federate
Service Account and save it securely.prometheus-federate
that grants readMetrics
permission to the Service Account.New +
and fill in the details:
prometheus-federate
prometheus-federate
org
Next (Bindings)
:Add Binding
:
Permissions
tab, check readMetrics
Service Accounts
tab, check prometheus-federate
Add
Create
${org}
with the actual organization name.${CPLN_SERVICE_ACCOUNT_TOKEN}
is set as an environment variable containing the token from the prometheus-federate
Service Account.match[]
parameter in the scrape configuration to filter the metrics as needed.