Feature Description
The CEE leverages the existing remote-write feature to push the Prometheus server metrics to Grafana Cloud. This features supports the basic-auth and proxy-url fields of the remote-write configuration to push the metrics to Grafana Cloud.
Configuring Remote Write to Push Prometheus Metrics
To push the Prometheus metrics to Grafana Cloud using remote-write, use the following sample configuration:
prometheus remote-write target demo
url https://prometheus-us-central1.grafana.net/api/prom/push
basic-auth username 725569
basic-auth password $8$ntCDRl2FkMDlm8mj9FohYwTuy/jo+7Cka0msfP2qW3Y=
proxy-url http://proxy-wsa.esl.cisco.com:80
exit
NOTES:
-
url —Specify the target URL of Grafana Cloud.
-
basic-auth username —Specify the username in Confd.
-
basic-auth password —Specify the password in Confd. The password is encrypted in Confd and passed to the metrics helm chart.
-
proxy-url —Specify the optional proxy URL to access Grafana Cloud in Confd.