metheus+grafana实现locust数据(半)持久化部署
// 数据源
pip install prometheus-client==0.20.0 -i https://mirrors.aliyun.com/pypi/simple
https://github.com/myzhan/boomer/blob/master/prometheus_exporter.py
# 启动
locust --master -f .\prometheus_exporter.py
此时访问 http://localhost:8089/export/prometheus
此时有数据则第一步完成,如果没有可以查看下面的部署教程
// 部署教程
https://blog.csdn.net/weixin_40294053/article/details/120147319?ydreferer=aHR0cHM6Ly9iYnMuY3Nkbi5uZXQvdG9waWNzLzYwNDQ4MTYzMw%3D%3D
Prometheus系列安装
https://blog.csdn.net/weixin_44352521/article/details/127947313
//面板id 12081
https://grafana.com/grafana/dashboards/12081-locust/