
prometheus.yml,修改完成 重启 Prometheus,具体配置如下,如需了解更多 Remote Write 配置参数,请参考 remote_write 。remote_write:- name: cm_prometheus # Remote write 的名称url: http://ip:port/api/v1/prom/write # 从 Prometheus 基本信息中获取 Remote Write 地址remote_timeout: 30s # 根据实际情况设置bearer_token: k32*****trR # 从 Prometheus 基本信息中获取 Token 信息
Explore 来验证数据是否写入成功,如下图,也可以 自定义 Grafana 监控大盘。

Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback