Prometheus 安装

|▌冷眼眸甩不掉的悲伤 提交于 2020-04-17 19:22:23

1、下载

    wget https://github.com/prometheus/prometheus/releases/download/v2.17.1/prometheus-2.17.1.linux-amd64.tar.gz &
2、解压

    tar -xvf prometheus-2.17.1.linux-amd64.tar.gz 

3、配置添加nacos

  - job_name: 'nacos'

    # metrics_path defaults to '/nacos/actuator/prometheus'
    # scheme defaults to 'http'.

    static_configs:
    - targets: ['192.168.19.198:8848']
3、启动

    ./prometheus --config.file=prometheus.yml
4、访问

http://192.168.3.212:9090/graph

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!