文章分类 - Prometheus / 第十一章 监控系统二次开发实战
摘要:1、创建监控文件 vim procexporter.py #!/usr/bin/python3 # coding:utf-8 from prometheus_client import Gauge from prometheus_client.core import CollectorRegistr
阅读全文
摘要:1、安装使用iostat命令 yum install sysstat vim disk_exporter.py #!/usr/bin/python3 # coding:utf-8 from prometheus_client import Gauge from prometheus_client.c
阅读全文
摘要:1、python3环境准备 2、框架的选择 - prometheus_client - fastapi - uvicorn - psutil 安装 prometheus_client pip3 install prometheus_client 安装 fastapi pip3 install fas
阅读全文