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/

浙公網安備 33010602011771號