Tweak: Patch Prometheus for v.3.0.0 (#300)
Some checks are pending
Create Changelog Pull Request / update-changelog-pull-request (push) Waiting to run
Deploy Next.js site to Pages / build (push) Waiting to run
Deploy Next.js site to Pages / deploy (push) Blocked by required conditions

* Prometheus Tweak 3.0.0 

https://github.com/community-scripts/ProxmoxVE/issues/289

https://github.com/prometheus/prometheus/releases/tag/v3.0.0

* Update prometheus-install.sh
This commit is contained in:
CanbiZ 2024-11-17 17:40:46 +01:00 committed by GitHub
parent 4b823d7ff2
commit abac99e995
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 4 deletions

View File

@ -66,7 +66,6 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v
tar -xf prometheus-${RELEASE}.linux-amd64.tar.gz
cd prometheus-${RELEASE}.linux-amd64
cp -rf prometheus promtool /usr/local/bin/
cp -rf consoles/ console_libraries/ /etc/prometheus/
cd ~
rm -rf prometheus-${RELEASE}.linux-amd64 prometheus-${RELEASE}.linux-amd64.tar.gz
echo "${RELEASE}" >/opt/${APP}_version.txt

View File

@ -27,7 +27,6 @@ wget -q https://github.com/prometheus/prometheus/releases/download/v${RELEASE}/p
tar -xf prometheus-${RELEASE}.linux-amd64.tar.gz
cd prometheus-${RELEASE}.linux-amd64
mv prometheus promtool /usr/local/bin/
mv consoles/ console_libraries/ /etc/prometheus/
mv prometheus.yml /etc/prometheus/prometheus.yml
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
msg_ok "Installed Prometheus"
@ -46,8 +45,6 @@ Type=simple
ExecStart=/usr/local/bin/prometheus \
--config.file=/etc/prometheus/prometheus.yml \
--storage.tsdb.path=/var/lib/prometheus/ \
--web.console.templates=/etc/prometheus/consoles \
--web.console.libraries=/etc/prometheus/console_libraries \
--web.listen-address=0.0.0.0:9090
[Install]