From 236979ef376ef63ab0595148625e0671f579d49b Mon Sep 17 00:00:00 2001 From: fumingwei Date: Wed, 21 Jun 2023 21:31:13 +0800 Subject: [PATCH] =?UTF-8?q?feature:=E6=96=B0=E5=A2=9E=E5=AE=9A=E5=88=B6?= =?UTF-8?q?=E5=8C=96asset=20chart?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NEZHA/customed-asset-chart.json | 2393 +++++++++++++++++++++++++++++++ 1 file changed, 2393 insertions(+) create mode 100644 NEZHA/customed-asset-chart.json diff --git a/NEZHA/customed-asset-chart.json b/NEZHA/customed-asset-chart.json new file mode 100644 index 0000000..d19892f --- /dev/null +++ b/NEZHA/customed-asset-chart.json @@ -0,0 +1,2393 @@ +[ + { + "name":"TSG-X-customed", + "type":"template", + "varType":1, + "param":{ + "chartShare":"none", + "variables":[], + "report":{ + "schedule":{ + "repeat":1, + "etime":"", + "stime":"", + "type":2, + "nums":[] + }, + "receivers":[], + "enable":false, + "range":{ + "unit":"day", + "interval":1, + "type":"previous" + } + }, + "refresh":0, + "defaultTimeRange":4 + }, + "remark":"The template for TSG-X customed", + "charts":[ + { + "name":"BASIC", + "span":"12.0", + "height":"1.0", + "type":"Group", + "unit":"short", + "weight":1, + "param":{ + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "enable":{ + "visibility":false, + "repeat":false + }, + "showHeader":1, + "repeat":{ + "variable":"" + }, + "collapse":true + }, + "remark":"", + "x":"0.0", + "y":"5.0", + "datasource":"misc", + "children":[ + { + "name":"CPU", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"percent(0.0-1.0)", + "weight":2, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#e2ac4f", + "id":"c63264" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"0.0", + "y":"0.0", + "elements":[ + { + "expression":"1 - avg(irate(node_cpu_seconds_total{ asset=\"{{asset.name}}\", mode=\"idle\"}[1m]))", + "state":1, + "legend":"usage", + "name":"A" + } + ], + "datasource":"metrics" + }, + { + "name":"Memory", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"percent(0-100)", + "weight":3, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#c4ce02", + "id":"df94fb1" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"3.0", + "y":"0.0", + "elements":[ + { + "expression":"(1 - (node_memory_MemAvailable_bytes{ asset=\"{{asset.name}}\"} / (node_memory_MemTotal_bytes{ asset=\"{{asset.name}}\"})))* 100", + "state":1, + "legend":"usage", + "name":"A" + } + ], + "datasource":"metrics" + }, + { + "name":"Disk", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"percent(0.0-1.0)", + "weight":4, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#10bbea", + "id":"47dd1fbe" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"6.0", + "y":"0.0", + "elements":[ + { + "expression":"1-(node_filesystem_free_bytes{ asset=\"{{asset.name}}\", mountpoint=\"/\"}) / node_filesystem_size_bytes{ asset=\"{{asset.name}}\", mountpoint=\"/\"}", + "state":1, + "legend":"sys", + "name":"A" + }, + { + "expression":"1-(node_filesystem_free_bytes{ asset=\"{{asset.name}}\", mountpoint=\"/data\"}) / node_filesystem_size_bytes{ asset=\"{{asset.name}}\", mountpoint=\"/data\"}", + "state":1, + "legend":"data", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Interface (Rx)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"bits/sec", + "weight":5, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#ff7fdd", + "id":"30776e0f" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"9.0", + "y":"0.0", + "elements":[ + { + "expression":"sum(irate(phy_rx_bits_total{asset=\"{{asset.name}}\",dev!~\"virtio_dign_(.*)\"}[1m])) by (dev)", + "state":1, + "legend":"{{dev}}", + "name":"A" + } + ], + "datasource":"metrics" + }, + { + "name":"Interface (Tx)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"bits/sec", + "weight":6, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#0c2dd3", + "id":"2f08eaa4" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"0.0", + "y":"2.0", + "elements":[ + { + "expression":"sum(irate(phy_tx_bits_total{asset=\"{{asset.name}}\",dev!~\"virtio_dign_(.*)\"}[1m])) by (dev)", + "state":1, + "legend":"{{dev}}", + "name":"A" + } + ], + "datasource":"metrics" + }, + { + "name":"Interface (Drop/Error)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"bits/sec", + "weight":7, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#fcb3f2", + "id":"6cf5969a" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"3.0", + "y":"2.0", + "elements":[ + { + "expression":"sum(irate(phy_rx_missed_total{ asset=\"{{asset.name}}\",dev!~\"virtio_dign_(.*)\"}[1m])) by (dev)", + "state":1, + "legend":"RxMissed ({{dev}})", + "name":"A" + }, + { + "expression":"sum(irate(phy_rx_error_total{ asset=\"{{asset.name}}\",dev!~\"virtio_dign_(.*)\"}[1m])) by(dev)", + "state":1, + "legend":"RxErrors ({{dev}})", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"PSI", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":8, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#33e8a2", + "id":"1a986e83" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"6.0", + "y":"2.0", + "elements":[ + { + "expression":"rate(node_pressure_cpu_waiting_seconds_total{ asset=\"{{asset.name}}\"}[1m])*1000", + "state":1, + "legend":"cpu-waiting", + "name":"A" + }, + { + "expression":"rate(node_pressure_io_stalled_seconds_total{ asset=\"{{asset.name}}\"}[1m])*1000", + "state":1, + "legend":"io-stalled", + "name":"B" + }, + { + "expression":"rate(node_pressure_io_waiting_seconds_total{ asset=\"{{asset.name}}\"}[1m])*1000", + "state":1, + "legend":"io-waiting", + "name":"C" + }, + { + "expression":"rate(node_pressure_memory_stalled_seconds_total{ asset=\"{{asset.name}}\"}[1m])*1000", + "state":1, + "legend":"memory-stalled", + "name":"D" + }, + { + "expression":"rate(node_pressure_memory_waiting_seconds_total{ asset=\"{{asset.name}}\"}[1m])*1000", + "state":1, + "legend":"memory-waiting", + "name":"E" + } + ], + "datasource":"metrics" + }, + { + "name":"Temperature", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":9, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#8cd321", + "id":"b92353f" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"9.0", + "y":"2.0", + "elements":[ + { + "expression":"max(node_hwmon_temp_celsius{ asset=\"{{asset.name}}\",chip=\"platform_coretemp_0\"})", + "state":1, + "legend":"platform0", + "name":"A" + }, + { + "expression":"max(node_hwmon_temp_celsius{ asset=\"{{asset.name}}\",chip=\"platform_coretemp_1\"})", + "state":1, + "legend":"platform1", + "name":"B" + } + ], + "datasource":"metrics" + } + ] + }, + { + "name":"FIREWALL", + "span":"12.0", + "height":"1.0", + "type":"Group", + "unit":"short", + "weight":10, + "param":{ + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "enable":{ + "visibility":false, + "repeat":false + }, + "showHeader":1, + "repeat":{ + "variable":"" + }, + "collapse":true + }, + "remark":"", + "x":"0.0", + "y":"5.0", + "datasource":"misc", + "children":[ + { + "name":"CPU", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"percent(0.0-1.0)", + "weight":11, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#cccfff", + "id":"63a47666" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"", + "varName":"", + "varValue":"", + "operator":"" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"0.0", + "y":"0.0", + "elements":[ + { + "expression":"sum(irate(container_cpu_usage_seconds_total{asset=\"{{asset.name}}\", container=\"firewall\"}[2m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(container_cpu_usage_seconds_total{asset=\"{{asset.name}}\", container=\"firewall\"}[2m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Memory", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"bytes", + "weight":12, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#003559", + "id":"d012c1c" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"", + "varName":"", + "varValue":"", + "operator":"" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"3.0", + "y":"0.0", + "elements":[ + { + "expression":"sum(container_memory_working_set_bytes{asset=\"{{asset.name}}\", container=\"firewall\"} ) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(container_memory_working_set_bytes{asset=\"{{asset.name}}\", container=\"firewall\"} )", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Traffic (Rx)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"bits/sec", + "weight":13, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#c9faff", + "id":"64960dad" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"", + "varName":"", + "varValue":"", + "operator":"" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"6.0", + "y":"0.0", + "elements":[ + { + "expression":"sum(irate(rx_bits_total{asset=\"{{asset.name}}\",service=\"mrzcpd-exporter\"}[1m])) by (app)", + "state":1, + "legend":"{{app}}", + "name":"A" + }, + { + "expression":"sum(irate(rx_bits_total{asset=\"{{asset.name}}\",service=\"mrzcpd-exporter\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Traffic (Tx)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"bits/sec", + "weight":14, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#ce38d1", + "id":"8bba314" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"", + "varName":"", + "varValue":"", + "operator":"" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"9.0", + "y":"0.0", + "elements":[ + { + "expression":"sum(irate(ftx_bits_total{asset=\"{{asset.name}}\", service=\"mrzcpd-exporter\"}[1m])+irate(tx_total_len{asset=\"{{asset.name}}\", service=\"mrzcpd-exporter\"}[1m])) by (app)", + "state":1, + "legend":"{{app}}", + "name":"A" + }, + { + "expression":"sum(irate(ftx_bits_total{asset=\"{{asset.name}}\", service=\"mrzcpd-exporter\"}[1m])+irate(tx_total_len{asset=\"{{asset.name}}\", service=\"mrzcpd-exporter\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Traffic (Drop)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"bits/sec", + "weight":15, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#dd566f", + "id":"5bb159c4" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"", + "varName":"", + "varValue":"", + "operator":"" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"0.0", + "y":"4.0", + "elements":[ + { + "expression":"sum(irate(rx_drops_total{ asset=\"{{asset.name}}\", service=\"mrzcpd-exporter\"}[1m])) by (app)", + "state":1, + "legend":"{{app}}", + "name":"A" + }, + { + "expression":"sum(irate(rx_drops_total{ asset=\"{{asset.name}}\", service=\"mrzcpd-exporter\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Throughtput (by Protocol) -IPv4", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"bits/sec", + "weight":16, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#bf1c42", + "id":"23c8fe38" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"0.0", + "y":"2.0", + "elements":[ + { + "expression":"sum(irate(sapp_Ipv4_Bit{asset=\"{{asset.name}}\"}[1m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(sapp_Ipv4_Bit{asset=\"{{asset.name}}\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Throughtput (by Protocol) -IPv6", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"bits/sec", + "weight":17, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#591eb2", + "id":"5b073f22" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"", + "varName":"", + "varValue":"", + "operator":"" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"3.0", + "y":"2.0", + "elements":[ + { + "expression":"sum(irate(sapp_Ipv6_Bit{asset=\"{{asset.name}}\"}[1m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(sapp_Ipv6_Bit{asset=\"{{asset.name}}\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Throughtput (by Protocol) - UDP", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"bits/sec", + "weight":18, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#ed57ae", + "id":"e3a3b7" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"6.0", + "y":"2.0", + "elements":[ + { + "expression":"sum(irate(sapp_Udp_Bit{asset=\"{{asset.name}}\"}[1m])) by(serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(sapp_Udp_Bit{asset=\"{{asset.name}}\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Throughtput (by Protocol) - Unknown", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"bits/sec", + "weight":19, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#4725c4", + "id":"155b0c15" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"", + "varName":"", + "varValue":"", + "operator":"" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"9.0", + "y":"2.0", + "elements":[ + { + "expression":"sum(irate(sapp_Unknown_Bit{asset=\"{{asset.name}}\"}[1m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(sapp_Unknown_Bit{asset=\"{{asset.name}}\"}[1m])) ", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Connections (Concurrent)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":20, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#49f468", + "id":"5efa45a4" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"null" + }, + "remark":"", + "x":"3.0", + "y":"4.0", + "elements":[ + { + "expression":"sum(sapp_Tcp_Concurrent{asset=\"{{asset.name}}\"}) by(serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(sapp_Tcp_Concurrent{asset=\"{{asset.name}}\"})", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Connections/s (Open)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"packets/sec", + "weight":21, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#c97de8", + "id":"7bb892c" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"6.0", + "y":"4.0", + "elements":[ + { + "expression":"sum(irate(sapp_Tcp_Link_New{asset=\"{{asset.name}}\"}[1m])) by(serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(sapp_Tcp_Link_New{asset=\"{{asset.name}}\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Connections/s (Close)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"packets/sec", + "weight":22, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#b3a7ef", + "id":"1108cd02" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"9.0", + "y":"4.0", + "elements":[ + { + "expression":"sum(irate(sapp_Tcp_Link_Del{asset=\"{{asset.name}}\"}[1m])) by(serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(sapp_Tcp_Link_Del{asset=\"{{asset.name}}\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Connections/s (C<=>S)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":23, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#8643a8", + "id":"a154400" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"0.0", + "y":"6.0", + "elements":[ + { + "expression":"sum(irate(sapp_Tcp_Link_Double{asset=\"{{asset.name}}\"}[1m])) by(serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(sapp_Tcp_Link_Double{asset=\"{{asset.name}}\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Connections/s (only C=>S)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":24, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#8643a8", + "id":"1d9ac24a" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"3.0", + "y":"6.0", + "elements":[ + { + "expression":"sum(irate(sapp_Tcp_Link_C2S{asset=\"{{asset.name}}\"}[1m])) by(serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(sapp_Tcp_Link_C2S{asset=\"{{asset.name}}\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Connections/s (only S=>C)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":25, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#8643a8", + "id":"01d49f8" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"6.0", + "y":"6.0", + "elements":[ + { + "expression":"sum(irate(sapp_Tcp_Link_S2C{asset=\"{{asset.name}}\"}[1m])) by(serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(sapp_Tcp_Link_S2C{asset=\"{{asset.name}}\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Policy Hits (Action: default)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":26, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#dd23af", + "id":"e559dae" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"9.0", + "y":"6.0", + "elements":[ + { + "expression":"sum(irate(statistic_default_conn_num{ asset=\"{{asset.name}}\", app_name=\"statistic\"}[1m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(statistic_default_conn_num{ asset=\"{{asset.name}}\", app_name=\"statistic\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Policy Hits (Action: allow)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":27, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#dd23af", + "id":"b58189f" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"3.0", + "y":"8.0", + "elements":[ + { + "expression":"sum(irate(statistic_allow_conn_num{ asset=\"{{asset.name}}\", app_name=\"statistic\"}[1m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(statistic_allow_conn_num{ asset=\"{{asset.name}}\", app_name=\"statistic\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Policy Hits (Action: monitor)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":28, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#dd23af", + "id":"7cf9a65a" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"0.0", + "y":"8.0", + "elements":[ + { + "expression":"sum(irate(statistic_monitor_conn_num{ asset=\"{{asset.name}}\", app_name=\"statistic\"}[1m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(statistic_monitor_conn_num{ asset=\"{{asset.name}}\", app_name=\"statistic\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Policy Hits (Action: deny)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":29, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#dd23af", + "id":"8f20dd3" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"6.0", + "y":"8.0", + "elements":[ + { + "expression":"sum(irate(statistic_deny_conn_num{ asset=\"{{asset.name}}\", app_name=\"statistic\"}[1m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(statistic_deny_conn_num{ asset=\"{{asset.name}}\", app_name=\"statistic\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Policy Hits (Action: intercept)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":30, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#dd23af", + "id":"459e433b" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"9.0", + "y":"8.0", + "elements":[ + { + "expression":"sum(irate(statistic_intercept_conn_num{ asset=\"{{asset.name}}\", app_name=\"statistic\"}[1m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(statistic_intercept_conn_num{ asset=\"{{asset.name}}\", app_name=\"statistic\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Policy Hits (Action: no intercept)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":31, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#dd23af", + "id":"2c86a7d" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"0.0", + "y":"10.0", + "elements":[ + { + "expression":"sum(irate(statistic_no_intercept_conn_num{asset=\"{{asset.name}}\", app_name=\"statistic\"}[1m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(statistic_no_intercept_conn_num{asset=\"{{asset.name}}\", app_name=\"statistic\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Logs (success)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":32, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#ed10c4", + "id":"3174b1f0" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"", + "varName":"", + "varValue":"", + "operator":"" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"3.0", + "y":"10.0", + "elements":[ + { + "expression":"sum(irate(tsg_master_success_log{asset=\"{{asset.name}}\", app_name=\"tsg_master\"}[1m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(tsg_master_success_log{asset=\"{{asset.name}}\", app_name=\"tsg_master\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Logs (drop)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":33, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#ed10c4", + "id":"59b4708" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"6.0", + "y":"10.0", + "elements":[ + { + "expression":"sum(irate(tsg_master_drop_log{asset=\"{{asset.name}}\", app_name=\"tsg_master\"}[1m])+irate(tsg_master_failed_log{asset=\"{{asset.name}}\", app_name=\"tsg_master\"}[1m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(tsg_master_drop_log{asset=\"{{asset.name}}\", app_name=\"tsg_master\"}[1m])+irate(tsg_master_failed_log{asset=\"{{asset.name}}\", app_name=\"tsg_master\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Logs (abort)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":34, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#ed10c4", + "id":"5ab761b3" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"", + "varName":"", + "varValue":"", + "operator":"" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"9.0", + "y":"10.0", + "elements":[ + { + "expression":"sum(irate(tsg_master_abort_allow{asset=\"{{asset.name}}\", app_name=\"tsg_master\"}[1m])+irate(tsg_master_abort_deny{asset=\"{{asset.name}}\", app_name=\"tsg_master\"}[1m])+irate(tsg_master_abort_monitor{asset=\"{{asset.name}}\", app_name=\"tsg_master\"}[1m])+irate(tsg_master_abort_intercept{asset=\"{{asset.name}}\", app_name=\"tsg_master\"}[1m])+irate(tsg_master_abort_unknown{asset=\"{{asset.name}}\", app_name=\"tsg_master\"}[1m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(tsg_master_abort_allow{asset=\"{{asset.name}}\", app_name=\"tsg_master\"}[1m])+irate(tsg_master_abort_deny{asset=\"{{asset.name}}\", app_name=\"tsg_master\"}[1m])+irate(tsg_master_abort_monitor{asset=\"{{asset.name}}\", app_name=\"tsg_master\"}[1m])+irate(tsg_master_abort_intercept{asset=\"{{asset.name}}\", app_name=\"tsg_master\"}[1m])+irate(tsg_master_abort_unknown{asset=\"{{asset.name}}\", app_name=\"tsg_master\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Overload Protection (TCP)", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":35, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#076a9b", + "id":"9e27183" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"0.0", + "y":"12.0", + "elements":[ + { + "expression":"sum(irate(sapp_Tcp_Bypass_STM{app_name=\"sapp\",asset=\"{{asset.name}}\"}[1m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(sapp_Tcp_Bypass_STM{app_name=\"sapp\",asset=\"{{asset.name}}\"}[1m]))", + "state":1, + "legend":"{{serviceFunction}}", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Overload Protection - UDP", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":36, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#076a9b", + "id":"f66f555" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"3.0", + "y":"12.0", + "elements":[ + { + "expression":"sum(irate(sapp_Udp_Bypass_STM{app_name=\"sapp\",asset=\"{{asset.name}}\"}[1m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(sapp_Udp_Bypass_STM{app_name=\"sapp\",asset=\"{{asset.name}}\"}[1m]))", + "state":1, + "legend":"{{serviceFunction}}", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Duplicated Traffic - TCP", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":37, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#ed6aca", + "id":"322eaf99" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"6.0", + "y":"12.0", + "elements":[ + { + "expression":"sum(irate(sapp_Dup_Tcp_Pkt{app_name=\"sapp\",asset=\"{{asset.name}}\"}[1m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(sapp_Dup_Tcp_Pkt{app_name=\"sapp\",asset=\"{{asset.name}}\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + }, + { + "name":"Duplicated Traffic - UDP", + "span":"3.0", + "height":"2.0", + "type":"Line chart", + "unit":"short", + "weight":38, + "param":{ + "rightYAxis":{ + "elementNames":[], + "unit":2, + "style":"line", + "label":"" + }, + "stack":0, + "thresholds":[ + { + "color":"#ed6aca", + "id":"6e6aeb51" + } + ], + "thresholdShow":true, + "visibility":{ + "result":"show", + "varName":"", + "varValue":"", + "operator":"equal" + }, + "legend":{ + "values":[], + "show":true, + "placement":"bottom" + }, + "enable":{ + "rightYAxis":false, + "thresholds":false, + "visibility":false, + "legend":true, + "valueMapping":false + }, + "showHeader":1, + "link":"", + "valueMapping":[], + "nullType":"zero" + }, + "remark":"", + "x":"9.0", + "y":"12.0", + "elements":[ + { + "expression":"sum(irate(sapp_Dup_Udp_Pkt{app_name=\"sapp\",asset=\"{{asset.name}}\"}[1m])) by (serviceFunction)", + "state":1, + "legend":"{{serviceFunction}}", + "name":"A" + }, + { + "expression":"sum(irate(sapp_Dup_Udp_Pkt{app_name=\"sapp\",asset=\"{{asset.name}}\"}[1m]))", + "state":1, + "legend":"sum", + "name":"B" + } + ], + "datasource":"metrics" + } + ] + } + ], + "children":[] + } +] \ No newline at end of file