Skip to content

Commit 8ce3250

Browse files
[CNM-4887][network_path] Add Skipped Conns widget (#21831)
* [network_path] Add Skipped Conns widget * fix lint * remove raw_connections_chan_size * fix position
1 parent a40999e commit 8ce3250

File tree

1 file changed

+169
-13
lines changed

1 file changed

+169
-13
lines changed

network_path/assets/dashboards/network_path_agents.json

Lines changed: 169 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,6 @@
10591059
"value",
10601060
"sum"
10611061
],
1062-
"time": {},
10631062
"type": "timeseries",
10641063
"requests": [
10651064
{
@@ -1320,7 +1319,7 @@
13201319
{
13211320
"id": 8457451440583306,
13221321
"definition": {
1323-
"title": "Collector Store Size",
1322+
"title": "Collector Store Size (avg)",
13241323
"title_size": "16",
13251324
"title_align": "left",
13261325
"show_legend": false,
@@ -1332,7 +1331,6 @@
13321331
"value",
13331332
"sum"
13341333
],
1335-
"time": {},
13361334
"type": "timeseries",
13371335
"requests": [
13381336
{
@@ -1380,7 +1378,6 @@
13801378
"value",
13811379
"sum"
13821380
],
1383-
"time": {},
13841381
"type": "timeseries",
13851382
"requests": [
13861383
{
@@ -1412,14 +1409,61 @@
14121409
"width": 6,
14131410
"height": 2
14141411
}
1412+
},
1413+
{
1414+
"id": 5882269414877899,
1415+
"definition": {
1416+
"title": "Collector Store Size (max)",
1417+
"title_size": "16",
1418+
"title_align": "left",
1419+
"show_legend": false,
1420+
"legend_layout": "auto",
1421+
"legend_columns": [
1422+
"avg",
1423+
"min",
1424+
"max",
1425+
"value",
1426+
"sum"
1427+
],
1428+
"type": "timeseries",
1429+
"requests": [
1430+
{
1431+
"formulas": [
1432+
{
1433+
"formula": "query1"
1434+
}
1435+
],
1436+
"queries": [
1437+
{
1438+
"data_source": "metrics",
1439+
"name": "query1",
1440+
"query": "max:datadog.network_path.collector.pathtest_store_size{$host,$datacenter,$cluster_name} by {datacenter,cluster_name}"
1441+
}
1442+
],
1443+
"response_format": "timeseries",
1444+
"style": {
1445+
"palette": "dog_classic",
1446+
"line_type": "solid",
1447+
"line_width": "normal"
1448+
},
1449+
"display_type": "line"
1450+
}
1451+
]
1452+
},
1453+
"layout": {
1454+
"x": 0,
1455+
"y": 2,
1456+
"width": 6,
1457+
"height": 2
1458+
}
14151459
}
14161460
]
14171461
},
14181462
"layout": {
14191463
"x": 0,
14201464
"y": 7,
14211465
"width": 12,
1422-
"height": 3
1466+
"height": 5
14231467
}
14241468
},
14251469
{
@@ -1627,7 +1671,7 @@
16271671
},
16281672
"layout": {
16291673
"x": 0,
1630-
"y": 10,
1674+
"y": 12,
16311675
"width": 12,
16321676
"height": 9
16331677
}
@@ -1785,9 +1829,9 @@
17851829
}
17861830
},
17871831
{
1788-
"id": 8012025951638734,
1832+
"id": 1219382882371769,
17891833
"definition": {
1790-
"title": "Schedule Duration (avg)",
1834+
"title": "Skipped Conns",
17911835
"title_size": "16",
17921836
"title_align": "left",
17931837
"show_legend": false,
@@ -1811,7 +1855,7 @@
18111855
{
18121856
"data_source": "metrics",
18131857
"name": "query1",
1814-
"query": "avg:datadog.network_path.collector.schedule.duration{$CUSTOM_TAG,$host,$datacenter,$cluster_name} by {host}"
1858+
"query": "avg:datadog.network_path.collector.schedule.conns_skipped{$host,$datacenter,$cluster_name} by {reason}.as_count()"
18151859
}
18161860
],
18171861
"response_format": "timeseries",
@@ -1835,7 +1879,7 @@
18351879
},
18361880
"layout": {
18371881
"x": 0,
1838-
"y": 19,
1882+
"y": 21,
18391883
"width": 12,
18401884
"height": 5
18411885
}
@@ -1994,7 +2038,7 @@
19942038
},
19952039
"layout": {
19962040
"x": 0,
1997-
"y": 24,
2041+
"y": 26,
19982042
"width": 12,
19992043
"height": 3
20002044
}
@@ -2325,7 +2369,6 @@
23252369
"value",
23262370
"sum"
23272371
],
2328-
"time": {},
23292372
"type": "timeseries",
23302373
"requests": [
23312374
{
@@ -2362,10 +2405,123 @@
23622405
},
23632406
"layout": {
23642407
"x": 0,
2365-
"y": 27,
2408+
"y": 29,
23662409
"width": 12,
23672410
"height": 7
23682411
}
2412+
},
2413+
{
2414+
"id": 4555113299741520,
2415+
"definition": {
2416+
"title": "Dynamic Path - Internals",
2417+
"show_title": true,
2418+
"type": "group",
2419+
"layout_type": "ordered",
2420+
"widgets": [
2421+
{
2422+
"id": 168908205378734,
2423+
"definition": {
2424+
"title": "input_chan_size",
2425+
"title_size": "16",
2426+
"title_align": "left",
2427+
"show_legend": false,
2428+
"legend_layout": "auto",
2429+
"legend_columns": [
2430+
"avg",
2431+
"min",
2432+
"max",
2433+
"value",
2434+
"sum"
2435+
],
2436+
"type": "timeseries",
2437+
"requests": [
2438+
{
2439+
"formulas": [
2440+
{
2441+
"alias": "max",
2442+
"formula": "query2"
2443+
}
2444+
],
2445+
"queries": [
2446+
{
2447+
"data_source": "metrics",
2448+
"name": "query2",
2449+
"query": "sum:datadog.network_path.collector.input_chan_size{$host,$datacenter,$cluster_name} by {cluster_name,datacenter}.weighted()"
2450+
}
2451+
],
2452+
"response_format": "timeseries",
2453+
"style": {
2454+
"palette": "dog_classic",
2455+
"line_type": "solid",
2456+
"line_width": "normal"
2457+
},
2458+
"display_type": "area"
2459+
}
2460+
]
2461+
},
2462+
"layout": {
2463+
"x": 0,
2464+
"y": 0,
2465+
"width": 4,
2466+
"height": 2
2467+
}
2468+
},
2469+
{
2470+
"id": 1826232222563295,
2471+
"definition": {
2472+
"title": "processing_chan_size",
2473+
"title_size": "16",
2474+
"title_align": "left",
2475+
"show_legend": false,
2476+
"legend_layout": "auto",
2477+
"legend_columns": [
2478+
"avg",
2479+
"min",
2480+
"max",
2481+
"value",
2482+
"sum"
2483+
],
2484+
"type": "timeseries",
2485+
"requests": [
2486+
{
2487+
"formulas": [
2488+
{
2489+
"alias": "max",
2490+
"formula": "query2"
2491+
}
2492+
],
2493+
"queries": [
2494+
{
2495+
"data_source": "metrics",
2496+
"name": "query2",
2497+
"query": "sum:datadog.network_path.collector.processing_chan_size{$host,$datacenter,$cluster_name} by {cluster_name,datacenter}.weighted()"
2498+
}
2499+
],
2500+
"response_format": "timeseries",
2501+
"style": {
2502+
"palette": "dog_classic",
2503+
"line_type": "solid",
2504+
"line_width": "normal"
2505+
},
2506+
"display_type": "area"
2507+
}
2508+
]
2509+
},
2510+
"layout": {
2511+
"x": 4,
2512+
"y": 0,
2513+
"width": 4,
2514+
"height": 2
2515+
}
2516+
}
2517+
]
2518+
},
2519+
"layout": {
2520+
"x": 0,
2521+
"y": 36,
2522+
"width": 12,
2523+
"height": 3
2524+
}
23692525
}
23702526
],
23712527
"template_variables": [

0 commit comments

Comments
 (0)