remove single quotes

This commit is contained in:
m0duspwnens
2021-07-08 17:04:41 -04:00
parent b265c7dcb7
commit 4e47d3f458
9 changed files with 28 additions and 28 deletions

View File

@@ -57,13 +57,13 @@
{ {
"type": "math", "type": "math",
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
] ]
} }
] ]
], ],
"measurement": "docker_container_cpu", "measurement": "docker_container_cpu",
"query": "SELECT mean(\"usage_percent\") /'$cpucount' FROM \"docker_container_cpu\" WHERE (\"host\" = '$servername' AND \"container_name\" = 'so-elasticsearch') AND $timeFilter GROUP BY time($__interval) fill(null)", "query": "SELECT mean(\"usage_percent\") / $cpucount FROM \"docker_container_cpu\" WHERE (\"host\" = '$servername' AND \"container_name\" = 'so-elasticsearch') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": false, "rawQuery": false,
"hide": false, "hide": false,
"alias": "elasticsearch" "alias": "elasticsearch"
@@ -116,7 +116,7 @@
{ {
"type": "math", "type": "math",
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
] ]
} }
] ]
@@ -172,7 +172,7 @@
{ {
"type": "math", "type": "math",
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
] ]
} }
] ]
@@ -228,7 +228,7 @@
{ {
"type": "math", "type": "math",
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
] ]
} }
] ]
@@ -284,7 +284,7 @@
{ {
"type": "math", "type": "math",
"params": [ "params": [
"/'$cpucount'" "/ $cpucount "
] ]
} }
] ]
@@ -340,7 +340,7 @@
{ {
"type": "math", "type": "math",
"params": [ "params": [
"/'$cpucount'" "/ $cpucount "
] ]
} }
] ]
@@ -396,7 +396,7 @@
{ {
"type": "math", "type": "math",
"params": [ "params": [
"/'$cpucount'" "/ $cpucount "
] ]
} }
] ]
@@ -452,7 +452,7 @@
{ {
"type": "math", "type": "math",
"params": [ "params": [
"/'$cpucount'" "/ $cpucount "
] ]
} }
] ]
@@ -508,7 +508,7 @@
{ {
"type": "math", "type": "math",
"params": [ "params": [
"/'$cpucount'" "/ $cpucount "
] ]
} }
] ]

View File

@@ -91,7 +91,7 @@
}, },
{ {
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
], ],
"type": "math" "type": "math"
} }
@@ -148,7 +148,7 @@
}, },
{ {
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
], ],
"type": "math" "type": "math"
} }

View File

@@ -88,7 +88,7 @@
}, },
{ {
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
], ],
"type": "math" "type": "math"
} }
@@ -144,7 +144,7 @@
}, },
{ {
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
], ],
"type": "math" "type": "math"
} }

View File

@@ -88,7 +88,7 @@
}, },
{ {
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
], ],
"type": "math" "type": "math"
} }
@@ -144,7 +144,7 @@
}, },
{ {
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
], ],
"type": "math" "type": "math"
} }

View File

@@ -88,7 +88,7 @@
}, },
{ {
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
], ],
"type": "math" "type": "math"
} }
@@ -144,7 +144,7 @@
}, },
{ {
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
], ],
"type": "math" "type": "math"
} }

View File

@@ -72,7 +72,7 @@
"measurement": "docker_container_cpu", "measurement": "docker_container_cpu",
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "policy": "default",
"query": "SELECT mean(\"usage_percent\") /'$cpucount' FROM \"docker_container_cpu\" WHERE (\"host\" = '$servername' AND \"container_name\" = 'so-redis') AND $timeFilter GROUP BY time($__interval) fill(null)", "query": "SELECT mean(\"usage_percent\") / $cpucount FROM \"docker_container_cpu\" WHERE (\"host\" = '$servername' AND \"container_name\" = 'so-redis') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": false, "rawQuery": false,
"refId": "A", "refId": "A",
"resultFormat": "time_series", "resultFormat": "time_series",
@@ -90,7 +90,7 @@
}, },
{ {
"params": [ "params": [
"/'$cpucount'" "/ $cpucount "
], ],
"type": "math" "type": "math"
} }
@@ -130,7 +130,7 @@
"measurement": "docker_container_cpu", "measurement": "docker_container_cpu",
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "so_long_term", "policy": "so_long_term",
"query": "SELECT mean(\"usage_percent\") /'$cpucount' FROM \"docker_container_cpu\" WHERE (\"host\" = '$servername' AND \"container_name\" = 'so-redis') AND $timeFilter GROUP BY time($__interval) fill(null)", "query": "SELECT mean(\"usage_percent\") / $cpucount FROM \"docker_container_cpu\" WHERE (\"host\" = '$servername' AND \"container_name\" = 'so-redis') AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": false, "rawQuery": false,
"refId": "B", "refId": "B",
"resultFormat": "time_series", "resultFormat": "time_series",
@@ -148,7 +148,7 @@
}, },
{ {
"params": [ "params": [
"/'$cpucount'" "/ $cpucount "
], ],
"type": "math" "type": "math"
} }

View File

@@ -82,7 +82,7 @@
}, },
{ {
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
], ],
"type": "math" "type": "math"
} }
@@ -139,7 +139,7 @@
}, },
{ {
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
], ],
"type": "math" "type": "math"
} }

View File

@@ -91,7 +91,7 @@
}, },
{ {
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
], ],
"type": "math" "type": "math"
} }
@@ -148,7 +148,7 @@
}, },
{ {
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
], ],
"type": "math" "type": "math"
} }

View File

@@ -91,7 +91,7 @@
}, },
{ {
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
], ],
"type": "math" "type": "math"
} }
@@ -148,7 +148,7 @@
}, },
{ {
"params": [ "params": [
" /'$cpucount'" " / $cpucount "
], ],
"type": "math" "type": "math"
} }