![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
flask
运维开发小白丶
重头开始
展开
-
python实现自动更新prometheus规则
由于公司需要监控目标类型较多,不能手动去改动prometheus规则然后reload,所以就通过python写了个程序自动更新prometheus配置基本环境准备基本流程以上为开发流程,在基本环境准备好的前提下开始开发,本文涉及的kevin模块导入均为本人开发功。原创 2024-07-15 11:19:32 · 611 阅读 · 0 评论 -
RuntimeError: The session is unavailable because no secret key was set. Set the secret_key on the ap
【代码】RuntimeError: The session is unavailable because no secret key was set. Set the secret_key on the ap。原创 2023-10-18 17:02:51 · 454 阅读 · 0 评论