xxexporter+prometheus+grafana监控常用的docker/mysql/es/kafaka/nginx/springboot2+jvm等中间件

 

模板id监控内容其它主要依赖安装
8919system中文node-exporter参考https://blog.csdn.net/qq_39506978/article/details/104267823
10280/4701/12856jvm/接口micrometer springboot2.X参考https://blog.csdn.net/qq_39506978/article/details/104320816
893/395docker & systemcadvisor node-exporter参考https://blog.csdn.net/qq_39506978/article/details/104267823
2322elasticsearchelasticsearch-exporter

docker run -d -p 9114:9114 --net=host docker.io/justwatch/elasticsearch_exporter --es.uri=http://localhost:9200

7589kafkakafka-exportordocker run -d --net=host -p 9308:9308 danielqsj/kafka-exporter --kafka.server=localhost:9092
7362mysqlmysql-exporter参考https://blog.csdn.net/qq_39506978/article/details/104267823
2292nginx log logstash/filebeat,es

json的nginx->logstash/filebeat->es->grafana,参考,压缩安装6.2.4版本https://grafana.com/grafana/dashboards/2292的模板说明,效果同aop埋点,建议更换更轻量级的filebeat采集,filebeat核心配置 

paths:
   - /var/log/nginx/access.log
 json.keys_under_root: true
 json.overwrite_keys: true

参考:https://blog.csdn.net/xujiamin0022016/article/details/86302504

9516采集指标有限,两者均不能获取接口,状态,耗时nginx-exporter/nginx-vts-exportor

 docker run -p 9113:9113 --restart="always" --net="host" docker.io/fish/nginx-exporter --nginx.scrape_uri=http://localhost:6666/nginx_metric
ng配置:
server
{
listen 6666;
server_name localhost;
location /nginx_metric {
stub_status on;
access_log off;
allow 127.0.0.1;
}
}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值