11 2020 档案
摘要:一 环境准备 pip install flask pip install --ignore-installed PyYAML pip install prometheus_client 二 包引入 from prometheus_client import Gauge from prometheus
阅读全文
摘要:0 编辑py文件celery_task.py 1 from celery import Celery 引入模块 4.0 2 ap =Celery('tasks',broker=CELERY_BROKER,backend=CELERY_BACKEND) broker 消费队列 可使用redis/rab
阅读全文
摘要:一 prometheus文件主体解析 1 job_name: 1 prometheus 2 grafana 3 linux 4 proxysql 5 mongodb 6 mysql相关 7 rds相关 (job_name=prometheus的target host:port 为prometheus
阅读全文