「Prometheus」:修訂間差異
跳至導覽
跳至搜尋
第4行: | 第4行: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
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/ | 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 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
於 2020年3月23日 (一) 10:47 的修訂
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
外部連結
- 官方網站 (英文)