Prometheus

来自Gea-Suan Lin's Wiki
Gslin讨论 | 贡献2020年3月23日 (一) 10:48的版本 →‎安裝
跳到导航 跳到搜索
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Prometheus是一个TSDB

安装

cd /tmp; wget https://github.com/prometheus/prometheus/releases/download/v2.16.0/prometheus-2.16.0.linux-amd64.tar.gz; tar zxvf prometheus-2.16.0.linux-amd64.tar.gz; cd prometheus-2.16.0.linux-amd64; sudo cp prometheus promtool tsdb /usr/bin; sudo mkdir /etc/prometheus; sudo cp prometheus.yml /etc/prometheus/; sudo cp -R consoles/ console_libraries/ /etc/prometheus/; sudo useradd -r -U prometheus; sudo mkdir /var/lib/prometheus; sudo chown prometheus:prometheus /var/lib/prometheus

外部连结