# my global config
global:
scrape_interval: 10s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 10s # Evaluate rules every 15 seconds. The default is every 1 minute.
# scrape_timeout is set to the global default (10s). # Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets:
# - alertmanager:9093 # Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
# - "first_rules.yml"
# - "second_rules.yml" # A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'es-0'
metrics_path: "/_prometheus/metrics"
static_configs:
- targets:
- 192.168.1.10:9200 basic_auth:
username: 'elastic'
password: 'XXXXXX' - job_name: 'es-1'
metrics_path: "/_prometheus/metrics"
static_configs:
- targets:
- 192.168.1.10:9200 - job_name: 'elk-kafka'
metrics_path: "/metrics"
static_configs:
- targets: ['192.168.1.10:9308'] - job_name: 'es-common'
metrics_path: "/_prometheus/metrics"
static_configs:
- targets:
- 192.168.1.10:9200
- targets:
- 192.168.1.10:9200 basic_auth:
username: 'elastic'
password: 'CygYJf7lpAaUuwGgZy5T' - job_name: 'es-cdo-log'
metrics_path: "/metrics"
static_configs:
- targets:
- 192.168.101.10:9109

最新文章

  1. SQL Server Reporting Services:无法检索应用程序文件。部署中的文件已损坏
  2. 手机淘宝UWP
  3. Python基础之【第一篇】
  4. 前向后瞻正则表达式及其JS例子
  5. IT的灵魂是流程,流程的灵魂是业务,业务的灵魂是战略
  6. 【C#】WM 消息大全
  7. 前端开发与Seo基础
  8. 安装office2013时弹出microsoft setup bootstrapper已停止工作,接着就不能安装了
  9. NOIP算法总结
  10. c指针点滴4-指针的值
  11. 转: 深入理解 AngularJS 的 Scope
  12. rapidPHP 下载并安装
  13. webpack的四个核心概念介绍
  14. 用户管理-linux基础
  15. SSH私用私钥登陆
  16. mysql那些事
  17. python接口自动化-post请求4
  18. Less or Equal CodeForces - 977C (sort+细节)
  19. 认识程序的执行:从高级语言到二进制,以java为例
  20. java中关于File类的细说

热门文章

  1. [LC] 82. Remove Adjacent Repeated Characters IV
  2. Ansible部署rsync、nfs及sersync
  3. [SDOI2010]魔法猪学院(k短路)
  4. mysql,主键与索引的区别和联系
  5. Linux基础篇二:Bash shell(壳,命令解释器)介绍
  6. RDS的xb文件恢复到本地mysql5.6版本数据库
  7. Simple Random Sampling|representative sample|probability sampling|simple random sampling with replacement| simple random sampling without replacement|Random-Number Tables
  8. 让Spring不再难懂-ioc篇
  9. wait操作接口
  10. Python与用户相交互