https://www.cnblogs.com/xiaobaozi-95/p/10684524.html

https://www.cnblogs.com/xiao987334176/p/9933963.html

 

容器部署

docker run -d -p 9091:9091  -v /etc/localtime:/etc/localtime:ro -v /etc/timezone:/etc/timezone:ro -v /etc/timezone:/etc/timezone:ro  prom/pushgateway

  

在prometheus.yml中添加pushgateway的job信息,然后重启prometheus容器。

  - job_name: pushgateway
    static_configs:
      - targets: ['192.168.18.19:9091']
        labels:
          instance: pushgateway

  

https://github.com/prometheus/client_python

 

相关文章:

  • 2021-08-04
  • 2022-12-23
  • 2021-04-20
  • 2021-09-20
  • 2022-01-15
  • 2021-06-17
  • 2021-11-12
猜你喜欢
  • 2021-08-06
  • 2021-12-18
  • 2022-12-23
  • 2021-07-19
  • 2021-11-10
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案