From 7b1a4d7502e68fc2e64354150aeba762dfc594f9 Mon Sep 17 00:00:00 2001 From: dydxwill <119354122+dydxwill@users.noreply.github.com> Date: Thu, 28 Mar 2024 14:16:07 -0400 Subject: [PATCH] add socks dahsboards (#90) --- modules/indexer_dashboards/socks_dashboard.tf | 97 +++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/modules/indexer_dashboards/socks_dashboard.tf b/modules/indexer_dashboards/socks_dashboard.tf index 022994de..5d6c062a 100644 --- a/modules/indexer_dashboards/socks_dashboard.tf +++ b/modules/indexer_dashboards/socks_dashboard.tf @@ -683,6 +683,103 @@ resource "datadog_dashboard_json" "socks" { "height": 2 } }, + { + "id":6421181883162304, + "definition":{ + "title":"Stream Destroyed Errors", + "title_size":"16", + "title_align":"left", + "show_legend":true, + "legend_layout":"horizontal", + "legend_columns":[ + "avg", + "min", + "max", + "value", + "sum" + ], + "type":"timeseries", + "requests":[ + { + "formulas":[ + { + "formula":"query4" + } + ], + "queries":[ + { + "query":"avg:socks.ws_send.stream_destroyed_errors{$Environment,$Service}.as_count()", + "data_source":"metrics", + "name":"query4" + } + ], + "response_format":"timeseries", + "style":{ + "palette":"dog_classic", + "line_type":"solid", + "line_width":"normal" + }, + "display_type":"line" + } + ] + }, + "layout":{ + "x":8, + "y":10, + "width":4, + "height":2 + } + }, + { + "id":1855914397159130, + "definition":{ + "title":"Message Not Sent Because Websocket Not Open", + "title_size":"16", + "title_align":"left", + "show_legend":true, + "legend_layout":"horizontal", + "legend_columns":[ + "avg", + "min", + "max", + "value", + "sum" + ], + "time":{ + + }, + "type":"timeseries", + "requests":[ + { + "formulas":[ + { + "formula":"query4" + } + ], + "queries":[ + { + "query":"avg:socks.ws_message_not_sent{$Environment,$Service}.as_rate()", + "data_source":"metrics", + "name":"query4" + } + ], + "response_format":"timeseries", + "style":{ + "palette":"dog_classic", + "line_type":"solid", + "line_width":"normal" + }, + "display_type":"line" + } + ] + }, + "layout":{ + "x":8, + "y":12, + "width":4, + "height":2 + } + }, { "id": 870204027095636, "definition": {