介绍
prometheus主要用于各项指标监控,skywalking的特点是链路监控做的比较好
prometheus埋点是server pull方式,skywalking埋点是push方式
prometheus数据库是时序数据库,对时间准确性要求高
下载地址
https://prometheus.io/download
Linux安装(解压即可)
tar -xvzf prometheus-2.24.0.linux-amd64.tar.gz -C /usr/
启动(采用指定配置后台启动,默认端口是9090)
cd /usr/prometheus
./prometheus --config.file=prometheus.yml &
访问
http://192.168.56.103:9090
http://192.168.56.103:9090/targets
http://192.168.56.103:9090/graph