1
0
Fork 0
mirror of synced 2024-11-22 00:45:34 -05:00

Fixed some expr when count in use

Change-Id: Ibd097f0b7b60ffd71f862d8125105d4b965a2831
Closes-Bug: PROD-23762
This commit is contained in:
Mateusz Matuszkowiak 2018-10-08 12:32:26 +02:00
parent 1dc8d94353
commit bac644f7b5

View file

@ -98,7 +98,7 @@
"tableColumn": "",
"targets": [
{
"expr": "100*count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-controller-manager\"})/count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-controller-manager\"} == 1)",
"expr": "100*count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-controller-manager\"} == 1)/count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-controller-manager\"})",
"format": "time_series",
"intervalFactor": 2,
"metric": "elasticsearch_cluster_health_status",
@ -372,7 +372,7 @@
"tableColumn": "",
"targets": [
{
"expr": "100*count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-apiserver\"})/count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-apiserver\"} == 1)",
"expr": "100*count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-apiserver\"} == 1)/count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-apiserver\"})",
"format": "time_series",
"intervalFactor": 2,
"metric": "elasticsearch_cluster_health_status",
@ -474,7 +474,7 @@
"tableColumn": "",
"targets": [
{
"expr": "100*count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-scheduler\"})/count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-scheduler\"} == 1)",
"expr": "100*count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-scheduler\"} == 1)/count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-scheduler\"})",
"format": "time_series",
"intervalFactor": 2,
"metric": "elasticsearch_cluster_health_status",
@ -576,7 +576,7 @@
"tableColumn": "",
"targets": [
{
"expr": "100*count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-proxy\"})/count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-proxy\"} == 1)",
"expr": "100*count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-proxy\"} == 1)/count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-proxy\"})",
"format": "time_series",
"intervalFactor": 2,
"metric": "elasticsearch_cluster_health_status",
@ -678,7 +678,7 @@
"tableColumn": "",
"targets": [
{
"expr": "100*count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-kubelet\"})/count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-kubelet\"} == 1)",
"expr": "100*count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-kubelet\"} == 1)/count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-kubelet\"})",
"format": "time_series",
"intervalFactor": 2,
"metric": "elasticsearch_cluster_health_status",