标签:ted data yam out xxx influxdb prot xxxx .com
这个比较简单,
https://docs.influxdata.com/influxdb/v1.7/supported_protocols/prometheus
只需要更改prometheus.yaml配置 文件。
global:
# 抓取的间隔时间
scrape_interval: 20s
# How long until a scrape request times out.
scrape_timeout: 10s
# 计算告警触发条件的周期
evaluation_interval: 20s
# 告警规则文件
rule_files:
- ‘/etc/prometheus-rules/*.rules‘
remote_write:
- url: "http://xxxx:8086/api/v1/prom/write?db=prometheus"
# remote_read:
# - url: "http://xxxx:8086/api/v1/prom/read?db=prometheus"
将prometheus采集的数据远程存储到influxdb中
标签:ted data yam out xxx influxdb prot xxxx .com
原文地址:https://www.cnblogs.com/aguncn/p/10002426.html