Configuring the Grafana Cloud Prometheus backend (Managed)
Resource Attributes as Labels
multi-input config option in the destination page in the Odigos UI.
Cluster Static Labels
You can set static labels for each metric data pointsent exported to Grafana Cloud Prometheus from the cluster by setting the External Labels
configuration with lable keys and values.
Supported Signals:
string
: Prometheus Remote Write Endpoint. This is the URL of the Prometheus service. From the grafana cloud UI, Prometheus page, make sure you copy the URL from “Remote Write Endpoint” section, and not the first Endpoint which is used for queries
https://{hostname}.grafana.net/api/prom/push
string
: Username / Instance ID. You can find the Username / Instance ID on the Prometheus page. Value is a number.
12345678
string
: Password / Api Token. This field is refered to as “password” or “Grafana.com API Token” in the Grafana Cloud UI. You can manage tokens in your “Account Settings” page under the “SECURITY” section in the “Access Policies” page. Make sure your token scope includes metrics:write
scope.
glc_eyJvIj...
string[]
: Resource Attributes Labels. use these OpenTelemetry resource attributes as prometheus labels for each metric data point
["k8s.container.name", "k8s.pod.name", "k8s.namespace.name"]
{ key: string; value: string; }[]
: External Labels. map of labels names and values to be attached to each metric data point
Add Destination
, select Grafana Cloud Prometheus
and follow the on-screen instructionsgrafanacloudprometheus.yaml
)kubectl