core.http Action #5621
Unanswered
komalphadatare
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We are trying to execute core.http Action and getting below error
Error
File "/opt/stackstorm/st2/lib/python2.7/site-packages/st2actions/container/base.py", line 127, in _do_run\n (status, result, context) = runner.run(action_params)\n File "/opt/stackstorm/st2/lib/python2.7/site-packages/http_runner/http_runner.py", line 101, in run\n result = client.run()\n File "/opt/stackstorm/st2/lib/python2.7/site-packages/http_runner/http_runner.py", line 200, in run\n data = self._cast_object(self.body)\n File "/opt/stackstorm/st2/lib/python2.7/site-packages/http_runner/http_runner.py", line 300, in _cast_object\n return ast.literal_eval(value)\n File "/usr/lib64/python2.7/ast.py", line 80, in literal_eval\n return _convert(node_or_string)\n File "/usr/lib64/python2.7/ast.py", line 63, in _convert\n in zip(node.keys, node.values))\n File "/usr/lib64/python2.7/ast.py", line 62, in \n return dict((_convert(k), _convert(v)) for k, v\n File "/usr/lib64/python2.7/ast.py", line 63, in _convert\n in zip(node.keys, node.values))\n File "/usr/lib64/python2.7/ast.py", line 62, in \n return dict((_convert(k), _convert(v)) for k, v\n File "/usr/lib64/python2.7/ast.py", line 79, in _convert\n raise ValueError('malformed string')\n",
"error": "malformed string"
},
Yaml File
version: 1.0
tasks:
[246, 212]
task1:
action: core.http
input:
url: "http://af169ecb0a72a4f3a8d9d75c5d591e1d-1481925241.eu-central-1.elb.amazonaws.com:3000/api/dashboards/db"
headers:
Content-Type: application/json
Authorization: Bearer eyJrIjoiSzNmN0UwSVJobFQxbWpHcWVyclRTWGdSallvbXd4c0EiLCJuIjoiU3QyQXBpIiwiaWQiOjR9
method: POST
body: "\n{\n "dashboard":{\n "id":null,\n "uid":null,\n "title":"Sample ssscluster Name Default Dashboard",\n "timezone":"browser",\n "panels":[\n {\n "collapsed":false,\n "gridPos":{\n "h":1,\n "w":24,\n "x":0,\n "y":0\n },\n "id":33,\n "panels":[\n \n ],\n "title":"Network I/O pressure",\n "type":"row"\n },\n {\n "aliasColors":{\n \n },\n "bars":false,\n "dashLength":10,\n "dashes":false,\n "decimals":2,\n "editable":true,\n "error":false,\n "fieldConfig":{\n "defaults":{\n "links":[\n \n ]\n },\n "overrides":[\n \n ]\n },\n "fill":1,\n "fillGradient":0,\n "grid":{\n \n },\n "gridPos":{\n "h":6,\n "w":24,\n "x":0,\n "y":1\n },\n "height":"200px",\n "hiddenSeries":false,\n "id":32,\n "isNew":true,\n "legend":{\n "alignAsTable":false,\n "avg":true,\n "current":true,\n "max":false,\n "min":false,\n "rightSide":false,\n "show":false,\n "sideWidth":200,\n "sort":"current",\n "sortDesc":true,\n "total":false,\n "values":true\n },\n "lines":true,\n "linewidth":2,\n "links":[\n \n ],\n "nullPointMode":"connected",\n "options":{\n "alertThreshold":true\n },\n "percentage":false,\n "pluginVersion":"8.4.3",\n "pointradius":5,\n "points":false,\n "renderer":"flot",\n "seriesOverrides":[\n \n ],\n "spaceLength":10,\n "stack":false,\n "steppedLine":false,\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (rate (container_network_receive_bytes_total{tenant_id=
\"^$tenantId$\", project_name=\"^$projectname$\", kubernetes_io_hostname=\"^$Node$\"}[1m]))",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"Received",\n "metric":"network",\n "refId":"A",\n "step":10\n },\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"- sum (rate (container_network_transmit_bytes_total{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\",kubernetes_io_hostname=\"^$Node$\"}[1m]))",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"Sent",\n "metric":"network",\n "refId":"B",\n "step":10\n }\n ],\n "thresholds":[\n \n ],\n "timeRegions":[\n \n ],\n "title":"Network I/O pressure",\n "tooltip":{\n "msResolution":false,\n "shared":true,\n "sort":0,\n "value_type":"cumulative"\n },\n "type":"graph",\n "xaxis":{\n "mode":"time",\n "show":true,\n "values":[\n \n ]\n },\n "yaxes":[\n {\n "format":"Bps",\n "logBase":1,\n "show":true\n },\n {\n "format":"Bps",\n "logBase":1,\n "show":false\n }\n ],\n "yaxis":{\n "align":false\n }\n },\n {\n "collapsed":false,\n "gridPos":{\n "h":1,\n "w":24,\n "x":0,\n "y":7\n },\n "id":34,\n "panels":[\n \n ],\n "title":"Total usage",\n "type":"row"\n },\n {\n "fieldConfig":{\n "defaults":{\n "color":{\n "mode":"thresholds"\n },\n "mappings":[\n {\n "options":{\n "match":"null",\n "result":{\n "text":"N/A"\n }\n },\n "type":"special"\n }\n ],\n "max":100,\n "min":0,\n "thresholds":{\n "mode":"absolute",\n "steps":[\n {\n "color":"rgba(50, 172, 45, 0.97)",\n "value":null\n },\n {\n "color":"rgba(237, 129, 40, 0.89)",\n "value":65\n },\n {\n "color":"rgba(245, 54, 54, 0.9)",\n "value":90\n }\n ]\n },\n "unit":"percent"\n },\n "overrides":[\n \n ]\n },\n "gridPos":{\n "h":5,\n "w":8,\n "x":0,\n "y":8\n },\n "id":4,\n "links":[\n \n ],\n "maxDataPoints":100,\n "options":{\n "orientation":"horizontal",\n "reduceOptions":{\n "calcs":[\n "lastNotNull"\n ],\n "fields":"",\n "values":false\n },\n "showThresholdLabels":false,\n "showThresholdMarkers":true\n },\n "pluginVersion":"8.4.3",\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (container_memory_working_set_bytes{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\",id=\"/\",kubernetes_io_hostname=\"^$Node$\"}) / sum (machine_memory_bytes{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\", kubernetes_io_hostname=\"^$Node$\"}) * 100",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"",\n "refId":"A",\n "step":10\n }\n ],\n "title":"Cluster memory usage",\n "type":"gauge"\n },\n {\n "fieldConfig":{\n "defaults":{\n "color":{\n "mode":"thresholds"\n },\n "decimals":2,\n "mappings":[\n {\n "options":{\n "match":"null",\n "result":{\n "text":"N/A"\n }\n },\n "type":"special"\n }\n ],\n "max":100,\n "min":0,\n "thresholds":{\n "mode":"absolute",\n "steps":[\n {\n "color":"rgba(50, 172, 45, 0.97)",\n "value":null\n },\n {\n "color":"rgba(237, 129, 40, 0.89)",\n "value":65\n },\n {\n "color":"rgba(245, 54, 54, 0.9)",\n "value":90\n }\n ]\n },\n "unit":"percent"\n },\n "overrides":[\n \n ]\n },\n "gridPos":{\n "h":5,\n "w":8,\n "x":8,\n "y":8\n },\n "id":6,\n "links":[\n \n ],\n "maxDataPoints":100,\n "options":{\n "orientation":"horizontal",\n "reduceOptions":{\n "calcs":[\n "lastNotNull"\n ],\n "fields":"",\n "values":false\n },\n "showThresholdLabels":false,\n "showThresholdMarkers":true\n },\n "pluginVersion":"8.4.3",\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (rate (container_cpu_usage_seconds_total{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\",id=\"/\",kubernetes_io_hostname=\"^$Node$\"}[1m])) / sum (machine_cpu_cores{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\", kubernetes_io_hostname=\"^$Node$\"}) * 100",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"",\n "refId":"A",\n "step":10\n }\n ],\n "title":"Cluster CPU usage (1m avg)",\n "type":"gauge"\n },\n {\n "fieldConfig":{\n "defaults":{\n "color":{\n "mode":"thresholds"\n },\n "decimals":2,\n "mappings":[\n {\n "options":{\n "match":"null",\n "result":{\n "text":"N/A"\n }\n },\n "type":"special"\n }\n ],\n "max":100,\n "min":0,\n "thresholds":{\n "mode":"absolute",\n "steps":[\n {\n "color":"rgba(50, 172, 45, 0.97)",\n "value":null\n },\n {\n "color":"rgba(237, 129, 40, 0.89)",\n "value":65\n },\n {\n "color":"rgba(245, 54, 54, 0.9)",\n "value":90\n }\n ]\n },\n "unit":"percent"\n },\n "overrides":[\n \n ]\n },\n "gridPos":{\n "h":5,\n "w":8,\n "x":16,\n "y":8\n },\n "id":7,\n "links":[\n \n ],\n "maxDataPoints":100,\n "options":{\n "orientation":"horizontal",\n "reduceOptions":{\n "calcs":[\n "lastNotNull"\n ],\n "fields":"",\n "values":false\n },\n "showThresholdLabels":false,\n "showThresholdMarkers":true\n },\n "pluginVersion":"8.4.3",\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (container_fs_usage_bytes{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\",device=\"^/dev/[sv]d[a-z][1-9]$\",id=\"/\",kubernetes_io_hostname=\"^$Node$\"}) / sum (container_fs_limit_bytes{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\",device=\"^/dev/[sv]d[a-z][1-9]$\",id=\"/\",kubernetes_io_hostname=\"^$Node$\"}) * 100",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"",\n "metric":"",\n "refId":"A",\n "step":10\n }\n ],\n "title":"Cluster filesystem usage",\n "type":"gauge"\n },\n {\n "fieldConfig":{\n "defaults":{\n "color":{\n "mode":"thresholds"\n },\n "decimals":2,\n "mappings":[\n {\n "options":{\n "match":"null",\n "result":{\n "text":"N/A"\n }\n },\n "type":"special"\n }\n ],\n "thresholds":{\n "mode":"absolute",\n "steps":[\n {\n "color":"green",\n "value":null\n },\n {\n "color":"red",\n "value":80\n }\n ]\n },\n "unit":"bytes"\n },\n "overrides":[\n \n ]\n },\n "gridPos":{\n "h":3,\n "w":4,\n "x":0,\n "y":13\n },\n "id":9,\n "links":[\n \n ],\n "maxDataPoints":100,\n "options":{\n "colorMode":"none",\n "graphMode":"none",\n "justifyMode":"auto",\n "orientation":"horizontal",\n "reduceOptions":{\n "calcs":[\n "lastNotNull"\n ],\n "fields":"",\n "values":false\n },\n "textMode":"auto"\n },\n "pluginVersion":"8.4.3",\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (container_memory_working_set_bytes{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\",id=\"/\",kubernetes_io_hostname=\"^$Node$\"})",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"",\n "refId":"A",\n "step":10\n }\n ],\n "title":"Memory Used",\n "type":"stat"\n },\n {\n "fieldConfig":{\n "defaults":{\n "color":{\n "mode":"thresholds"\n },\n "decimals":2,\n "mappings":[\n {\n "options":{\n "match":"null",\n "result":{\n "text":"N/A"\n }\n },\n "type":"special"\n }\n ],\n "thresholds":{\n "mode":"absolute",\n "steps":[\n {\n "color":"green",\n "value":null\n },\n {\n "color":"red",\n "value":80\n }\n ]\n },\n "unit":"bytes"\n },\n "overrides":[\n \n ]\n },\n "gridPos":{\n "h":3,\n "w":4,\n "x":4,\n "y":13\n },\n "id":10,\n "links":[\n \n ],\n "maxDataPoints":100,\n "options":{\n "colorMode":"none",\n "graphMode":"none",\n "justifyMode":"auto",\n "orientation":"horizontal",\n "reduceOptions":{\n "calcs":[\n "lastNotNull"\n ],\n "fields":"",\n "values":false\n },\n "textMode":"auto"\n },\n "pluginVersion":"8.4.3",\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (machine_memory_bytes{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\",kubernetes_io_hostname=\"^$Node$\"})",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"",\n "refId":"A",\n "step":10\n }\n ],\n "title":"Memory Total",\n "type":"stat"\n },\n {\n "fieldConfig":{\n "defaults":{\n "color":{\n "mode":"thresholds"\n },\n "decimals":2,\n "mappings":[\n {\n "options":{\n "match":"null",\n "result":{\n "text":"N/A"\n }\n },\n "type":"special"\n }\n ],\n "thresholds":{\n "mode":"absolute",\n "steps":[\n {\n "color":"green",\n "value":null\n },\n {\n "color":"red",\n "value":80\n }\n ]\n },\n "unit":"none"\n },\n "overrides":[\n \n ]\n },\n "gridPos":{\n "h":3,\n "w":4,\n "x":8,\n "y":13\n },\n "id":11,\n "links":[\n \n ],\n "maxDataPoints":100,\n "options":{\n "colorMode":"none",\n "graphMode":"none",\n "justifyMode":"auto",\n "orientation":"horizontal",\n "reduceOptions":{\n "calcs":[\n "lastNotNull"\n ],\n "fields":"",\n "values":false\n },\n "textMode":"auto"\n },\n "pluginVersion":"8.4.3",\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (rate (container_cpu_usage_seconds_total{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\", id=\"/\",kubernetes_io_hostname=\"^$Node$\"}[1m]))",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"",\n "refId":"A",\n "step":10\n }\n ],\n "title":"CPU Usage",\n "type":"stat"\n },\n {\n "fieldConfig":{\n "defaults":{\n "color":{\n "mode":"thresholds"\n },\n "decimals":2,\n "mappings":[\n {\n "options":{\n "match":"null",\n "result":{\n "text":"N/A"\n }\n },\n "type":"special"\n }\n ],\n "thresholds":{\n "mode":"absolute",\n "steps":[\n {\n "color":"green",\n "value":null\n },\n {\n "color":"red",\n "value":80\n }\n ]\n },\n "unit":"none"\n },\n "overrides":[\n \n ]\n },\n "gridPos":{\n "h":3,\n "w":4,\n "x":12,\n "y":13\n },\n "id":12,\n "links":[\n \n ],\n "maxDataPoints":100,\n "options":{\n "colorMode":"none",\n "graphMode":"none",\n "justifyMode":"auto",\n "orientation":"horizontal",\n "reduceOptions":{\n "calcs":[\n "lastNotNull"\n ],\n "fields":"",\n "values":false\n },\n "textMode":"auto"\n },\n "pluginVersion":"8.4.3",\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (machine_cpu_cores{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\", kubernetes_io_hostname=\"^$Node$\"})",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"",\n "refId":"A",\n "step":10\n }\n ],\n "title":"CPU Total",\n "type":"stat"\n },\n {\n "fieldConfig":{\n "defaults":{\n "color":{\n "mode":"thresholds"\n },\n "decimals":2,\n "mappings":[\n {\n "options":{\n "match":"null",\n "result":{\n "text":"N/A"\n }\n },\n "type":"special"\n }\n ],\n "thresholds":{\n "mode":"absolute",\n "steps":[\n {\n "color":"green",\n "value":null\n },\n {\n "color":"red",\n "value":80\n }\n ]\n },\n "unit":"bytes"\n },\n "overrides":[\n \n ]\n },\n "gridPos":{\n "h":3,\n "w":4,\n "x":16,\n "y":13\n },\n "id":13,\n "links":[\n \n ],\n "maxDataPoints":100,\n "options":{\n "colorMode":"none",\n "graphMode":"none",\n "justifyMode":"auto",\n "orientation":"horizontal",\n "reduceOptions":{\n "calcs":[\n "lastNotNull"\n ],\n "fields":"",\n "values":false\n },\n "textMode":"auto"\n },\n "pluginVersion":"8.4.3",\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (container_fs_usage_bytes{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\", device=\"^/dev/[sv]d[a-z][1-9]$\",id=\"/\",kubernetes_io_hostname=\"^$Node$\"})",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"",\n "refId":"A",\n "step":10\n }\n ],\n "title":"Used",\n "type":"stat"\n },\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "fieldConfig":{\n "defaults":{\n "color":{\n "mode":"thresholds"\n },\n "decimals":2,\n "mappings":[\n {\n "options":{\n "match":"null",\n "result":{\n "text":"N/A"\n }\n },\n "type":"special"\n }\n ],\n "thresholds":{\n "mode":"absolute",\n "steps":[\n {\n "color":"green",\n "value":null\n },\n {\n "color":"red",\n "value":80\n }\n ]\n },\n "unit":"bytes"\n },\n "overrides":[\n \n ]\n },\n "gridPos":{\n "h":3,\n "w":4,\n "x":20,\n "y":13\n },\n "id":14,\n "links":[\n \n ],\n "maxDataPoints":100,\n "options":{\n "colorMode":"none",\n "graphMode":"none",\n "justifyMode":"auto",\n "orientation":"horizontal",\n "reduceOptions":{\n "calcs":[\n "lastNotNull"\n ],\n "fields":"",\n "values":false\n },\n "textMode":"auto"\n },\n "pluginVersion":"8.4.3",\n "targets":[\n {\n "expr":"sum (container_fs_limit_bytes{device=\"^/dev/[sv]d[a-z][1-9]$\",id=\"/\",kubernetes_io_hostname=\"^$Node$\"})",\n "interval":"10s",\n "intervalFactor":1,\n "refId":"A",\n "step":10\n }\n ],\n "title":"Total",\n "type":"stat"\n },\n {\n "collapsed":true,\n "gridPos":{\n "h":1,\n "w":24,\n "x":0,\n "y":16\n },\n "id":35,\n "panels":[\n {\n "aliasColors":{\n \n },\n "bars":false,\n "dashLength":10,\n "dashes":false,\n "decimals":3,\n "editable":true,\n "error":false,\n "fieldConfig":{\n "defaults":{\n "links":[\n \n ]\n },\n "overrides":[\n \n ]\n },\n "fill":0,\n "fillGradient":0,\n "grid":{\n \n },\n "gridPos":{\n "h":7,\n "w":24,\n "x":0,\n "y":3\n },\n "height":"",\n "hiddenSeries":false,\n "id":17,\n "isNew":true,\n "legend":{\n "alignAsTable":true,\n "avg":true,\n "current":true,\n "max":false,\n "min":false,\n "rightSide":true,\n "show":true,\n "sort":"current",\n "sortDesc":true,\n "total":false,\n "values":true\n },\n "lines":true,\n "linewidth":2,\n "links":[\n \n ],\n "nullPointMode":"connected",\n "options":{\n "alertThreshold":true\n },\n "percentage":false,\n "pluginVersion":"8.4.3",\n "pointradius":5,\n "points":false,\n "renderer":"flot",\n "seriesOverrides":[\n \n ],\n "spaceLength":10,\n "stack":false,\n "steppedLine":false,\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (rate (container_cpu_usage_seconds_total{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\", image!=\"\",name=\"^k8s_.*\",kubernetes_io_hostname=\"^$Node$\",namespace=\"^$namespace$\"}[1m])) by (pod)",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"{\{ pod \}}",\n "metric":"container_cpu",\n "refId":"A",\n "step":10\n }\n ],\n "thresholds":[\n \n ],\n "timeRegions":[\n \n ],\n "title":"Pods CPU usage (1m avg)",\n "tooltip":{\n "msResolution":true,\n "shared":true,\n "sort":2,\n "value_type":"cumulative"\n },\n "type":"graph",\n "xaxis":{\n "mode":"time",\n "show":true,\n "values":[\n \n ]\n },\n "yaxes":[\n {\n "$$hashKey":"object:112",\n "format":"none",\n "label":"cores",\n "logBase":1,\n "show":true\n },\n {\n "$$hashKey":"object:113",\n "format":"short",\n "logBase":1,\n "show":false\n }\n ],\n "yaxis":{\n "align":false\n }\n }\n ],\n "title":"Pods CPU usage",\n "type":"row"\n },\n {\n "collapsed":true,\n "gridPos":{\n "h":1,\n "w":24,\n "x":0,\n "y":17\n },\n "id":39,\n "panels":[\n {\n "aliasColors":{\n \n },\n "bars":false,\n "dashLength":10,\n "dashes":false,\n "decimals":2,\n "editable":true,\n "error":false,\n "fieldConfig":{\n "defaults":{\n "links":[\n \n ]\n },\n "overrides":[\n \n ]\n },\n "fill":0,\n "fillGradient":0,\n "grid":{\n \n },\n "gridPos":{\n "h":7,\n "w":24,\n "x":0,\n "y":4\n },\n "hiddenSeries":false,\n "id":25,\n "isNew":true,\n "legend":{\n "alignAsTable":true,\n "avg":true,\n "current":true,\n "max":false,\n "min":false,\n "rightSide":true,\n "show":true,\n "sideWidth":200,\n "sort":"current",\n "sortDesc":true,\n "total":false,\n "values":true\n },\n "lines":true,\n "linewidth":2,\n "links":[\n \n ],\n "nullPointMode":"connected",\n "options":{\n "alertThreshold":true\n },\n "percentage":false,\n "pluginVersion":"8.4.3",\n "pointradius":5,\n "points":false,\n "renderer":"flot",\n "seriesOverrides":[\n \n ],\n "spaceLength":10,\n "stack":false,\n "steppedLine":false,\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (container_memory_working_set_bytes{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\",image!=\"\",name=\"^k8s_.\",kubernetes_io_hostname=\"^$Node$\",namespace=\"^$namespace$\"}) by (pod)",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"{\{ pod \}}",\n "metric":"container_memory_usage:sort_desc",\n "refId":"A",\n "step":10\n }\n ],\n "thresholds":[\n \n ],\n "timeRegions":[\n \n ],\n "title":"Pods memory usage",\n "tooltip":{\n "msResolution":false,\n "shared":true,\n "sort":2,\n "value_type":"cumulative"\n },\n "type":"graph",\n "xaxis":{\n "mode":"time",\n "show":true,\n "values":[\n \n ]\n },\n "yaxes":[\n {\n "$$hashKey":"object:181",\n "format":"bytes",\n "logBase":1,\n "show":true\n },\n {\n "$$hashKey":"object:182",\n "format":"short",\n "logBase":1,\n "show":false\n }\n ],\n "yaxis":{\n "align":false\n }\n }\n ],\n "title":"Pods memory usage",\n "type":"row"\n },\n {\n "collapsed":false,\n "gridPos":{\n "h":1,\n "w":24,\n "x":0,\n "y":18\n },\n "id":43,\n "panels":[\n \n ],\n "title":"Pods network I/O",\n "type":"row"\n },\n {\n "aliasColors":{\n \n },\n "bars":false,\n "dashLength":10,\n "dashes":false,\n "decimals":2,\n "editable":true,\n "error":false,\n "fieldConfig":{\n "defaults":{\n "links":[\n \n ]\n },\n "overrides":[\n \n ]\n },\n "fill":1,\n "fillGradient":0,\n "grid":{\n \n },\n "gridPos":{\n "h":7,\n "w":24,\n "x":0,\n "y":19\n },\n "hiddenSeries":false,\n "id":16,\n "isNew":true,\n "legend":{\n "alignAsTable":true,\n "avg":true,\n "current":true,\n "max":false,\n "min":false,\n "rightSide":true,\n "show":true,\n "sideWidth":200,\n "sort":"current",\n "sortDesc":true,\n "total":false,\n "values":true\n },\n "lines":true,\n "linewidth":2,\n "links":[\n \n ],\n "nullPointMode":"connected",\n "options":{\n "alertThreshold":true\n },\n "percentage":false,\n "pluginVersion":"8.4.3",\n "pointradius":5,\n "points":false,\n "renderer":"flot",\n "seriesOverrides":[\n \n ],\n "spaceLength":10,\n "stack":false,\n "steppedLine":false,\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (rate (container_network_receive_bytes_total{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\", image!=\"\",name=~\"^k8s_.\",kubernetes_io_hostname=\"^$Node$\",namespace=\"^$namespace$\"}[1m])) by (pod)",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"-> {\{ pod \}}",\n "metric":"network",\n "refId":"A",\n "step":10\n },\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "expr":"- sum (rate (container_network_transmit_bytes_total{image!=\"\",name=\"^k8s_.*\",kubernetes_io_hostname=\"^$Node$\",namespace=\"^$namespace$\"}[1m])) by (pod)",\n "hide":true,\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"<- {\{ pod \}}",\n "metric":"network",\n "refId":"B",\n "step":10\n }\n ],\n "thresholds":[\n \n ],\n "timeRegions":[\n \n ],\n "title":"Pods network I/O (1m avg)",\n "tooltip":{\n "msResolution":false,\n "shared":true,\n "sort":2,\n "value_type":"cumulative"\n },\n "type":"graph",\n "xaxis":{\n "mode":"time",\n "show":true,\n "values":[\n \n ]\n },\n "yaxes":[\n {\n "format":"Bps",\n "logBase":1,\n "show":true\n },\n {\n "format":"short",\n "logBase":1,\n "show":false\n }\n ],\n "yaxis":{\n "align":false\n }\n },\n {\n "collapsed":true,\n "gridPos":{\n "h":1,\n "w":24,\n "x":0,\n "y":26\n },\n "id":37,\n "panels":[\n {\n "aliasColors":{\n \n },\n "bars":false,\n "dashLength":10,\n "dashes":false,\n "decimals":3,\n "editable":true,\n "error":false,\n "fieldConfig":{\n "defaults":{\n "links":[\n \n ]\n },\n "overrides":[\n \n ]\n },\n "fill":0,\n "fillGradient":0,\n "grid":{\n \n },\n "gridPos":{\n "h":7,\n "w":24,\n "x":0,\n "y":6\n },\n "height":"",\n "hiddenSeries":false,\n "id":24,\n "isNew":true,\n "legend":{\n "alignAsTable":true,\n "avg":true,\n "current":true,\n "hideEmpty":false,\n "hideZero":false,\n "max":false,\n "min":false,\n "rightSide":true,\n "show":true,\n "sort":"current",\n "sortDesc":true,\n "total":false,\n "values":true\n },\n "lines":true,\n "linewidth":2,\n "links":[\n \n ],\n "nullPointMode":"connected",\n "options":{\n "alertThreshold":true\n },\n "percentage":false,\n "pluginVersion":"8.4.3",\n "pointradius":5,\n "points":false,\n "renderer":"flot",\n "seriesOverrides":[\n \n ],\n "spaceLength":10,\n "stack":false,\n "steppedLine":false,\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (rate (container_cpu_usage_seconds_total{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\",image!=\"\",name=\"^k8s_.\",container!=\"POD\",kubernetes_io_hostname=\"^$Node$\",namespace=\"^$namespace$\"}[1m])) by (container, pod)",\n "hide":false,\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"pod: {\{ pod \}} | {\{ container \}}",\n "metric":"container_cpu",\n "refId":"A",\n "step":10\n },\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "expr":"sum (rate (container_cpu_usage_seconds_total{image!=\"\",name!~\"^k8s_.\",kubernetes_io_hostname=\"^$Node$\",namespace=\"^$namespace$\"}[1m])) by (kubernetes_io_hostname, name, image)",\n "hide":false,\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"docker: {\{ kubernetes_io_hostname \}} | {\{ image \}} ({\{ name \}})",\n "metric":"container_cpu",\n "refId":"B",\n "step":10\n },\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "expr":"sum (rate (container_cpu_usage_seconds_total{rkt_container_name!=\"\",kubernetes_io_hostname=\"^$Node$\",namespace=\"^$namespace$\"}[1m])) by (kubernetes_io_hostname, rkt_container_name)",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"rkt: {\{ kubernetes_io_hostname \}} | {\{ rkt_container_name \}}",\n "metric":"container_cpu",\n "refId":"C",\n "step":10\n }\n ],\n "thresholds":[\n \n ],\n "timeRegions":[\n \n ],\n "title":"Containers CPU usage (1m avg)",\n "tooltip":{\n "msResolution":true,\n "shared":true,\n "sort":2,\n "value_type":"cumulative"\n },\n "type":"graph",\n "xaxis":{\n "mode":"time",\n "show":true,\n "values":[\n \n ]\n },\n "yaxes":[\n {\n "$$hashKey":"object:337",\n "format":"none",\n "label":"cores",\n "logBase":1,\n "show":true\n },\n {\n "$$hashKey":"object:338",\n "format":"short",\n "logBase":1,\n "show":false\n }\n ],\n "yaxis":{\n "align":false\n }\n }\n ],\n "title":"Containers CPU usage",\n "type":"row"\n },\n {\n "collapsed":true,\n "gridPos":{\n "h":1,\n "w":24,\n "x":0,\n "y":27\n },\n "id":41,\n "panels":[\n {\n "aliasColors":{\n \n },\n "bars":false,\n "dashLength":10,\n "dashes":false,\n "decimals":2,\n "editable":true,\n "error":false,\n "fieldConfig":{\n "defaults":{\n "links":[\n \n ]\n },\n "overrides":[\n \n ]\n },\n "fill":0,\n "fillGradient":0,\n "grid":{\n \n },\n "gridPos":{\n "h":7,\n "w":24,\n "x":0,\n "y":7\n },\n "hiddenSeries":false,\n "id":27,\n "isNew":true,\n "legend":{\n "alignAsTable":true,\n "avg":true,\n "current":true,\n "max":false,\n "min":false,\n "rightSide":true,\n "show":true,\n "sideWidth":200,\n "sort":"current",\n "sortDesc":true,\n "total":false,\n "values":true\n },\n "lines":true,\n "linewidth":2,\n "links":[\n \n ],\n "nullPointMode":"connected",\n "options":{\n "alertThreshold":true\n },\n "percentage":false,\n "pluginVersion":"8.4.3",\n "pointradius":5,\n "points":false,\n "renderer":"flot",\n "seriesOverrides":[\n \n ],\n "spaceLength":10,\n "stack":false,\n "steppedLine":false,\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (container_memory_working_set_bytes{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\",image!=\"\",name=\"^k8s_.*\",container!=\"POD\",kubernetes_io_hostname=\"^$Node$\",namespace=\"^$namespace$\"}) by (container, pod)",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"pod: {\{ pod \}} | {\{ container \}}",\n "metric":"container_memory_usage:sort_desc",\n "refId":"A",\n "step":10\n },\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "expr":"sum (container_memory_working_set_bytes{image!=\"\",name!\"^k8s_.\",kubernetes_io_hostname=\"^$Node$\",namespace=\"^$namespace$\"}) by (kubernetes_io_hostname, name, image)",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"docker: {\{ kubernetes_io_hostname \}} | {\{ image \}} ({\{ name \}})",\n "metric":"container_memory_usage:sort_desc",\n "refId":"B",\n "step":10\n },\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "expr":"sum (container_memory_working_set_bytes{rkt_container_name!=\"\",kubernetes_io_hostname=\"^$Node$\",namespace=\"^$namespace$\"}) by (kubernetes_io_hostname, rkt_container_name)",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"rkt: {\{ kubernetes_io_hostname \}} | {\{ rkt_container_name \}}",\n "metric":"container_memory_usage:sort_desc",\n "refId":"C",\n "step":10\n }\n ],\n "thresholds":[\n \n ],\n "timeRegions":[\n \n ],\n "title":"Containers memory usage",\n "tooltip":{\n "msResolution":false,\n "shared":true,\n "sort":2,\n "value_type":"cumulative"\n },\n "type":"graph",\n "xaxis":{\n "mode":"time",\n "show":true,\n "values":[\n \n ]\n },\n "yaxes":[\n {\n "$$hashKey":"object:406",\n "format":"bytes",\n "logBase":1,\n "show":true\n },\n {\n "$$hashKey":"object:407",\n "format":"short",\n "logBase":1,\n "show":false\n }\n ],\n "yaxis":{\n "align":false\n }\n }\n ],\n "title":"Containers memory usage",\n "type":"row"\n },\n {\n "collapsed":false,\n "gridPos":{\n "h":1,\n "w":24,\n "x":0,\n "y":28\n },\n "id":44,\n "panels":[\n \n ],\n "title":"Containers network I/O",\n "type":"row"\n },\n {\n "aliasColors":{\n \n },\n "bars":false,\n "dashLength":10,\n "dashes":false,\n "decimals":2,\n "editable":true,\n "error":false,\n "fieldConfig":{\n "defaults":{\n "links":[\n \n ]\n },\n "overrides":[\n \n ]\n },\n "fill":1,\n "fillGradient":0,\n "grid":{\n \n },\n "gridPos":{\n "h":7,\n "w":24,\n "x":0,\n "y":29\n },\n "hiddenSeries":false,\n "id":30,\n "isNew":true,\n "legend":{\n "alignAsTable":true,\n "avg":true,\n "current":true,\n "max":false,\n "min":false,\n "rightSide":true,\n "show":true,\n "sideWidth":200,\n "sort":"current",\n "sortDesc":true,\n "total":false,\n "values":true\n },\n "lines":true,\n "linewidth":2,\n "links":[\n \n ],\n "nullPointMode":"connected",\n "options":{\n "alertThreshold":true\n },\n "percentage":false,\n "pluginVersion":"8.4.3",\n "pointradius":5,\n "points":false,\n "renderer":"flot",\n "seriesOverrides":[\n \n ],\n "spaceLength":10,\n "stack":false,\n "steppedLine":false,\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (rate (container_network_receive_bytes_total{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\", image!=\"\",name=~\"^k8s_.\",kubernetes_io_hostname=\"^$Node$\",namespace=\"^$namespace$\"}[1m])) by (container, pod)",\n "hide":false,\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"-> pod: {\{ pod \}} | {\{ container \}}",\n "metric":"network",\n "refId":"B",\n "step":10\n },\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "expr":"- sum (rate (container_network_transmit_bytes_total{image!=\"\",name=\"^k8s_.*\",kubernetes_io_hostname=\"^$Node$\",namespace=\"^$namespace$\"}[1m])) by (container, pod)",\n "hide":false,\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"<- pod: {\{ pod \}} | {\{ container \}}",\n "metric":"network",\n "refId":"D",\n "step":10\n },\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "expr":"sum (rate (container_network_receive_bytes_total{image!=\"\",name!\"^k8s_.\",kubernetes_io_hostname=\"^$Node$\",namespace=\"^$namespace$\"}[1m])) by (kubernetes_io_hostname, name, image)",\n "hide":false,\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"-> docker: {\{ kubernetes_io_hostname \}} | {\{ image \}} ({\{ name \}})",\n "metric":"network",\n "refId":"A",\n "step":10\n },\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "expr":"- sum (rate (container_network_transmit_bytes_total{image!=\"\",name!~\"^k8s_.\",kubernetes_io_hostname=\"^$Node$\",namespace=\"^$namespace$\"}[1m])) by (kubernetes_io_hostname, name, image)",\n "hide":false,\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"<- docker: {\{ kubernetes_io_hostname \}} | {\{ image \}} ({\{ name }\})",\n "metric":"network",\n "refId":"C",\n "step":10\n },\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "expr":"sum (rate (container_network_transmit_bytes_total{rkt_container_name!=\"\",kubernetes_io_hostname=\"^$Node$\",namespace=\"^$namespace$\"}[1m])) by (kubernetes_io_hostname, rkt_container_name)",\n "hide":false,\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"-> rkt: {\{ kubernetes_io_hostname \}} | {\{ rkt_container_name \}}",\n "metric":"network",\n "refId":"E",\n "step":10\n },\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "expr":"- sum (rate (container_network_transmit_bytes_total{rkt_container_name!=\"\",kubernetes_io_hostname=\"^$Node$\",namespace=\"^$namespace$\"}[1m])) by (kubernetes_io_hostname, rkt_container_name)",\n "hide":false,\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"<- rkt: {\{ kubernetes_io_hostname \}} | {\{ rkt_container_name \}}",\n "metric":"network",\n "refId":"F",\n "step":10\n }\n ],\n "thresholds":[\n \n ],\n "timeRegions":[\n \n ],\n "title":"Containers network I/O (1m avg)",\n "tooltip":{\n "msResolution":false,\n "shared":true,\n "sort":2,\n "value_type":"cumulative"\n },\n "type":"graph",\n "xaxis":{\n "mode":"time",\n "show":true,\n "values":[\n \n ]\n },\n "yaxes":[\n {\n "format":"Bps",\n "logBase":1,\n "show":true\n },\n {\n "format":"short",\n "logBase":1,\n "show":false\n }\n ],\n "yaxis":{\n "align":false\n }\n },\n {\n "collapsed":true,\n "gridPos":{\n "h":1,\n "w":24,\n "x":0,\n "y":36\n },\n "id":36,\n "panels":[\n {\n "aliasColors":{\n \n },\n "bars":false,\n "dashLength":10,\n "dashes":false,\n "decimals":3,\n "editable":true,\n "error":false,\n "fieldConfig":{\n "defaults":{\n "links":[\n \n ]\n },\n "overrides":[\n \n ]\n },\n "fill":0,\n "fillGradient":0,\n "grid":{\n \n },\n "gridPos":{\n "h":7,\n "w":24,\n "x":0,\n "y":65\n },\n "height":"",\n "hiddenSeries":false,\n "id":23,\n "isNew":true,\n "legend":{\n "alignAsTable":true,\n "avg":true,\n "current":true,\n "max":false,\n "min":false,\n "rightSide":true,\n "show":true,\n "sort":"current",\n "sortDesc":true,\n "total":false,\n "values":true\n },\n "lines":true,\n "linewidth":2,\n "links":[\n \n ],\n "nullPointMode":"connected",\n "options":{\n "alertThreshold":true\n },\n "percentage":false,\n "pluginVersion":"8.4.3",\n "pointradius":5,\n "points":false,\n "renderer":"flot",\n "seriesOverrides":[\n \n ],\n "spaceLength":10,\n "stack":false,\n "steppedLine":true,\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (rate (container_cpu_usage_seconds_total{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\",systemd_service_name!=\"\",kubernetes_io_hostname=\"^$Node$\"}[1m])) by (systemd_service_name)",\n "hide":false,\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"{\{ systemd_service_name \}}",\n "metric":"container_cpu",\n "refId":"A",\n "step":10\n }\n ],\n "thresholds":[\n \n ],\n "timeRegions":[\n \n ],\n "title":"System services CPU usage (1m avg)",\n "tooltip":{\n "msResolution":true,\n "shared":true,\n "sort":2,\n "value_type":"cumulative"\n },\n "type":"graph",\n "xaxis":{\n "mode":"time",\n "show":true,\n "values":[\n \n ]\n },\n "yaxes":[\n {\n "format":"none",\n "label":"cores",\n "logBase":1,\n "show":true\n },\n {\n "format":"short",\n "logBase":1,\n "show":false\n }\n ],\n "yaxis":{\n "align":false\n }\n }\n ],\n "title":"System services CPU usage",\n "type":"row"\n },\n {\n "collapsed":true,\n "gridPos":{\n "h":1,\n "w":24,\n "x":0,\n "y":37\n },\n "id":40,\n "panels":[\n {\n "aliasColors":{\n \n },\n "bars":false,\n "dashLength":10,\n "dashes":false,\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "decimals":2,\n "editable":true,\n "error":false,\n "fieldConfig":{\n "defaults":{\n "links":[\n \n ]\n },\n "overrides":[\n \n ]\n },\n "fill":0,\n "fillGradient":0,\n "grid":{\n \n },\n "gridPos":{\n "h":7,\n "w":24,\n "x":0,\n "y":66\n },\n "hiddenSeries":false,\n "id":26,\n "isNew":true,\n "legend":{\n "alignAsTable":true,\n "avg":true,\n "current":true,\n "max":false,\n "min":false,\n "rightSide":true,\n "show":true,\n "sideWidth":200,\n "sort":"current",\n "sortDesc":true,\n "total":false,\n "values":true\n },\n "lines":true,\n "linewidth":2,\n "links":[\n \n ],\n "nullPointMode":"connected",\n "options":{\n "alertThreshold":true\n },\n "percentage":false,\n "pluginVersion":"8.4.3",\n "pointradius":5,\n "points":false,\n "renderer":"flot",\n "seriesOverrides":[\n \n ],\n "spaceLength":10,\n "stack":false,\n "steppedLine":true,\n "targets":[\n {\n "expr":"sum (container_memory_working_set_bytes{systemd_service_name!=\"\",kubernetes_io_hostname=\"^$Node$\"}) by (systemd_service_name)",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"{\{ systemd_service_name \}}",\n "metric":"container_memory_usage:sort_desc",\n "refId":"A",\n "step":10\n }\n ],\n "thresholds":[\n \n ],\n "timeRegions":[\n \n ],\n "title":"System services memory usage",\n "tooltip":{\n "msResolution":false,\n "shared":true,\n "sort":2,\n "value_type":"cumulative"\n },\n "type":"graph",\n "xaxis":{\n "mode":"time",\n "show":true,\n "values":[\n \n ]\n },\n "yaxes":[\n {\n "format":"bytes",\n "logBase":1,\n "show":true\n },\n {\n "format":"short",\n "logBase":1,\n "show":false\n }\n ],\n "yaxis":{\n "align":false\n }\n }\n ],\n "title":"System services memory usage",\n "type":"row"\n },\n {\n "collapsed":true,\n "gridPos":{\n "h":1,\n "w":24,\n "x":0,\n "y":38\n },\n "id":38,\n "panels":[\n {\n "aliasColors":{\n \n },\n "bars":false,\n "dashLength":10,\n "dashes":false,\n "decimals":3,\n "editable":true,\n "error":false,\n "fieldConfig":{\n "defaults":{\n "links":[\n \n ]\n },\n "overrides":[\n \n ]\n },\n "fill":0,\n "fillGradient":0,\n "grid":{\n \n },\n "gridPos":{\n "h":14,\n "w":24,\n "x":0,\n "y":67\n },\n "hiddenSeries":false,\n "id":20,\n "isNew":true,\n "legend":{\n "alignAsTable":true,\n "avg":true,\n "current":true,\n "max":false,\n "min":false,\n "rightSide":false,\n "show":true,\n "sort":"current",\n "sortDesc":true,\n "total":false,\n "values":true\n },\n "lines":true,\n "linewidth":2,\n "links":[\n \n ],\n "nullPointMode":"connected",\n "options":{\n "alertThreshold":true\n },\n "percentage":false,\n "pluginVersion":"8.4.3",\n "pointradius":5,\n "points":false,\n "renderer":"flot",\n "seriesOverrides":[\n \n ],\n "spaceLength":10,\n "stack":false,\n "steppedLine":false,\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (rate (container_cpu_usage_seconds_total{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\",id!=\"/\",kubernetes_io_hostname=\"^$Node$\"}[1m])) by (id)",\n "hide":false,\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"{\{ id \}}",\n "metric":"container_cpu",\n "refId":"A",\n "step":10\n }\n ],\n "thresholds":[\n \n ],\n "timeRegions":[\n \n ],\n "title":"All processes CPU usage (1m avg)",\n "tooltip":{\n "msResolution":true,\n "shared":true,\n "sort":2,\n "value_type":"cumulative"\n },\n "type":"graph",\n "xaxis":{\n "mode":"time",\n "show":true,\n "values":[\n \n ]\n },\n "yaxes":[\n {\n "$$hashKey":"object:254",\n "format":"none",\n "label":"cores",\n "logBase":1,\n "show":true\n },\n {\n "$$hashKey":"object:255",\n "format":"short",\n "logBase":1,\n "show":false\n }\n ],\n "yaxis":{\n "align":false\n }\n }\n ],\n "title":"All processes CPU usage",\n "type":"row"\n },\n {\n "collapsed":true,\n "gridPos":{\n "h":1,\n "w":24,\n "x":0,\n "y":39\n },\n "id":42,\n "panels":[\n {\n "aliasColors":{\n \n },\n "bars":false,\n "dashLength":10,\n "dashes":false,\n "decimals":2,\n "editable":true,\n "error":false,\n "fieldConfig":{\n "defaults":{\n "links":[\n \n ]\n },\n "overrides":[\n \n ]\n },\n "fill":0,\n "fillGradient":0,\n "grid":{\n \n },\n "gridPos":{\n "h":14,\n "w":24,\n "x":0,\n "y":68\n },\n "hiddenSeries":false,\n "id":28,\n "isNew":true,\n "legend":{\n "alignAsTable":true,\n "avg":true,\n "current":true,\n "max":false,\n "min":false,\n "rightSide":false,\n "show":true,\n "sideWidth":200,\n "sort":"current",\n "sortDesc":true,\n "total":false,\n "values":true\n },\n "lines":true,\n "linewidth":2,\n "links":[\n \n ],\n "nullPointMode":"connected",\n "options":{\n "alertThreshold":true\n },\n "percentage":false,\n "pluginVersion":"8.4.3",\n "pointradius":5,\n "points":false,\n "renderer":"flot",\n "seriesOverrides":[\n \n ],\n "spaceLength":10,\n "stack":false,\n "steppedLine":true,\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (container_memory_working_set_bytes{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\", id!=\"/\",kubernetes_io_hostname=\"^$Node$\"}) by (id)",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"{\{ id \}}",\n "metric":"container_memory_usage:sort_desc",\n "refId":"A",\n "step":10\n }\n ],\n "thresholds":[\n \n ],\n "timeRegions":[\n \n ],\n "title":"All processes memory usage",\n "tooltip":{\n "msResolution":false,\n "shared":true,\n "sort":2,\n "value_type":"cumulative"\n },\n "type":"graph",\n "xaxis":{\n "mode":"time",\n "show":true,\n "values":[\n \n ]\n },\n "yaxes":[\n {\n "format":"bytes",\n "logBase":1,\n "show":true\n },\n {\n "format":"short",\n "logBase":1,\n "show":false\n }\n ],\n "yaxis":{\n "align":false\n }\n }\n ],\n "title":"All processes memory usage",\n "type":"row"\n },\n {\n "collapsed":true,\n "gridPos":{\n "h":1,\n "w":24,\n "x":0,\n "y":40\n },\n "id":45,\n "panels":[\n {\n "aliasColors":{\n \n },\n "bars":false,\n "dashLength":10,\n "dashes":false,\n "decimals":2,\n "editable":true,\n "error":false,\n "fieldConfig":{\n "defaults":{\n "links":[\n \n ]\n },\n "overrides":[\n \n ]\n },\n "fill":1,\n "fillGradient":0,\n "grid":{\n \n },\n "gridPos":{\n "h":14,\n "w":24,\n "x":0,\n "y":69\n },\n "hiddenSeries":false,\n "id":29,\n "isNew":true,\n "legend":{\n "alignAsTable":true,\n "avg":true,\n "current":true,\n "max":false,\n "min":false,\n "rightSide":false,\n "show":true,\n "sideWidth":200,\n "sort":"current",\n "sortDesc":true,\n "total":false,\n "values":true\n },\n "lines":true,\n "linewidth":2,\n "links":[\n \n ],\n "nullPointMode":"connected",\n "options":{\n "alertThreshold":true\n },\n "percentage":false,\n "pluginVersion":"8.4.3",\n "pointradius":5,\n "points":false,\n "renderer":"flot",\n "seriesOverrides":[\n \n ],\n "spaceLength":10,\n "stack":false,\n "steppedLine":false,\n "targets":[\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "exemplar":true,\n "expr":"sum (rate (container_network_receive_bytes_total{tenant_id=\"^$tenantId$\", project_name=\"^$projectname$\", id!=\"/\",kubernetes_io_hostname=\"^$Node$\"}[1m])) by (id)",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"-> {\{ id \}}",\n "metric":"network",\n "refId":"A",\n "step":10\n },\n {\n "datasource":{\n "type":"prometheus",\n "uid":"^$datasource$"\n },\n "expr":"- sum (rate (container_network_transmit_bytes_total{id!=\"/\",kubernetes_io_hostname=\"^$Node$\"}[1m])) by (id)",\n "interval":"10s",\n "intervalFactor":1,\n "legendFormat":"<- {\{ id \}}",\n "metric":"network",\n "refId":"B",\n "step":10\n }\n ],\n "thresholds":[\n \n ],\n "timeRegions":[\n \n ],\n "title":"All processes network I/O (1m avg)",\n "tooltip":{\n "msResolution":false,\n "shared":true,\n "sort":2,\n "value_type":"cumulative"\n },\n "type":"graph",\n "xaxis":{\n "mode":"time",\n "show":true,\n "values":[\n \n ]\n },\n "yaxes":[\n {\n "format":"Bps",\n "logBase":1,\n "show":true\n },\n {\n "format":"short",\n "logBase":1,\n "show":false\n }\n ],\n "yaxis":{\n "align":false\n }\n }\n ],\n "title":"All processes network I/O",\n "type":"row"\n }\n ],\n "refresh":"10s",\n "schemaVersion":35,\n "style":"dark",\n "tags":[\n "templated"\n ],\n "templating":{\n "list":[\n {\n "current":{\n "selected":false,\n "text":"grafana",\n "value":"grafana"\n },\n "hide":0,\n "includeAll":true,\n "multi":false,\n "name":"namespace",\n "options":[\n {\n "selected":false,\n "text":"All",\n "value":"$__all"\n },\n {\n "selected":true,\n "text":"grafana",\n "value":"grafana"\n },\n {\n "selected":false,\n "text":"kube-system",\n "value":"kube-system"\n },\n {\n "selected":false,\n "text":"monitoring",\n "value":"monitoring"\n },\n {\n "selected":false,\n "text":"mysql",\n "value":"mysql"\n },\n {\n "selected":false,\n "text":"thanos",\n "value":"thanos"\n }\n ],\n "query":"grafana, kube-system, monitoring, mysql, thanos",\n "queryValue":"",\n "skipUrlSync":false,\n "type":"custom"\n },\n {\n "current":{\n "selected":false,\n "text":"All",\n "value":"$__all"\n },\n "definition":"label_values(node_uname_info)",\n "hide":0,\n "includeAll":true,\n "multi":false,\n "name":"Node",\n "options":[\n \n ],\n "query":{\n "query":"label_values(node_uname_info)",\n "refId":"StandardVariableQuery"\n },\n "refresh":1,\n "regex":"",\n "skipUrlSync":false,\n "sort":0,\n "type":"query"\n },\n {\n "hide":2,\n "name":"title",\n "query":"Default Dashboard",\n "skipUrlSync":false,\n "type":"constant"\n },\n {\n "hide":2,\n "name":"datasource",\n "query":"FjsH2Wsnz",\n "skipUrlSync":false,\n "type":"constant"\n },\n {\n "hide":2,\n "name":"tenantId",\n "query":"VrDBEufr6DpvQGvy",\n "skipUrlSync":false,\n "type":"constant"\n },\n {\n "hide":2,\n "name":"projectname",\n "query":"4_2_72_QA",\n "skipUrlSync":false,\n "type":"constant"\n }\n ]\n },\n "time":{\n "from":"now-30d",\n "to":"now"\n },\n "timepicker":{\n "refresh_intervals":[\n "5s",\n "10s",\n "30s",\n "1m",\n "5m",\n "15m",\n "30m",\n "1h",\n "2h",\n "1d"\n ],\n "time_options":[\n "5m",\n "15m",\n "1h",\n "6h",\n "12h",\n "24h",\n "2d",\n "7d",\n "30d"\n ]\n }\n \n },\n "folderId":62,\n "overwrite":false\n}"Beta Was this translation helpful? Give feedback.
All reactions