Compare commits

..

No commits in common. "5a346cd8564e663572e647db873b9ae5d9e7cf99" and "f2258ac79c1e1ca76640b1acdbe9a92cf3f3092b" have entirely different histories.

2 changed files with 5 additions and 5 deletions

View file

@ -83,7 +83,7 @@ in
notification = {
topic = "splitleaf";
priority = "default";
templates.title = ''{{ if eq .Status "firing" }}{{ index .Annotations "summary" }}{{ else }}{{ index .Annotations "summary_resolved" }}{{ end }}'';
templates.title = ''{{ index .Annotations "summary" }}'';
tags = [
{
condition = ''status == "resolved"'';

View file

@ -97,7 +97,7 @@ in
labels.severity = "critical";
annotations = {
summary = "${hostName} is DOWN";
summary_resolved = "${hostName} is up again";
description = "${hostName} has not reported any metrics for more than 2 minutes.";
};
})
)
@ -108,7 +108,7 @@ in
for = "2m";
annotations = {
summary = "{{ $labels.job }} on {{ $labels.instance }} is DOWN";
summary_resolved = "{{ $labels.job }} on {{ $labels.instance }} is up again";
description = "{{ $labels.job }} on {{ $labels.instance }} has been down for more than 2 minutes.";
};
}
{
@ -116,7 +116,7 @@ in
expr = ''comin_deployment_info{status!="done"}'';
annotations = {
summary = "{{ $labels.instance }} deployment failed";
summary_resolved = "{{ $labels.instance }} deployment recovered";
description = "The deployment of {{ $labels.instance }} with comin is failing.";
};
}
{
@ -125,7 +125,7 @@ in
for = "10m";
annotations = {
summary = "Hosts are running different commits";
summary_resolved = "All hosts are running the same commit again";
description = "Not all hosts are running the same git commit, which may indicate a failed deployment and could lead to incompatible configurations.";
};
}
];