{
  "version": 5,
  "dashboardId": "7307260308202982940",
  "title": "nats",
  "description": "",
  "role": "",
  "owner": "",
  "created": "2025-03-17T04:46:07.295Z",
  "tabs": [
    {
      "tabId": "default",
      "name": "Default",
      "panels": [
        {
          "id": "Panel_ID7725410",
          "type": "line",
          "title": "Current Connections",
          "description": "",
          "config": {
            "show_legends": true,
            "legends_position": null,
            "decimals": 2,
            "line_thickness": 1.5,
            "step_value": "0",
            "top_results_others": false,
            "axis_border_show": false,
            "label_option": {
              "rotate": 0
            },
            "show_symbol": true,
            "line_interpolation": "smooth",
            "legend_width": {
              "unit": "px"
            },
            "base_map": {
              "type": "osm"
            },
            "map_type": {
              "type": "world"
            },
            "map_view": {
              "zoom": 1,
              "lat": 0,
              "lng": 0
            },
            "map_symbol_style": {
              "size": "by Value",
              "size_by_value": {
                "min": 1,
                "max": 100
              },
              "size_fixed": 2
            },
            "drilldown": [],
            "mark_line": [],
            "override_config": [],
            "connect_nulls": false,
            "no_value_replacement": "",
            "wrap_table_cells": false,
            "table_transpose": false,
            "table_dynamic_columns": false,
            "color": {
              "mode": "palette-classic-by-series",
              "fixedColor": [
                "#53ca53"
              ],
              "seriesBy": "last"
            },
            "trellis": {
              "layout": null,
              "num_of_columns": 1
            }
          },
          "queryType": "promql",
          "queries": [
            {
              "query": "gnatsd_accstatz_current_connections{}",
              "vrlFunctionQuery": "",
              "customQuery": true,
              "fields": {
                "stream": "gnatsd_accstatz_current_connections",
                "stream_type": "metrics",
                "x": [],
                "y": [],
                "z": [],
                "breakdown": [],
                "filter": {
                  "filterType": "group",
                  "logicalOperator": "AND",
                  "conditions": []
                }
              },
              "config": {
                "promql_legend": "",
                "layer_type": "scatter",
                "weight_fixed": 1,
                "limit": 0,
                "min": 0,
                "max": 100,
                "time_shift": []
              }
            }
          ],
          "layout": {
            "x": 0,
            "y": 0,
            "w": 24,
            "h": 9,
            "i": 1,
            "moved": false
          },
          "htmlContent": "",
          "markdownContent": "",
          "customChartContent": " // To know more about ECharts , \n// visit: https://echarts.apache.org/examples/en/index.html \n// Example: https://echarts.apache.org/examples/en/editor.html?c=line-simple \n// Define your ECharts 'option' here. \n// 'data' variable is available for use and contains the response data from the search result and it is an array.\noption = {  \n \n};\n  "
        },
        {
          "id": "Panel_ID83910",
          "type": "gauge",
          "title": "Connection Limit",
          "description": "",
          "config": {
            "show_legends": true,
            "legends_position": null,
            "unit": "numbers",
            "decimals": 0,
            "line_thickness": 1.5,
            "step_value": "0",
            "top_results_others": false,
            "axis_border_show": false,
            "label_option": {
              "rotate": 0
            },
            "show_symbol": true,
            "line_interpolation": "smooth",
            "legend_width": {
              "unit": "px"
            },
            "base_map": {
              "type": "osm"
            },
            "map_type": {
              "type": "world"
            },
            "map_view": {
              "zoom": 1,
              "lat": 0,
              "lng": 0
            },
            "map_symbol_style": {
              "size": "by Value",
              "size_by_value": {
                "min": 1,
                "max": 100
              },
              "size_fixed": 2
            },
            "drilldown": [],
            "mark_line": [],
            "override_config": [],
            "connect_nulls": false,
            "no_value_replacement": "",
            "wrap_table_cells": false,
            "table_transpose": false,
            "table_dynamic_columns": false,
            "color": {
              "mode": "palette-classic-by-series",
              "fixedColor": [
                "#53ca53"
              ],
              "seriesBy": "last"
            },
            "trellis": {
              "layout": null,
              "num_of_columns": 1
            }
          },
          "queryType": "promql",
          "queries": [
            {
              "query": "gnatsd_connz_limit{}",
              "vrlFunctionQuery": "",
              "customQuery": true,
              "fields": {
                "stream": "gnatsd_connz_limit",
                "stream_type": "metrics",
                "x": [],
                "y": [],
                "z": [],
                "breakdown": [],
                "filter": {
                  "filterType": "group",
                  "logicalOperator": "AND",
                  "conditions": []
                }
              },
              "config": {
                "promql_legend": "",
                "layer_type": "scatter",
                "weight_fixed": 1,
                "limit": 0,
                "min": 0,
                "max": 100,
                "time_shift": []
              }
            }
          ],
          "layout": {
            "x": 24,
            "y": 18,
            "w": 24,
            "h": 9,
            "i": 4,
            "moved": false
          },
          "htmlContent": "",
          "markdownContent": "",
          "customChartContent": " // To know more about ECharts , \n// visit: https://echarts.apache.org/examples/en/index.html \n// Example: https://echarts.apache.org/examples/en/editor.html?c=line-simple \n// Define your ECharts 'option' here. \n// 'data' variable is available for use and contains the response data from the search result and it is an array.\noption = {  \n \n};\n  "
        },
        {
          "id": "Panel_ID2493310",
          "type": "line",
          "title": "Leaf Nodes",
          "description": "",
          "config": {
            "show_legends": true,
            "legends_position": null,
            "decimals": 2,
            "line_thickness": 1.5,
            "step_value": "0",
            "top_results_others": false,
            "axis_border_show": false,
            "label_option": {
              "rotate": 0
            },
            "show_symbol": true,
            "line_interpolation": "smooth",
            "legend_width": {
              "unit": "px"
            },
            "base_map": {
              "type": "osm"
            },
            "map_type": {
              "type": "world"
            },
            "map_view": {
              "zoom": 1,
              "lat": 0,
              "lng": 0
            },
            "map_symbol_style": {
              "size": "by Value",
              "size_by_value": {
                "min": 1,
                "max": 100
              },
              "size_fixed": 2
            },
            "drilldown": [],
            "mark_line": [],
            "override_config": [],
            "connect_nulls": false,
            "no_value_replacement": "",
            "wrap_table_cells": false,
            "table_transpose": false,
            "table_dynamic_columns": false,
            "color": {
              "mode": "palette-classic-by-series",
              "fixedColor": [
                "#53ca53"
              ],
              "seriesBy": "last"
            },
            "trellis": {
              "layout": null,
              "num_of_columns": 1
            }
          },
          "queryType": "sql",
          "queries": [
            {
              "query": "SELECT histogram(_timestamp) as \"x_axis_1\", count(value) as \"y_axis_1\"  FROM \"gnatsd_accstatz_leaf_nodes\"  GROUP BY x_axis_1 ORDER BY x_axis_1 ASC",
              "vrlFunctionQuery": "",
              "customQuery": false,
              "fields": {
                "stream": "gnatsd_accstatz_leaf_nodes",
                "stream_type": "metrics",
                "x": [
                  {
                    "label": "Timestamp",
                    "alias": "x_axis_1",
                    "column": "_timestamp",
                    "color": null,
                    "aggregationFunction": "histogram",
                    "sortBy": "ASC",
                    "isDerived": false
                  }
                ],
                "y": [
                  {
                    "label": "Value",
                    "alias": "y_axis_1",
                    "column": "value",
                    "color": "#5960b2",
                    "aggregationFunction": "count",
                    "isDerived": false
                  }
                ],
                "z": [],
                "breakdown": [],
                "filter": {
                  "filterType": "group",
                  "logicalOperator": "AND",
                  "conditions": []
                }
              },
              "config": {
                "promql_legend": "",
                "layer_type": "scatter",
                "weight_fixed": 1,
                "limit": 0,
                "min": 0,
                "max": 100,
                "time_shift": []
              }
            }
          ],
          "layout": {
            "x": 0,
            "y": 9,
            "w": 24,
            "h": 9,
            "i": 5,
            "moved": false
          },
          "htmlContent": "",
          "markdownContent": "",
          "customChartContent": " // To know more about ECharts , \n// visit: https://echarts.apache.org/examples/en/index.html \n// Example: https://echarts.apache.org/examples/en/editor.html?c=line-simple \n// Define your ECharts 'option' here. \n// 'data' variable is available for use and contains the response data from the search result and it is an array.\noption = {  \n \n};\n  "
        },
        {
          "id": "Panel_ID5406310",
          "type": "line",
          "title": "Messages Received",
          "description": "",
          "config": {
            "show_legends": true,
            "legends_position": null,
            "unit": "numbers",
            "decimals": 0,
            "line_thickness": 1.5,
            "step_value": "0",
            "top_results_others": false,
            "axis_border_show": false,
            "label_option": {
              "rotate": 0
            },
            "show_symbol": true,
            "line_interpolation": "smooth",
            "legend_width": {
              "unit": "px"
            },
            "base_map": {
              "type": "osm"
            },
            "map_type": {
              "type": "world"
            },
            "map_view": {
              "zoom": 1,
              "lat": 0,
              "lng": 0
            },
            "map_symbol_style": {
              "size": "by Value",
              "size_by_value": {
                "min": 1,
                "max": 100
              },
              "size_fixed": 2
            },
            "drilldown": [],
            "mark_line": [],
            "override_config": [],
            "connect_nulls": false,
            "no_value_replacement": "",
            "wrap_table_cells": false,
            "table_transpose": false,
            "table_dynamic_columns": false,
            "color": {
              "mode": "palette-classic-by-series",
              "fixedColor": [
                "#53ca53"
              ],
              "seriesBy": "last"
            },
            "trellis": {
              "layout": null,
              "num_of_columns": 1
            }
          },
          "queryType": "sql",
          "queries": [
            {
              "query": "SELECT histogram(_timestamp) as \"x_axis_1\", approx_percentile_cont(value, 0.95) as \"y_axis_1\"  FROM \"gnatsd_accstatz_received_messages\"  GROUP BY x_axis_1 ORDER BY x_axis_1 ASC",
              "vrlFunctionQuery": "",
              "customQuery": false,
              "fields": {
                "stream": "gnatsd_accstatz_received_messages",
                "stream_type": "metrics",
                "x": [
                  {
                    "label": "Timestamp",
                    "alias": "x_axis_1",
                    "column": "_timestamp",
                    "color": null,
                    "aggregationFunction": "histogram",
                    "sortBy": "ASC",
                    "isDerived": false
                  }
                ],
                "y": [
                  {
                    "label": "Value",
                    "alias": "y_axis_1",
                    "column": "value",
                    "color": "#5960b2",
                    "aggregationFunction": "p95",
                    "isDerived": false
                  }
                ],
                "z": [],
                "breakdown": [],
                "filter": {
                  "filterType": "group",
                  "logicalOperator": "AND",
                  "conditions": []
                }
              },
              "config": {
                "promql_legend": "",
                "layer_type": "scatter",
                "weight_fixed": 1,
                "limit": 0,
                "min": 0,
                "max": 100,
                "time_shift": []
              }
            }
          ],
          "layout": {
            "x": 24,
            "y": 0,
            "w": 24,
            "h": 9,
            "i": 6,
            "moved": false
          },
          "htmlContent": "",
          "markdownContent": "",
          "customChartContent": " // To know more about ECharts , \n// visit: https://echarts.apache.org/examples/en/index.html \n// Example: https://echarts.apache.org/examples/en/editor.html?c=line-simple \n// Define your ECharts 'option' here. \n// 'data' variable is available for use and contains the response data from the search result and it is an array.\noption = {  \n \n};\n  "
        },
        {
          "id": "Panel_ID1139410",
          "type": "gauge",
          "title": "Connz Bytes",
          "description": "",
          "config": {
            "show_legends": true,
            "legends_position": null,
            "unit": "bytes",
            "decimals": 0,
            "line_thickness": 1.5,
            "step_value": "0",
            "top_results_others": false,
            "axis_border_show": false,
            "label_option": {
              "rotate": 0
            },
            "show_symbol": true,
            "line_interpolation": "smooth",
            "legend_width": {
              "unit": "px"
            },
            "base_map": {
              "type": "osm"
            },
            "map_type": {
              "type": "world"
            },
            "map_view": {
              "zoom": 1,
              "lat": 0,
              "lng": 0
            },
            "map_symbol_style": {
              "size": "by Value",
              "size_by_value": {
                "min": 1,
                "max": 100
              },
              "size_fixed": 2
            },
            "drilldown": [],
            "mark_line": [],
            "override_config": [],
            "connect_nulls": false,
            "no_value_replacement": "",
            "wrap_table_cells": false,
            "table_transpose": false,
            "table_dynamic_columns": false,
            "color": {
              "mode": "palette-classic-by-series",
              "fixedColor": [
                "#53ca53"
              ],
              "seriesBy": "last"
            },
            "trellis": {
              "layout": null,
              "num_of_columns": 1
            }
          },
          "queryType": "sql",
          "queries": [
            {
              "query": "SELECT count(value) as \"y_axis_1\"  FROM \"gnatsd_connz_in_bytes\"",
              "vrlFunctionQuery": "",
              "customQuery": false,
              "fields": {
                "stream": "gnatsd_connz_in_bytes",
                "stream_type": "metrics",
                "x": [],
                "y": [
                  {
                    "label": "Value",
                    "alias": "y_axis_1",
                    "column": "value",
                    "color": "#5960b2",
                    "aggregationFunction": "count",
                    "isDerived": false
                  }
                ],
                "z": [],
                "breakdown": [],
                "filter": {
                  "filterType": "group",
                  "logicalOperator": "AND",
                  "conditions": []
                }
              },
              "config": {
                "promql_legend": "",
                "layer_type": "scatter",
                "weight_fixed": 1,
                "limit": 0,
                "min": 0,
                "max": 100,
                "time_shift": []
              }
            }
          ],
          "layout": {
            "x": 0,
            "y": 18,
            "w": 24,
            "h": 9,
            "i": 7,
            "moved": false
          },
          "htmlContent": "",
          "markdownContent": "",
          "customChartContent": " // To know more about ECharts , \n// visit: https://echarts.apache.org/examples/en/index.html \n// Example: https://echarts.apache.org/examples/en/editor.html?c=line-simple \n// Define your ECharts 'option' here. \n// 'data' variable is available for use and contains the response data from the search result and it is an array.\noption = {  \n \n};\n  "
        },
        {
          "id": "Panel_ID2164010",
          "type": "line",
          "title": "Idle connections",
          "description": "",
          "config": {
            "show_legends": true,
            "legends_position": null,
            "unit": "numbers",
            "decimals": 0,
            "line_thickness": 1.5,
            "step_value": "0",
            "top_results_others": false,
            "axis_border_show": false,
            "label_option": {
              "rotate": 0
            },
            "show_symbol": true,
            "line_interpolation": "smooth",
            "legend_width": {
              "unit": "px"
            },
            "base_map": {
              "type": "osm"
            },
            "map_type": {
              "type": "world"
            },
            "map_view": {
              "zoom": 1,
              "lat": 0,
              "lng": 0
            },
            "map_symbol_style": {
              "size": "by Value",
              "size_by_value": {
                "min": 1,
                "max": 100
              },
              "size_fixed": 2
            },
            "drilldown": [],
            "mark_line": [],
            "override_config": [],
            "connect_nulls": false,
            "no_value_replacement": "",
            "wrap_table_cells": false,
            "table_transpose": false,
            "table_dynamic_columns": false,
            "color": {
              "mode": "palette-classic-by-series",
              "fixedColor": [
                "#53ca53"
              ],
              "seriesBy": "last"
            },
            "trellis": {
              "layout": null,
              "num_of_columns": 1
            }
          },
          "queryType": "sql",
          "queries": [
            {
              "query": "SELECT histogram(_timestamp) as \"x_axis_1\", count(value) as \"y_axis_1\"  FROM \"gnatsd_connz_idle\"  GROUP BY x_axis_1 ORDER BY x_axis_1 ASC",
              "vrlFunctionQuery": "",
              "customQuery": false,
              "fields": {
                "stream": "gnatsd_connz_idle",
                "stream_type": "metrics",
                "x": [
                  {
                    "label": "Timestamp",
                    "alias": "x_axis_1",
                    "column": "_timestamp",
                    "color": null,
                    "aggregationFunction": "histogram",
                    "sortBy": "ASC",
                    "isDerived": false
                  }
                ],
                "y": [
                  {
                    "label": "Value",
                    "alias": "y_axis_1",
                    "column": "value",
                    "color": "#5960b2",
                    "aggregationFunction": "count",
                    "isDerived": false
                  }
                ],
                "z": [],
                "breakdown": [],
                "filter": {
                  "filterType": "group",
                  "logicalOperator": "AND",
                  "conditions": []
                }
              },
              "config": {
                "promql_legend": "",
                "layer_type": "scatter",
                "weight_fixed": 1,
                "limit": 0,
                "min": 0,
                "max": 100,
                "time_shift": []
              }
            }
          ],
          "layout": {
            "x": 24,
            "y": 9,
            "w": 24,
            "h": 9,
            "i": 8,
            "moved": false
          },
          "htmlContent": "",
          "markdownContent": "",
          "customChartContent": " // To know more about ECharts , \n// visit: https://echarts.apache.org/examples/en/index.html \n// Example: https://echarts.apache.org/examples/en/editor.html?c=line-simple \n// Define your ECharts 'option' here. \n// 'data' variable is available for use and contains the response data from the search result and it is an array.\noption = {  \n \n};\n  "
        },
        {
          "id": "Panel_ID6786610",
          "type": "metric",
          "title": "Connz Out Messages",
          "description": "",
          "config": {
            "show_legends": true,
            "legends_position": null,
            "unit": "numbers",
            "decimals": 0,
            "line_thickness": 1.5,
            "step_value": "0",
            "top_results_others": false,
            "axis_border_show": false,
            "label_option": {
              "rotate": 0
            },
            "show_symbol": true,
            "line_interpolation": "smooth",
            "legend_width": {
              "unit": "px"
            },
            "base_map": {
              "type": "osm"
            },
            "map_type": {
              "type": "world"
            },
            "map_view": {
              "zoom": 1,
              "lat": 0,
              "lng": 0
            },
            "map_symbol_style": {
              "size": "by Value",
              "size_by_value": {
                "min": 1,
                "max": 100
              },
              "size_fixed": 2
            },
            "drilldown": [],
            "mark_line": [],
            "override_config": [],
            "connect_nulls": false,
            "no_value_replacement": "",
            "wrap_table_cells": false,
            "table_transpose": false,
            "table_dynamic_columns": false,
            "color": {
              "mode": "palette-classic-by-series",
              "fixedColor": [
                "#53ca53"
              ],
              "seriesBy": "last"
            },
            "trellis": {
              "layout": null,
              "num_of_columns": 1
            }
          },
          "queryType": "sql",
          "queries": [
            {
              "query": "SELECT count(value) as \"y_axis_1\"  FROM \"gnatsd_connz_out_msgs\"",
              "vrlFunctionQuery": "",
              "customQuery": false,
              "fields": {
                "stream": "gnatsd_connz_out_msgs",
                "stream_type": "metrics",
                "x": [],
                "y": [
                  {
                    "label": "Value",
                    "alias": "y_axis_1",
                    "column": "value",
                    "color": "#5960b2",
                    "aggregationFunction": "count",
                    "isDerived": false
                  }
                ],
                "z": [],
                "breakdown": [],
                "filter": {
                  "filterType": "group",
                  "logicalOperator": "AND",
                  "conditions": []
                }
              },
              "config": {
                "promql_legend": "",
                "layer_type": "scatter",
                "weight_fixed": 1,
                "limit": 0,
                "min": 0,
                "max": 100,
                "time_shift": []
              }
            }
          ],
          "layout": {
            "x": 24,
            "y": 27,
            "w": 24,
            "h": 9,
            "i": 9,
            "moved": false
          },
          "htmlContent": "",
          "markdownContent": "",
          "customChartContent": " // To know more about ECharts , \n// visit: https://echarts.apache.org/examples/en/index.html \n// Example: https://echarts.apache.org/examples/en/editor.html?c=line-simple \n// Define your ECharts 'option' here. \n// 'data' variable is available for use and contains the response data from the search result and it is an array.\noption = {  \n \n};\n  "
        },
        {
          "id": "Panel_ID5170310",
          "type": "metric",
          "title": "Connz Total",
          "description": "",
          "config": {
            "show_legends": true,
            "legends_position": null,
            "unit": "numbers",
            "decimals": 0,
            "line_thickness": 1.5,
            "step_value": "0",
            "top_results_others": false,
            "axis_border_show": false,
            "label_option": {
              "rotate": 0
            },
            "show_symbol": true,
            "line_interpolation": "smooth",
            "legend_width": {
              "unit": "px"
            },
            "base_map": {
              "type": "osm"
            },
            "map_type": {
              "type": "world"
            },
            "map_view": {
              "zoom": 1,
              "lat": 0,
              "lng": 0
            },
            "map_symbol_style": {
              "size": "by Value",
              "size_by_value": {
                "min": 1,
                "max": 100
              },
              "size_fixed": 2
            },
            "drilldown": [],
            "mark_line": [],
            "override_config": [],
            "connect_nulls": false,
            "no_value_replacement": "",
            "wrap_table_cells": false,
            "table_transpose": false,
            "table_dynamic_columns": false,
            "color": {
              "mode": "palette-classic-by-series",
              "fixedColor": [
                "#53ca53"
              ],
              "seriesBy": "last"
            },
            "trellis": {
              "layout": null,
              "num_of_columns": 1
            }
          },
          "queryType": "sql",
          "queries": [
            {
              "query": "SELECT count(value) as \"y_axis_1\"  FROM \"gnatsd_connz_total\"",
              "vrlFunctionQuery": "",
              "customQuery": false,
              "fields": {
                "stream": "gnatsd_connz_total",
                "stream_type": "metrics",
                "x": [],
                "y": [
                  {
                    "label": "Value",
                    "alias": "y_axis_1",
                    "column": "value",
                    "color": "#5960b2",
                    "aggregationFunction": "count",
                    "isDerived": false
                  }
                ],
                "z": [],
                "breakdown": [],
                "filter": {
                  "filterType": "group",
                  "logicalOperator": "AND",
                  "conditions": []
                }
              },
              "config": {
                "promql_legend": "",
                "layer_type": "scatter",
                "weight_fixed": 1,
                "limit": 0,
                "min": 0,
                "max": 100,
                "time_shift": []
              }
            }
          ],
          "layout": {
            "x": 0,
            "y": 27,
            "w": 24,
            "h": 9,
            "i": 10,
            "moved": false
          },
          "htmlContent": "",
          "markdownContent": "",
          "customChartContent": " // To know more about ECharts , \n// visit: https://echarts.apache.org/examples/en/index.html \n// Example: https://echarts.apache.org/examples/en/editor.html?c=line-simple \n// Define your ECharts 'option' here. \n// 'data' variable is available for use and contains the response data from the search result and it is an array.\noption = {  \n \n};\n  "
        }
      ]
    }
  ],
  "variables": {
    "list": [],
    "showDynamicFilters": true
  },
  "defaultDatetimeDuration": {
    "type": "relative",
    "relativeTimePeriod": "15m"
  }
}