{
  "version": 5,
  "dashboardId": "7305455370154033490",
  "title": "kafka",
  "description": "",
  "role": "",
  "owner": "",
  "created": "2025-03-12T05:11:59.636Z",
  "tabs": [
    {
      "tabId": "default",
      "name": "Default",
      "panels": [
        {
          "id": "Panel_ID5289510",
          "type": "area",
          "title": "Broker Availability",
          "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": false,
            "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": true,
            "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(_timestamp) as \"y_axis_1\"  FROM \"kafka_brokers\"  GROUP BY x_axis_1 ORDER BY x_axis_1 ASC",
              "vrlFunctionQuery": "",
              "customQuery": false,
              "fields": {
                "stream": "kafka_brokers",
                "stream_type": "metrics",
                "x": [
                  {
                    "label": "Timestamp",
                    "alias": "x_axis_1",
                    "column": "_timestamp",
                    "color": null,
                    "aggregationFunction": "histogram",
                    "sortBy": "ASC",
                    "isDerived": false
                  }
                ],
                "y": [
                  {
                    "label": "Timestamp",
                    "alias": "y_axis_1",
                    "column": "_timestamp",
                    "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": 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_ID8904110",
          "type": "metric",
          "title": "Consumer Group Members",
          "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": false,
            "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": true,
            "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 \"kafka_consumer_group_members\"",
              "vrlFunctionQuery": "",
              "customQuery": false,
              "fields": {
                "stream": "kafka_consumer_group_members",
                "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": 0,
            "w": 24,
            "h": 9,
            "i": 2,
            "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_ID2453310",
          "type": "metric",
          "title": "Partition Replicas",
          "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": false,
            "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": "kafka_partition_replicas{}",
              "vrlFunctionQuery": "",
              "customQuery": true,
              "fields": {
                "stream": "kafka_partition_replicas",
                "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": 18,
            "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_ID9550810",
          "type": "metric",
          "title": "Replicas in Sync",
          "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": false,
            "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": "kafka_partition_replicas_in_sync{}",
              "vrlFunctionQuery": "",
              "customQuery": true,
              "fields": {
                "stream": "kafka_partition_replicas_in_sync",
                "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": 9,
            "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_ID8423010",
          "type": "table",
          "title": "Topics Events",
          "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": false,
            "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,
            "mappings": [],
            "color": {
              "mode": "palette-classic-by-series",
              "fixedColor": [
                "#53ca53"
              ],
              "seriesBy": "last"
            },
            "trellis": {
              "layout": null,
              "num_of_columns": 1
            }
          },
          "queryType": "sql",
          "queries": [
            {
              "query": "SELECT topic as \"x_axis_1\", value as \"x_axis_2\", count(topic) as \"y_axis_1\"  FROM \"kafka_topic_partitions\"  GROUP BY x_axis_1, x_axis_2 ORDER BY x_axis_2 DESC",
              "vrlFunctionQuery": "",
              "customQuery": false,
              "fields": {
                "stream": "kafka_topic_partitions",
                "stream_type": "metrics",
                "x": [
                  {
                    "label": "Topic",
                    "alias": "x_axis_1",
                    "column": "topic",
                    "color": null,
                    "isDerived": false
                  },
                  {
                    "label": "Partition Count",
                    "alias": "x_axis_2",
                    "column": "value",
                    "color": null,
                    "sortBy": "DESC",
                    "isDerived": false
                  }
                ],
                "y": [
                  {
                    "label": "Number of events",
                    "alias": "y_axis_1",
                    "column": "topic",
                    "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": 0,
            "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_ID7380910",
          "type": "h-bar",
          "title": "Topic Partitions",
          "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": false,
            "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,
            "mappings": [],
            "color": {
              "mode": "palette-classic-by-series",
              "fixedColor": [
                "#53ca53"
              ],
              "seriesBy": "last"
            },
            "trellis": {
              "layout": null,
              "num_of_columns": 1
            }
          },
          "queryType": "sql",
          "queries": [
            {
              "query": "SELECT topic as \"x_axis_1\", count(value) as \"y_axis_1\"  FROM \"kafka_topic_partitions\"  GROUP BY x_axis_1",
              "vrlFunctionQuery": "",
              "customQuery": false,
              "fields": {
                "stream": "kafka_topic_partitions",
                "stream_type": "metrics",
                "x": [
                  {
                    "label": "Topic",
                    "alias": "x_axis_1",
                    "column": "topic",
                    "color": null,
                    "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": 18,
            "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  "
        }
      ]
    }
  ],
  "variables": {
    "list": [],
    "showDynamicFilters": true
  },
  "defaultDatetimeDuration": {
    "type": "relative",
    "relativeTimePeriod": "15m"
  }
}