From 962f4e8e02ac416618608f1e008256d0814619fe Mon Sep 17 00:00:00 2001 From: AA Date: Wed, 30 Aug 2023 03:16:21 -0400 Subject: [PATCH 01/11] Update grafana, prometheus and loki versions --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 79f7a9f..da11585 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ #### Specs: > |Grafana|Prometheus|Loki |Go |OS |HW | > |:------|:---------|:------|:-------|:----------------------------|:-----------------------| -> |`9.3.16`|`2.24.1` |`2.7.3`|`1.19.4`|`raspios-bullseye-arm64-lite`|`Raspberry Pi 4 Model B`| +> |`10.1.0`|`2.33.5` |`2.8.4`|`1.19.4`|`raspios-bullseye-arm64-lite`|`Raspberry Pi 4 Model B`| # ### Steps @@ -44,10 +44,10 @@ #### ❯ Grafana * **Download:** There are 2 versions **OSS** and **Enterprise**. OSS version is more than enough. Enterprise version installs too many extra packages (like unattended-upgrades and more). Below cmd downloads _Grafana OSS_ for arm64. - > `wget https://dl.grafana.com/oss/release/grafana_9.3.16_arm64.deb` + > `wget https://dl.grafana.com/oss/release/grafana_10.1.0_arm64.deb` * **Install:** - > `sudo dpkg -i grafana_9.3.16_arm64.deb` + > `sudo dpkg -i grafana_10.1.0_arm64.deb` > `ℹ️` **Note:** > A tweaked `grafana.ini` is available in the release. It reduces memory footprint, removes usage collection, stops calls to grafana server/repo and has few more optimizations. You can use _grafana.ini_ **either** from the release **or** the default one. Default config is located at `/etc/grafana/grafana.ini` From bd20abe08890d2c0ee94cacd1b90c8285422bc4d Mon Sep 17 00:00:00 2001 From: AA Date: Wed, 30 Aug 2023 03:20:26 -0400 Subject: [PATCH 02/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index da11585..c534db9 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ # #### ❯ Prometheus * **Install:** - > `sudo apt install prometheus` + > `sudo apt install prometheus/bullseye-backports` * **Config:** Enable _unbound-exporter_ scraping in prometheus. A trimmed down prometheus config, `prometheus.yml` is available in the release. Take a backup of existing _prometheus.yml_, if you are interested in the default config. Copy `prometheus.yml` from the release to `/etc/prometheus/` dir. From 1eeea9bce94c80e2c4552aeb49d77a6a2df6eee0 Mon Sep 17 00:00:00 2001 From: AA Date: Wed, 30 Aug 2023 03:23:35 -0400 Subject: [PATCH 03/11] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c534db9..d58eaf6 100644 --- a/README.md +++ b/README.md @@ -125,12 +125,12 @@ #### ❯ Loki * **Download:** Download `Loki` and `Promtail` - > `curl -O -L "https://github.com/grafana/loki/releases/download/v2.7.3/loki_2.7.3_arm64.deb"` - > `curl -O -L "https://github.com/grafana/loki/releases/download/v2.7.3/promtail_2.7.3_arm64.deb"` + > `curl -O -L "https://github.com/grafana/loki/releases/download/v2.8.4/loki_2.8.4_arm64.deb"` + > `curl -O -L "https://github.com/grafana/loki/releases/download/v2.8.4/promtail_2.8.4_arm64.deb"` * **Install:** - > `sudo dpkg -i loki_2.7.3_arm64.deb` - > `sudo dpkg -i promtail_2.7.3_arm64.deb` + > `sudo dpkg -i loki_2.8.4_arm64.deb` + > `sudo dpkg -i promtail_2.8.4_arm64.deb` * **Logging:** Enable Unbound logging. From d7f4f99fbc866948ff937701863e4bbec63e709d Mon Sep 17 00:00:00 2001 From: AA Date: Mon, 4 Sep 2023 13:14:09 -0400 Subject: [PATCH 04/11] Update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d58eaf6..4238f9c 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ 🔸 Unbound metrics exporter in `Go` 🔸 Log aggregation with `Loki` 🔸 Unbound `setup` is available at [unbound-redis](https://github.com/ar51an/unbound-redis) -🔸 Refer to `info.md` for dashboard details +🔸 Refer to `info.md` for dashboard details and `release.md` for release notes #### Specs: > |Grafana|Prometheus|Loki |Go |OS |HW | @@ -66,6 +66,12 @@ * **Install:** > `sudo apt install prometheus/bullseye-backports` + > `ℹ️` **Note:** + > **Enable backports:** + > `sudo nano /etc/apt/sources.list` + > **Add at the end:** + > `deb http://deb.debian.org/debian bullseye-backports main` + * **Config:** Enable _unbound-exporter_ scraping in prometheus. A trimmed down prometheus config, `prometheus.yml` is available in the release. Take a backup of existing _prometheus.yml_, if you are interested in the default config. Copy `prometheus.yml` from the release to `/etc/prometheus/` dir. @@ -76,7 +82,7 @@ Node exporter exports machine metrics. It is installed as part of prometheus pkg and runs as systemd service. It is not needed for _unbound-dashboard_. Unless you are already using it, remove node exporter. Below cmd will remove 8 node-exporter related pkgs. > **Remove:** > `sudo apt --purge autoremove prometheus-node-exporter` - > **Disable Scrape Config:** + > **Disable scrape config:** > Provided `prometheus.yml` has _node_ exporter scrapping config removed. * **UI:** From 1b00200123ce56f81b5900dfd52e44edfcbc191c Mon Sep 17 00:00:00 2001 From: AA Date: Mon, 4 Sep 2023 13:16:49 -0400 Subject: [PATCH 05/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4238f9c..3b39598 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ 🔸 Unbound metrics exporter in `Go` 🔸 Log aggregation with `Loki` 🔸 Unbound `setup` is available at [unbound-redis](https://github.com/ar51an/unbound-redis) -🔸 Refer to `info.md` for dashboard details and `release.md` for release notes +🔸 Refer to `info.md` for dashboard details and `release.md` for changes #### Specs: > |Grafana|Prometheus|Loki |Go |OS |HW | From f970480c1b6e5f4f8b5eca8819f60bd0df88c918 Mon Sep 17 00:00:00 2001 From: AA Date: Mon, 4 Sep 2023 13:23:36 -0400 Subject: [PATCH 06/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b39598..d92b62c 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ 🔸 Unbound metrics exporter in `Go` 🔸 Log aggregation with `Loki` 🔸 Unbound `setup` is available at [unbound-redis](https://github.com/ar51an/unbound-redis) -🔸 Refer to `info.md` for dashboard details and `release.md` for changes +🔸 Refer to `info.md` for dashboard details & `release.md` for changes #### Specs: > |Grafana|Prometheus|Loki |Go |OS |HW | From 6009f9c871c12af9487c3a0b2aa5822f52217738 Mon Sep 17 00:00:00 2001 From: AA Date: Mon, 4 Sep 2023 13:24:30 -0400 Subject: [PATCH 07/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d92b62c..3b39598 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ 🔸 Unbound metrics exporter in `Go` 🔸 Log aggregation with `Loki` 🔸 Unbound `setup` is available at [unbound-redis](https://github.com/ar51an/unbound-redis) -🔸 Refer to `info.md` for dashboard details & `release.md` for changes +🔸 Refer to `info.md` for dashboard details and `release.md` for changes #### Specs: > |Grafana|Prometheus|Loki |Go |OS |HW | From 2f2f01ce435dd366f9bf609db13f9d99f38f51e5 Mon Sep 17 00:00:00 2001 From: AA Date: Mon, 4 Sep 2023 13:53:30 -0400 Subject: [PATCH 08/11] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3b39598..193476c 100644 --- a/README.md +++ b/README.md @@ -63,10 +63,10 @@ # #### ❯ Prometheus -* **Install:** +* **Install:** + Install prometheus (2.33.5) from RaspiOS bullseye backports. Make sure backports are enabled. > `sudo apt install prometheus/bullseye-backports` - > `ℹ️` **Note:** > **Enable backports:** > `sudo nano /etc/apt/sources.list` > **Add at the end:** From 86c19e5d8792a08a89281f394b08eacc76fff8fe Mon Sep 17 00:00:00 2001 From: AA Date: Wed, 20 Dec 2023 19:29:46 -0500 Subject: [PATCH 09/11] Update README.md --- README.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 193476c..8c04720 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,9 @@ 🔸 Refer to `info.md` for dashboard details and `release.md` for changes #### Specs: -> |Grafana|Prometheus|Loki |Go |OS |HW | -> |:------|:---------|:------|:-------|:----------------------------|:-----------------------| -> |`10.1.0`|`2.33.5` |`2.8.4`|`1.19.4`|`raspios-bullseye-arm64-lite`|`Raspberry Pi 4 Model B`| +> |Grafana |Prometheus|Loki |Go |OS |HW | +> |:-------|:---------|:------|:-------|:----------------------------|:-----------------------| +> |`10.1.0`|`2.42.0` |`2.8.4`|`1.21.5`|`raspios-bookworm-arm64-lite`|`Raspberry Pi 4 Model B`| # ### Steps @@ -64,13 +64,7 @@ # #### ❯ Prometheus * **Install:** - Install prometheus (2.33.5) from RaspiOS bullseye backports. Make sure backports are enabled. - > `sudo apt install prometheus/bullseye-backports` - - > **Enable backports:** - > `sudo nano /etc/apt/sources.list` - > **Add at the end:** - > `deb http://deb.debian.org/debian bullseye-backports main` + > `sudo apt install prometheus` * **Config:** Enable _unbound-exporter_ scraping in prometheus. A trimmed down prometheus config, `prometheus.yml` is available in the release. Take a backup of existing _prometheus.yml_, if you are interested in the default config. Copy `prometheus.yml` from the release to `/etc/prometheus/` dir. From 2eba803de81b75664c033eba90d69c11937b6c9c Mon Sep 17 00:00:00 2001 From: AA Date: Wed, 20 Dec 2023 20:08:49 -0500 Subject: [PATCH 10/11] Update release notes for 2.2 release --- release.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/release.md b/release.md index 72a40f7..6850eaf 100644 --- a/release.md +++ b/release.md @@ -1,4 +1,9 @@ #### Release Notes: +* **2.2 Release:** + Updated dashboard to support Grafana 10.1.0 + unbound-exporter compiled with Golang 1.21.5 + Updated documentation to reflect RaspberryPi OS Bookworm changes + * **2.1 Release:** Improved dashboard with new panels. To update from 2.0 to 2.1, simply delete the current dashboard and import the new dashboard json in Grafana. From d362140acaea3047ea0d2fa47a76e73a773d8b9c Mon Sep 17 00:00:00 2001 From: AA Date: Wed, 20 Dec 2023 20:09:08 -0500 Subject: [PATCH 11/11] Update release.md --- release.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.md b/release.md index 6850eaf..a79b5c1 100644 --- a/release.md +++ b/release.md @@ -1,7 +1,7 @@ #### Release Notes: * **2.2 Release:** Updated dashboard to support Grafana 10.1.0 - unbound-exporter compiled with Golang 1.21.5 + unbound-exporter compiled with Golang 1.21.5 Updated documentation to reflect RaspberryPi OS Bookworm changes * **2.1 Release:**