-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update linkerd-stable-mixin to monitoring-mixins-v1.6.0 (#620)
Signed-off-by: Nicolas Lamirault <[email protected]> Co-authored-by: Nicolas Lamirault <[email protected]>
- Loading branch information
1 parent
5e52069
commit d5fd9b8
Showing
3 changed files
with
15 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,3 @@ | ||
# Copyright (C) Nicolas Lamirault <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
--- | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: PrometheusRule | ||
|
@@ -29,17 +13,14 @@ metadata: | |
{{- end }} | ||
spec: | ||
groups: | ||
- name: linkerd | ||
rules: | ||
- alert: LinkerdRequestsHighErrorRate | ||
annotations: | ||
message: Linkerd error rate for {{`{{`}} $labels.deployment | $labels.statefulset | ||
| $labels.daemonset {{`}}`}}. | ||
runbook_url: https://github.com/nlamiraut/monitoring-mixins/tree/master/mixins/linkerd-stable-mixin/runbook.md#alert-name-linkerdrequestshigherrorrate | ||
summary: Linkerd have high error rate for more than 10 minutes. | ||
expr: sum(rate(request_errors_total[1m])) by (deployment, statefulset, daemonset) | ||
/ sum(rate(request_total[1m])) by (deployment, statefulset, daemonset) * 100 | ||
> 10 | ||
for: 10m | ||
labels: | ||
severity: warning | ||
- name: linkerd | ||
rules: | ||
- alert: LinkerdRequestsHighErrorRate | ||
annotations: | ||
message: Linkerd error rate for {{`{{`}} $labels.deployment | $labels.statefulset | $labels.daemonset {{`}}`}}. | ||
runbook_url: https://github.com/nlamiraut/monitoring-mixins/tree/master/mixins/linkerd-stable-mixin/runbook.md#alert-name-linkerdrequestshigherrorrate | ||
summary: Linkerd have high error rate for more than 10 minutes. | ||
expr: sum(rate(request_errors_total[1m])) by (deployment, statefulset, daemonset) / sum(rate(request_total[1m])) by (deployment, statefulset, daemonset) * 100 > 10 | ||
for: 10m | ||
labels: | ||
severity: warning |
16 changes: 0 additions & 16 deletions
16
charts/linkerd-stable-mixin/templates/configmap-dashboards.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,3 @@ | ||
# Copyright (C) Nicolas Lamirault <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
--- | ||
{{- $files := .Files.Glob "dashboards/*.json" }} | ||
{{- if $files }} | ||
|