Skip to content

Commit abac99e

Browse files
authored
Tweak: Patch Prometheus for v.3.0.0 (#300)
* Prometheus Tweak 3.0.0 #289 https://github.com/prometheus/prometheus/releases/tag/v3.0.0 * Update prometheus-install.sh
1 parent 4b823d7 commit abac99e

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

ct/prometheus.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v
6666
tar -xf prometheus-${RELEASE}.linux-amd64.tar.gz
6767
cd prometheus-${RELEASE}.linux-amd64
6868
cp -rf prometheus promtool /usr/local/bin/
69-
cp -rf consoles/ console_libraries/ /etc/prometheus/
7069
cd ~
7170
rm -rf prometheus-${RELEASE}.linux-amd64 prometheus-${RELEASE}.linux-amd64.tar.gz
7271
echo "${RELEASE}" >/opt/${APP}_version.txt

install/prometheus-install.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ wget -q https://github.com/prometheus/prometheus/releases/download/v${RELEASE}/p
2727
tar -xf prometheus-${RELEASE}.linux-amd64.tar.gz
2828
cd prometheus-${RELEASE}.linux-amd64
2929
mv prometheus promtool /usr/local/bin/
30-
mv consoles/ console_libraries/ /etc/prometheus/
3130
mv prometheus.yml /etc/prometheus/prometheus.yml
3231
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
3332
msg_ok "Installed Prometheus"
@@ -46,8 +45,6 @@ Type=simple
4645
ExecStart=/usr/local/bin/prometheus \
4746
--config.file=/etc/prometheus/prometheus.yml \
4847
--storage.tsdb.path=/var/lib/prometheus/ \
49-
--web.console.templates=/etc/prometheus/consoles \
50-
--web.console.libraries=/etc/prometheus/console_libraries \
5148
--web.listen-address=0.0.0.0:9090
5249
5350
[Install]

0 commit comments

Comments
 (0)