Compare commits

..
Author SHA1 Message Date
Linus Gasser 625c15f675 Increase timeout for healthcheck 2026-09-17 16:44:51 +02:00
simon 0eab632ec4 chore: publish 2.1.0+v1.18.1 release 2026-09-17 16:05:27 +02:00
simon e5f57c97f1 Split image tags, relabel journald logs (#30)
Reviewed-on: coop-cloud/monitoring-ng#30
Reviewed-by: ammaratef45 <ammaratef45@proton.me>
Co-authored-by: Simon <s.thiessen@local-it.org>
2026-09-17 13:38:45 +00:00
4 changed files with 5 additions and 13 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ export PROMETHEUS_YML_VERSION=v2
export MATRIX_ALERTMANAGER_CONFIG_VERSION=v1
export MATRIX_ALERTMANAGER_ENTRYPOINT_VERSION=v1
export GF_ALERTS_NODE_VERSION=v3
export CONFIG_ALLOY_VERSION=v2
export CONFIG_ALLOY_VERSION=v3
# 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.
+3 -3
View File
@@ -46,14 +46,14 @@ services:
test: ["CMD", "bash", "-c", "exec 3<>/dev/tcp/localhost/12345 && printf 'GET /-/ready HTTP/1.0\r\nHost: localhost\r\n\r\n' >&3 && head -1 <&3 | grep -q 200"]
interval: 5s
timeout: 10s
retries: 3
start_period: 10s
retries: 10
start_period: 30s
deploy:
restart_policy:
condition: on-failure
labels:
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
- "coop-cloud.${STACK_NAME}.version=2.0.0+v1.18.1"
- "coop-cloud.${STACK_NAME}.version=2.1.0+v1.18.1"
configs:
config_alloy:
template_driver: golang
-9
View File
@@ -134,11 +134,6 @@ discovery.relabel "metrics" {
action = "keep"
}
rule {
action = "labelmap"
regex = "__meta_dockerswarm_container_label_coop_cloud_(.+)"
}
// default to port 80 when prometheus.io/port isn't set
rule {
source_labels = ["__meta_dockerswarm_service_label_prometheus_io_port"]
@@ -305,10 +300,6 @@ discovery.relabel "docker" {
source_labels = ["__meta_docker_container_log_stream"]
target_label = "stream"
}
rule {
action = "labelmap"
regex = "__meta_docker_container_label_coop_cloud_(.+)"
}
}
loki.source.docker "docker" {
+1
View File
@@ -0,0 +1 @@
alloy: split image label in "image_name" and "image_tag", relabel journald logs and drop NetworkDB stats