Skip to content

Commit

Permalink
Mixins: use old aliased operators-guide/mimir-runbooks url (#5301)
Browse files Browse the repository at this point in the history
Users install the mixin from main branch which points to the
new manage/mimir-runbooks, but the latest documentation still has
the old link to operators-guide/mimir-runbooks.

Even if we forget to update the link it will work after the next release
due to aliases.

Signed-off-by: György Krajcsovits <[email protected]>
  • Loading branch information
krajorama authored Jun 21, 2023
1 parent 2aaa28c commit 9825600
Show file tree
Hide file tree
Showing 10 changed files with 223 additions and 222 deletions.
1 change: 1 addition & 0 deletions docs/sources/mimir/manage/mimir-runbooks/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
aliases:
# Do not remove this alias before the new location is released to "latest" documentation and mixins are updated.
- ../operators-guide/mimir-runbooks/
description: Grafana Mimir runbooks.
keywords:
Expand Down

Large diffs are not rendered by default.

144 changes: 72 additions & 72 deletions operations/mimir-mixin-compiled-baremetal/alerts.yaml

Large diffs are not rendered by default.

144 changes: 72 additions & 72 deletions operations/mimir-mixin-compiled/alerts.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion operations/mimir-mixin/alerts/alertmanager.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,5 @@
},
],

groups+: $.withRunbookURL('https://grafana.com/docs/mimir/latest/manage/mimir-runbooks/#%s', alertGroups),
groups+: $.withRunbookURL('https://grafana.com/docs/mimir/latest/operators-guide/mimir-runbooks/#%s', alertGroups),
}
2 changes: 1 addition & 1 deletion operations/mimir-mixin/alerts/alerts.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -759,5 +759,5 @@ local utils = import 'mixin-utils/utils.libsonnet';
},
],

groups+: $.withRunbookURL('https://grafana.com/docs/mimir/latest/manage/mimir-runbooks/#%s', alertGroups),
groups+: $.withRunbookURL('https://grafana.com/docs/mimir/latest/operators-guide/mimir-runbooks/#%s', alertGroups),
}
2 changes: 1 addition & 1 deletion operations/mimir-mixin/alerts/autoscaling.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@
},
],

groups+: $.withRunbookURL('https://grafana.com/docs/mimir/latest/manage/mimir-runbooks/#%s', alertGroups),
groups+: $.withRunbookURL('https://grafana.com/docs/mimir/latest/operators-guide/mimir-runbooks/#%s', alertGroups),
}
2 changes: 1 addition & 1 deletion operations/mimir-mixin/alerts/blocks.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -246,5 +246,5 @@
},
],

groups+: $.withRunbookURL('https://grafana.com/docs/mimir/latest/manage/mimir-runbooks/#%s', alertGroups),
groups+: $.withRunbookURL('https://grafana.com/docs/mimir/latest/operators-guide/mimir-runbooks/#%s', alertGroups),
}
2 changes: 1 addition & 1 deletion operations/mimir-mixin/alerts/compactor.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,5 @@
},
],

groups+: $.withRunbookURL('https://grafana.com/docs/mimir/latest/manage/mimir-runbooks/#%s', alertGroups),
groups+: $.withRunbookURL('https://grafana.com/docs/mimir/latest/operators-guide/mimir-runbooks/#%s', alertGroups),
}
2 changes: 1 addition & 1 deletion operations/mimir-mixin/alerts/continuous-test.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
},
],

groups+: $.withRunbookURL('https://grafana.com/docs/mimir/latest/manage/mimir-runbooks/#%s', alertGroups),
groups+: $.withRunbookURL('https://grafana.com/docs/mimir/latest/operators-guide/mimir-runbooks/#%s', alertGroups),
}

0 comments on commit 9825600

Please sign in to comment.