0
点赞
收藏
分享

微信扫一扫

docker安装statsd+graphite数据监控服务并与gunicorn结合

金穗_ec4b 2022-02-21 阅读 93

一.安装statsd

1. statsd+graphite安装过程有点复杂,依赖好几个框架,幸好有了docker,一条命令搞定
2. 启动:
docker run -d --name graphite --restart=always -p 5100:80 -p 5101:81 -p 2003-2004:2003-2004 -p 2023-2024:2023-2024 -p 8125:8125/udp -p 8126:8126 hopsoft/graphite-statsd
3.查看
4.测试数据
5.查看数据
6.杀掉

二.与gunicorn 结合

https://gunicorn-docs.readthedocs.io/en/latest/instrumentation.html

示例:

举报

相关推荐

0 条评论