文章目录 pull 模式——prometheus 主动 pull 数据 pull 模式——prometheus 主动 pull 数据 安装 client pip3 install prometheus-client prometheus 配置上报数据的 job - job_name: 'test_report_metrics' static_configs: - targets: ['localhost:9600'] honor_labels: