028-86922220

建站动态

根据您的个性需求进行定制 先人一步 抢占小程序红利时代

ubuntu下docker安装prometheus

Prometheus是由SoundCloud开发的开源监控报警系统和时序列数据库(TSDB)。Prometheus使用Go语言开发,是Google BorgMon监控系统的开源版本。
2016年由Google发起Linux基金会旗下的原生云基金会(Cloud Native Computing Foundation), 将Prometheus纳入其下第二大开源项目。
Prometheus和Heapster(Heapster是K8S的一个子项目,用于获取集群的性能数据。)相比功能更完善、更全面。Prometheus性能也足够支撑上万台规模的集群。

马尾ssl适用于网站、小程序/APP、API接口等需要进行数据传输应用场景,ssl证书未来市场广阔!成为成都创新互联的ssl证书销售渠道,可以享受市场价格4-6折优惠!如果有意向欢迎电话联系或者加微信:18982081108(备注:SSL证书合作)期待与您的合作!

Prometheus的特点

查看是否有镜像

sudo docker search prometheus

ubuntu下docker安装prometheus

编写配置文件

vim prometheus.yml

内容 

global:

  scrape_interval:     60s

  evaluation_interval: 60s

 

scrape_configs:

  - job_name: prometheus

    static_configs:

      - targets: ['localhost:9191']

        labels:

          instance: prometheus

 

  - job_name: linux

    static_configs:

      - targets: ['10.0.14.135:9191']

        labels:

          instance: localhost

启动

sudo docker run --name prometheus -d -p 9090:9090 -v ~/soft/prometheus.yml:/etc/prometheus/prometheus.yml   prom/prometheus

浏览器访问

ubuntu下docker安装prometheus


当前标题:ubuntu下docker安装prometheus
本文来源:http://www.tsicrk.com/article/jhijjj.html

其他资讯

让你的专属顾问为你服务

0.7402s