Skip to content

Commit

Permalink
updated job filters to use regex
Browse files Browse the repository at this point in the history
  • Loading branch information
algchoo committed Mar 8, 2024
1 parent 85e0035 commit 67f1746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dashboards/jenkins/jenkins-prometheus.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"plotType": "LINE",
"targetAxis": "Y1",
"timeSeriesQuery": {
"prometheusQuery": "(vm_memory_total_max{job=\"jenkins-metrics\",${Cluster},${Location},${Namespace}} - vm_memory_total_used{job=\"jenkins-metrics\",${Cluster},${Location},${Namespace}}) / vm_memory_total_max{job=\"jenkins-metrics\",${Cluster},${Location},${Namespace}} * 100.0",
"prometheusQuery": "(vm_memory_total_max{job=~\".*jenkins.*\",${Cluster},${Location},${Namespace}} - vm_memory_total_used{job=~\".*jenkins.*\",${Cluster},${Location},${Namespace}}) / vm_memory_total_max{job=~\".*jenkins.*\",${Cluster},${Location},${Namespace}} * 100.0",
"unitOverride": ""
}
}
Expand Down Expand Up @@ -468,7 +468,7 @@
"plotType": "LINE",
"targetAxis": "Y1",
"timeSeriesQuery": {
"prometheusQuery": "vm_cpu_load{job=\"jenkins-metrics\",${Cluster},${Location},${Namespace}}",
"prometheusQuery": "vm_cpu_load{job=~\".*jenkins.*\",${Cluster},${Location},${Namespace}}",
"unitOverride": ""
}
}
Expand Down

0 comments on commit 67f1746

Please sign in to comment.