欢迎光临散文网 会员登陆 & 注册

prometheus+grafana企业级监控项目实战课程2022最新版

2023-02-15 20:59 作者:快乐的小马驹01  | 我要投稿

配置prometheus路径下的prometheus.yml文件,我们可以在global中配置包括prometheus抓取数据、验证rule的时间间隔;在rule_files中配置rule_file的地址;scrape_configs中设置数据源。

global:  # How frequently to scrape targets by default.  [ scrape_interval: <duration> | default = 1m ]  # How long until a scrape request times out.  [ scrape_timeout: <duration> | default = 10s ]  # How frequently to evaluate rules.  [ evaluation_interval: <duration> | default = 1m ]  # The labels to add to any time series or alerts when communicating with  # external systems (federation, remote storage, Alertmanager).


prometheus+grafana企业级监控项目实战课程2022最新版的评论 (共 条)

分享到微博请遵守国家法律