Compare commits

...
32 Commits
Author SHA1 Message Date
p4u1 2a44172802 chore: publish 2.5.1+v1.22.0 release 2026-11-25 17:39:54 +01:00
renovate-bot f8ecb16747 chore(deps): update docker docker tag to v29.10.1 (#41)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| docker | minor | `29.8.1-cli` -> `29.10.1-cli` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #41
Co-authored-by: Renovate Bot <renovate@coopcloud.tech>
2026-11-25 16:37:26 +00:00
renovate-bot 450e9ccbd9 chore(deps): update grafana/loki docker tag to v3.7.10 (#64)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| grafana/loki | patch | `3.7.9` -> `3.7.10` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #64
Co-authored-by: Renovate Bot <renovate@coopcloud.tech>
2026-11-25 16:37:07 +00:00
renovate-bot 3f00ab419c chore(deps): update grafana/grafana docker tag to v13.3.2 (#66)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [grafana/grafana](https://github.com/grafana/grafana) | patch | `13.3.1` -> `13.3.2` |

> ❗ **Important**
>
> Release Notes retrieval for this PR were skipped because no github.com credentials were available.
> If you are self-hosted, please see [this instruction](https://github.com/renovatebot/renovate/blob/master/docs/usage/examples/self-hosting.md#githubcom-token-for-release-notes).

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #66
Co-authored-by: Renovate Bot <renovate@coopcloud.tech>
2026-11-25 16:35:45 +00:00
p4u1 9667a8bd28 fix(alloy): drop logs older than 160 hours (#65)
Drop logs in alloy after 160 hours because lolki rejects logs older than 168 hours.

We ran into trouble after alloy stoped sending logs for longer than 168 hours and then started sending again.

Reviewed-on: #65
Reviewed-by: ammaratef45 <ammaratef45@proton.me>
Reviewed-by: Danny Groenewegen <247+dannygroenewegen@noreply.git.coopcloud.tech>
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
2026-11-25 16:34:50 +00:00
fauno 4ea9d93708 chore: publish 2.5.0+v1.22.0 release 2026-11-23 22:52:24 -03:00
fauno fba77aa399 chore(deps): update grafana/grafana docker tag to v13.3.1 (#62)
Reviewed-on: #62
Reviewed-by: fauno <fauno@sutty.coop.ar>
2026-11-24 01:51:41 +00:00
fauno d97304c1a1 chore(deps): update grafana/alloy docker tag to v1.22.0 (#63)
Reviewed-on: #63
Reviewed-by: fauno <fauno@sutty.coop.ar>
2026-11-24 01:51:02 +00:00
renovate-bot 875538921f chore(deps): update grafana/alloy docker tag to v1.22.0 2026-11-13 04:19:16 +00:00
renovate-bot c58f6a82db chore(deps): update grafana/grafana docker tag to v13.3.1 2026-11-10 18:17:35 +00:00
fauno e11237ecc6 feat: codeowners (#61)
Reviewed-on: #61
Reviewed-by: ammaratef45 <ammaratef45@proton.me>
Reviewed-by: Danny Groenewegen <247+dannygroenewegen@noreply.git.coopcloud.tech>
2026-11-08 14:41:16 +00:00
fauno 9b9a9f886f feat: codeowners 2026-11-05 15:43:18 -03:00
fauno 264c12025b chore: publish 2.4.0+v1.21.3 release 2026-11-05 15:40:05 -03:00
fauno 3fcd3d1bbb chore(deps): update prom/prometheus docker tag to v3.16.0 (#60)
Reviewed-on: #60
Reviewed-by: fauno <fauno@sutty.coop.ar>
2026-11-05 18:39:46 +00:00
fauno 33c2614aaf chore: publish 2.3.2+v1.21.3 release 2026-11-05 15:36:02 -03:00
fauno 400e0d71d1 fix: smartctl needs access to /dev closes #52 (#59)
Reviewed-on: #59
Reviewed-by: ammaratef45 <ammaratef45@proton.me>
2026-11-05 18:33:31 +00:00
fauno 085992dab0 fix: remove unneeded flag 2026-11-05 15:30:11 -03:00
fauno 40d31a535f fix: read only access 2026-11-05 15:30:02 -03:00
renovate-bot cb180f575c chore(deps): update prom/prometheus docker tag to v3.16.0 2026-11-05 16:15:55 +00:00
fauno 6db3afa97c fix: smartctl needs access to /dev closes #52 2026-11-03 18:42:58 -03:00
simon b6731345eb docs: remove <details> shenanigans 2026-11-03 18:27:07 +01:00
simon b517d8a4bc docs: improve matrix bot readme 2026-11-03 18:21:12 +01:00
p4u1 53a97128f7 feat(matrix): show more information in matrix alerts (#47)
Reviewed-on: #47
Reviewed-by: fauno <fauno@sutty.coop.ar>
Reviewed-by: simon <135+simon@noreply.git.coopcloud.tech>
Reviewed-by: ammaratef45 <ammaratef45@proton.me>
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
2026-11-02 16:18:14 +00:00
moritz ee6bd829c3 chore: publish 2.3.1+v1.21.3 release 2026-10-30 16:45:12 +01:00
ineiti f54ab853ad Update abra.sh (#57)
I updated to the latest monitoring-ng version, and got the following error:

```
FATA failed to create config stats_something_gf_alerts_traefik_: Error response from daemon: rpc error: code = InvalidArgument desc = invalid name, only 64 [a-zA-Z0-9-_.] characters allowed, and the start and end character must be [a-zA-Z0-9]
```

It seems that abra.sh is missing an export of a new variable.

Reviewed-on: #57
Reviewed-by: moritz <98+moritz@noreply.git.coopcloud.tech>
Co-authored-by: Linus Gasser <ineiti@gasser.blue>
2026-10-30 15:44:10 +00:00
fauno f130a61bd2 chore: publish 2.3.0+v1.21.3 release 2026-10-30 11:08:21 -03:00
fauno 7d7060c308 fix: unless-stopped is not a restart policy supported by swarm 2026-10-30 11:07:49 -03:00
fauno d3cc5977db chore(deps): update grafana/grafana docker tag to v13.3.0 (#50)
Reviewed-on: #50
Reviewed-by: fauno <fauno@sutty.coop.ar>
2026-10-30 14:07:10 +00:00
fauno 05b5b3d742 chore(deps): update grafana/alloy docker tag to v1.21.3 (#51)
Reviewed-on: #51
Reviewed-by: fauno <fauno@sutty.coop.ar>
2026-10-30 14:05:57 +00:00
fauno 09dd411989 feat: opt-in Loki index store migration from deprecated boltdb-shipper to TSDB (#56)
Reviewed-on: #56
Reviewed-by: fauno <fauno@sutty.coop.ar>
2026-10-30 13:54:54 +00:00
renovate-bot 6ec83806e1 chore(deps): update grafana/alloy docker tag to v1.21.3 2026-10-30 07:20:43 +00:00
renovate-bot d6f5e7ebf6 chore(deps): update grafana/grafana docker tag to v13.3.0 2026-10-27 09:16:38 +00:00
14 changed files with 61 additions and 25 deletions
+2
View File
@@ -1 +1,3 @@
.*smartctl.* @fauno
compose\.docker-events\.yml @simon
* @coop-cloud/monitoring-ng-maintainers
+15 -6
View File
@@ -166,19 +166,28 @@ THX to the previous work of @decentral1se @knooflok @3wc @cellarspoon @mirsal
```
COMPOSE_FILE="$COMPOSE_FILE:compose.matrix-alertmanager-receiver.yml"
```
2. Create a matrix bot account and get an access token:
2. Insert the matrix access token secret:
```
abra app run matrix.example.com app -- sh -c 'register_new_matrix_user -u <botusername> --no-admin -k "$(cat /var/run/secrets/registration)" http://localhost:8008'
curl -XPOST --json '{"type": "m.login.password", "identifier": {"user": "botusername", "type": "m.id.user"}, "password": "passwordforuser"}' "https://matrix.example.com/_matrix/client/v3/login"
```
3. Insert the matrix access token secret:
```
abra app secret insert monitoring.marx.klasse-methode.it matrix_token v1
```
3. Set required configurations:
4. Set required configurations:
```
GF_MATRIX_USER_ID=
GF_MATRIX_ROOM_ID=
GF_MATRIX_HOME_SERVER_URL=
GF_MATRIX_USER_ID=<botusername>
GF_MATRIX_ROOM_ID=<room-id>
GF_MATRIX_HOME_SERVER_URL=matrix.example.com
```
4. Configure Alertmanager webhook and set the url to `http://matrix-alertmanager-receiver:12345/alerts/<room-id>`
5. Configure Alertmanager webhook:
- Create contact point under Grafana → Alerting → Contact Points → New Contact Point
- Set Integration to "Webhook"
- Set the url to `http://matrix-alertmanager-receiver:12345/alerts/<room-id>`
### Alerts
+3 -2
View File
@@ -7,11 +7,12 @@ export GF_BACKUP_DASH_VERSION=v1
export GF_CUSTOM_INI_VERSION=v4
export LOKI_YML_VERSION=v4
export PROMETHEUS_YML_VERSION=v2
export MATRIX_ALERTMANAGER_CONFIG_VERSION=v1
export MATRIX_ALERTMANAGER_CONFIG_VERSION=v2
export MATRIX_ALERTMANAGER_ENTRYPOINT_VERSION=v1
export GF_ALERTS_NODE_VERSION=v5
export GF_ALERTS_LOKI_VERSION=v5
export CONFIG_ALLOY_VERSION=v3
export CONFIG_ALLOY_VERSION=v4
export GF_ALERTS_TRAEFIK_VERSION=v1
# migrates secrets from old names to new names by reading values from the
# running containers on the server and re-inserting them under the new names.
+17 -3
View File
@@ -54,21 +54,35 @@ templating:
{{ else if .Alert.Labels.alertname }}
{{ .Alert.Labels.alertname }}
{{ end }}
{{ if .Alert.Labels.rulename }}
&rarr; <strong>{{ .Alert.Labels.rulename }}</strong>
{{ end }}
{{ if .Alert.Labels.grafana_folder }}
<em>({{ .Alert.Labels.grafana_folder }})</em>
{{ end }}
>>
{{ if .Alert.Labels.severity }}
{{ .Alert.Labels.severity | ToUpper }}:
{{ .Alert.Labels.severity | ToUpper }}:
{{ end }}
{{ if .Alert.Annotations.description }}
{{ .Alert.Annotations.description }}
{{ else if .Alert.Annotations.summary }}
{{ .Alert.Annotations.summary }}
{{ else if .Alert.Labels.rulename }}
Query {{ .Alert.Labels.ref_id }} returned no data (datasource {{ .Alert.Labels.datasource_uid }})
{{ end }}
{{ if .Alert.Labels.instance }}
on {{ .Alert.Labels.instance }}
{{ end }}
>>
{{ if .Alert.Annotations.runbook }}
<a href="{{ .Alert.Annotations.runbook }}">Runbook</a> |
<a href="{{ .Alert.Annotations.runbook }}">Runbook</a> |
{{ end }}
{{ if .Alert.Annotations.dashboard }}
<a href="{{ .Alert.Annotations.dashboard }}">Dashboard</a> |
<a href="{{ .Alert.Annotations.dashboard }}">Dashboard</a> |
{{ end }}
{{ if .GeneratorURL }}
<a href="{{ .GeneratorURL }}">Rule</a> |
{{ end }}
<a href="{{ .SilenceURL }}">Silence</a>
</p>`}}'
+1 -1
View File
@@ -1,7 +1,7 @@
version: "3.8"
services:
docker-events:
image: docker:29.8.1-cli
image: docker:29.10.1-cli
command: >
docker events
--format '{{json .}}'
+1 -1
View File
@@ -2,7 +2,7 @@ version: '3.8'
services:
grafana:
image: grafana/grafana:13.2.3
image: grafana/grafana:13.3.2
volumes:
- grafana-data:/var/lib/grafana:rw
secrets:
+1 -1
View File
@@ -2,7 +2,7 @@ version: '3.8'
services:
loki:
image: grafana/loki:3.7.9
image: grafana/loki:3.7.10
command: -config.file=/etc/loki/local-config.yaml
networks:
- proxy
+2 -2
View File
@@ -2,7 +2,7 @@ version: '3.8'
services:
prometheus:
image: prom/prometheus:v3.15.1
image: prom/prometheus:v3.16.0
secrets:
- basic_auth
volumes:
@@ -28,7 +28,7 @@ services:
start_period: 30s
deploy:
restart_policy:
condition: unless-stopped
condition: any
labels:
- "traefik.enable=true"
- "traefik.swarm.network=proxy"
+1 -1
View File
@@ -5,9 +5,9 @@ services:
image: "prometheuscommunity/smartctl-exporter:v0.15.0"
volumes:
- "/var/lib/smartmontools/json:/debug"
- "/dev:/dev:ro"
command:
- "--smartctl.fake-data"
- "--smartctl.interval=1h"
networks:
- "proxy"
deploy:
+3 -3
View File
@@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: grafana/alloy:v1.20.1
image: grafana/alloy:v1.22.0
hostname: "${DOMAIN}"
configs:
- source: config_alloy
@@ -50,10 +50,10 @@ services:
start_period: 30s
deploy:
restart_policy:
condition: unless-stopped
condition: any
labels:
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
- "coop-cloud.${STACK_NAME}.version=2.3.0+v1.20.1"
- "coop-cloud.${STACK_NAME}.version=2.5.1+v1.22.0"
configs:
config_alloy:
template_driver: golang
+12 -4
View File
@@ -306,7 +306,7 @@ loki.source.docker "docker" {
host = "unix:///var/run/docker.sock"
targets = discovery.relabel.docker.output
labels = {"app" = "docker"}
forward_to = [loki.write.loki.receiver]
forward_to = [loki.process.drop_old.receiver]
}
// JOURNALD: reads the systemd journal binary log directly.
@@ -338,7 +338,7 @@ loki.relabel "journal" {
// drop network db stats (15-20% of kernel logs)
loki.process "journal" {
forward_to = [loki.write.loki.receiver]
forward_to = [loki.process.drop_old.receiver]
stage.drop {
expression = ".*NetworkDB stats.*"
@@ -363,7 +363,7 @@ loki.process "syslog_files" {
stage.static_labels {
values = { job = "syslog" }
}
forward_to = [loki.write.loki.receiver]
forward_to = [loki.process.drop_old.receiver]
}
{{ end }}
@@ -390,10 +390,18 @@ loki.source.syslog "syslog" {
}
relabel_rules = loki.relabel.syslog.rules
forward_to = [loki.write.loki.receiver]
forward_to = [loki.process.drop_old.receiver]
}
{{ end }}
loki.process "drop_old" {
forward_to = [loki.write.loki.receiver]
stage.drop {
older_than = "160h"
}
}
loki.write "loki" {
endpoint {
url = "{{ env "LOKI_PUSH_URL" }}"
+1 -1
View File
@@ -1,2 +1,2 @@
- opt-in migration of Loki's index store from deprecated boltdb-shipper to TSDB via LOKI_TSDB_FROM_DATE
- alloy and prometheus containers restart policy from on-failure to unless-stopped
- alloy and prometheus containers restart policy from on-failure to any
+1
View File
@@ -0,0 +1 @@
smartctl exporter works again!
+1
View File
@@ -0,0 +1 @@
fixes two grafana releases: https://github.com/grafana/grafana/releases/tag/v13.3.2 and alloy drops logs older than 160 hours