Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
[Grafana dashboard] Use correct label matching operators (#269)
Browse files Browse the repository at this point in the history
- Fixes some of the places where regex was used but the matching
  operator was = instead of =~

Signed-off-by: Bhavin Gandhi <[email protected]>
  • Loading branch information
bhavin192 authored and Joseph-Irving committed Aug 1, 2019
1 parent d999e61 commit 6057c19
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/dashboard-prom.json
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,7 @@
"tableColumn": "",
"targets": [
{
"expr": "max(kube_daemonset_status_desired_number_scheduled{namespace=\"$namespace\",daemonset=\".*kiam-server\"}) without (instance, pod)",
"expr": "max(kube_daemonset_status_desired_number_scheduled{namespace=\"$namespace\",daemonset=~\".*kiam-server\"}) without (instance, pod)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
Expand Down Expand Up @@ -1664,7 +1664,7 @@
"tableColumn": "",
"targets": [
{
"expr": "min(kube_daemonset_status_number_available{namespace=\"$namespace\",daemonset=\".*kiam-agent\"}) without (instance, pod)",
"expr": "min(kube_daemonset_status_number_available{namespace=\"$namespace\",daemonset=~\".*kiam-agent\"}) without (instance, pod)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
Expand Down Expand Up @@ -1926,7 +1926,7 @@
"tableColumn": "",
"targets": [
{
"expr": "max(kube_daemonset_status_desired_number_scheduled{namespace=\"$namespace\",daemonset=\".*kiam-agent\"}) without (instance, pod)",
"expr": "max(kube_daemonset_status_desired_number_scheduled{namespace=\"$namespace\",daemonset=~\".*kiam-agent\"}) without (instance, pod)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
Expand Down Expand Up @@ -2930,4 +2930,4 @@
"title": "Kiam",
"uid": "000000070",
"version": 32
}
}

0 comments on commit 6057c19

Please sign in to comment.