Skip to content

Commit

Permalink
controller: use full link for playbook
Browse files Browse the repository at this point in the history
  • Loading branch information
talal committed Aug 18, 2020
1 parent 5528419 commit ca7abac
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ For usage instructions:
$ absent-metrics-operator --help
```

You can disable the the operator for a specific `PrometheusRule` or a specific alert definition, refer to the [operator's Playbook](./doc/playbook.md) for more info.
You can disable the the operator for a specific `PrometheusRule` or a specific alert definition, refer to the [operator's playbook](./doc/playbook.md) for more info.

### Metrics

Expand Down
2 changes: 1 addition & 1 deletion internal/controller/alert_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (c *Controller) ParseAlertRule(tier, service string, in monitoringv1.Rule)
// Default labels
lab := map[string]string{
"severity": "info",
"playbook": "https://git.io/absent-metrics-operator-playbook",
"playbook": "https://github.com/sapcc/absent-metrics-operator/blob/master/doc/playbook.md",
}

// Carry over labels from the original alert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var kepLab = map[string]string{
"tier": "os",
"service": "keppel",
"severity": "info",
"playbook": "https://git.io/absent-metrics-operator-playbook",
"playbook": "https://github.com/sapcc/absent-metrics-operator/blob/master/doc/playbook.md",
}

// ResMgmtK8sAbsentPromRule represents the PrometheusRule that should be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var limesLab = map[string]string{
"tier": "os",
"service": "limes",
"severity": "info",
"playbook": "https://git.io/absent-metrics-operator-playbook",
"playbook": "https://github.com/sapcc/absent-metrics-operator/blob/master/doc/playbook.md",
}

// ResMgmtOSAbsentPromRule represents the PrometheusRule that should be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var swiftLab = map[string]string{
"tier": "os",
"service": "swift",
"severity": "info",
"playbook": "https://git.io/absent-metrics-operator-playbook",
"playbook": "https://github.com/sapcc/absent-metrics-operator/blob/master/doc/playbook.md",
}

// SwiftOSAbsentPromRule represents the PrometheusRule that should be generated
Expand Down

0 comments on commit ca7abac

Please sign in to comment.