\nginx-1.18.0\conf\nginx.conf
增加配置:
location /stub_status {
stub_status;
}
启动命令:nginx-prometheus-exporter.exe -nginx.scrape-uri=http://localhost:8082/stub_status
prometheus.yml
增加配置:
- job_name: 'nginx_exporter'
static_configs:
- targets: ['localhost:9113']
导入ID:12708
因篇幅问题不能全部显示,请点此查看更多更全内容
Copyright © 2019- nryq.cn 版权所有 赣ICP备2024042798号-6
违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务