k8s 监控nginx
1-nginx 需要开启 监控日志,需要编译安装
nginx 编译安装 (监控) 1.22.1 : 连接
2- nginx-exporter
sophos/nginx-vts-exporter
sophos/nginx-vts-exporter - Docker Image
3- kubesphere设置
31005
9913
nginx-vts-exporter
-nginx.scrape_uri=http://10.0.0.207/status/format/json,
-telemetry.address :9913
-t
granfa
2949
Nginx VTS Stats | Grafana Labs
部署完 exporter 先检查一下 是否有数据
promethues 设置
最后grafana
2949