Compare commits

..
3 Commits
Author SHA1 Message Date
p4u1 53a97128f7 feat(matrix): show more information in matrix alerts (#47)
Reviewed-on: coop-cloud/monitoring-ng#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: coop-cloud/monitoring-ng#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
3 changed files with 20 additions and 5 deletions
+2 -1
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 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
@@ -53,7 +53,7 @@ services:
condition: any
labels:
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
- "coop-cloud.${STACK_NAME}.version=2.3.0+v1.21.3"
- "coop-cloud.${STACK_NAME}.version=2.3.1+v1.21.3"
configs:
config_alloy:
template_driver: golang