Prometheus + Grafana 使用 elasticsearch_exporter 监控 ElasticSearch

Prometheus Exporters:https://prometheus.io/docs/instrumenting/exporters/
elasticsearch_exporter:https://github.com/justwatchcom/elasticsearch_exporter
Grafana Dashboard:https://grafana.com/grafana/dashboards/2322

创建 Elasticsearch Data Sources

No date field named @timestamp found

版本问题:Version改为7.0+即可

elasticsearch_exporter部署

# tar -zxf elasticsearch_exporter-1.1.0rc1.linux-amd64.tar.gz -C /usr/local/
# mv /usr/local/elasticsearch_exporter-1.1.0rc1.linux-amd64 /usr/local/elasticsearch_exporter
# cd /usr/local/elasticsearch_exporter/
# nohup ./elasticsearch_exporter --web.listen-address "0.0.0.0:9108" --es.uri http://192.168.165.239:9200 &
# nohup ./elasticsearch_exporter --web.listen-address "0.0.0.0:9108" --es.uri http://elastic:******@192.168.165.239:9200 &
# curl localhost:9108/metrics

Prometheus配置

- job_name: elasticsearch
  metrics_path: "/metrics"
  static_configs:
    - targets: ['192.168.165.239:9108']
      labels:
        instance: elasticsearch
        group: inner
上一篇 Prometheus + Grafana 使用 redis_exporter 监控 Redis
下一篇 Prometheus + Grafana 使用 mysqld_exporter 监控 MySQL
目录
文章列表
1 微信支付沙箱测试采坑记录
微信支付沙箱测试采坑记录
2
前端后台管理开源项目vue-admin-beautiful-pro
前端后台管理开源项目vue-admin-beautiful-pro
3
以太坊学习5:Geth命令行环境
以太坊学习5:Geth命令行环境
4
Spring Boot打成jar包后,读取resources目录下的文件
Spring Boot打成jar包后,读取resources目录下的文件
5
aws ssm send-command 报错 An error occurred (InvalidInstanceId) when calling the SendCommand operation
aws ssm send-command 报错 An error occurred (InvalidInstanceId) when calling the SendCommand operation
最新评论
一位WordPress评论者
一位WordPress评论者
2月12日
您好,这是一条评论。若需要审核、编辑或删除评论,请访问仪表盘的评论界面。评论者头像来自 Gravatar。