[
  {
    "id": "Pulsar-Cluster",
    "configuration": {
      "children": [
        {
          "x": 0,
          "y": 0,
          "w": 24,
          "h": 54,
          "i": "16",
          "type": "Tab",
          "children": [
            {
              "name": "Overview",
              "children": [
                {
                  "x": 0,
                  "y": 0,
                  "w": 6,
                  "h": 10,
                  "i": "7",
                  "type": "Widget",
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "widget": {
                    "title": "Total Topics",
                    "tips": "Total number of topics.",
                    "name": "total_topics"
                  },
                  "expressions": [
                    "aggregate_labels(meter_pulsar_total_topics,sum)"
                  ],
                  "metricConfig": [
                    {
                      "label": "Total Topics"
                    }
                  ]
                },
                {
                  "x": 6,
                  "y": 0,
                  "w": 6,
                  "h": 10,
                  "i": "8",
                  "type": "Widget",
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "widget": {
                    "title": "Total Subscriptions",
                    "tips": "Total number of subscriptions.",
                    "name": "total_subscriptions"
                  },
                  "expressions": [
                    "aggregate_labels(meter_pulsar_total_subscriptions,sum)"
                  ],
                  "metricConfig": [
                    {
                      "label": "Total Subscriptions"
                    }
                  ]
                },
                {
                  "x": 12,
                  "y": 0,
                  "w": 6,
                  "h": 10,
                  "i": "9",
                  "type": "Widget",
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "widget": {
                    "title": "Total Producers",
                    "tips": "Total number of producers.",
                    "name": "total_producers"
                  },
                  "expressions": [
                    "aggregate_labels(meter_pulsar_total_producers,sum)"
                  ],
                  "metricConfig": [
                    {
                      "label": "Total Producers"
                    }
                  ]
                },
                {
                  "x": 18,
                  "y": 0,
                  "w": 6,
                  "h": 10,
                  "i": "10",
                  "type": "Widget",
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "widget": {
                    "title": "Total Consumers",
                    "tips": "Total number of consumers.",
                    "name": "total_consumers"
                  },
                  "expressions": [
                    "aggregate_labels(meter_pulsar_total_consumers,sum)"
                  ],
                  "metricConfig": [
                    {
                      "label": "Total Consumers"
                    }
                  ]
                },
                {
                  "x": 0,
                  "y": 10,
                  "w": 12,
                  "h": 10,
                  "i": "11",
                  "type": "Widget",
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "widget": {
                    "title": "Message Rate In",
                    "tips": "Incoming message rate.",
                    "name": "message_rate_in"
                  },
                  "expressions": [
                    "aggregate_labels(meter_pulsar_message_rate_in,sum)"
                  ],
                  "metricConfig": [
                    {
                      "label": "Message Rate In"
                    }
                  ]
                },
                {
                  "x": 12,
                  "y": 10,
                  "w": 12,
                  "h": 10,
                  "i": "12",
                  "type": "Widget",
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "widget": {
                    "title": "Message Rate Out",
                    "tips": "Outgoing message rate.",
                    "name": "message_rate_out"
                  },
                  "expressions": [
                    "aggregate_labels(meter_pulsar_message_rate_out,sum)"
                  ],
                  "metricConfig": [
                    {
                      "label": "Message Rate Out"
                    }
                  ]
                },
                {
                  "x": 0,
                  "y": 20,
                  "w": 12,
                  "h": 10,
                  "i": "13",
                  "type": "Widget",
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "widget": {
                    "title": "Throughput In",
                    "tips": "Incoming throughput.",
                    "name": "throughput_in"
                  },
                  "expressions": [
                    "aggregate_labels(meter_pulsar_throughput_in,sum)"
                  ],
                  "metricConfig": [
                    {
                      "label": "Throughput In"
                    }
                  ]
                },
                {
                  "x": 12,
                  "y": 20,
                  "w": 12,
                  "h": 10,
                  "i": "14",
                  "type": "Widget",
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "widget": {
                    "title": "Throughput Out",
                    "tips": "Outgoing throughput.",
                    "name": "throughput_out"
                  },
                  "expressions": [
                    "aggregate_labels(meter_pulsar_throughput_out,sum)"
                  ],
                  "metricConfig": [
                    {
                      "label": "Throughput Out"
                    }
                  ]
                },
                {
                  "x": 12,
                  "y": 40,
                  "w": 12,
                  "h": 10,
                  "i": "15",
                  "type": "Widget",
                  "expressions": [
                    "aggregate_labels(meter_pulsar_storage_read_rate,sum)"
                  ],
                  "metricConfig": [
                    {
                      "label": "Storage Read Rate"
                    }
                  ],
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "widget": {
                    "name": "storage_read_rate",
                    "title": "Storage Read Rate (messages per second)"
                  }
                },
                {
                  "x": 12,
                  "y": 30,
                  "w": 12,
                  "h": 10,
                  "i": "16",
                  "type": "Widget",
                  "expressions": [
                    "aggregate_labels(meter_pulsar_storage_logical_size,sum)/1024/1024"
                  ],
                  "metricConfig": [
                    {
                      "label": "Storage Logical Size"
                    }
                  ],
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "widget": {
                    "name": "storage_logical_size",
                    "title": "Storage Logical Size (MB)"
                  }
                },
                {
                  "x": 0,
                  "y": 40,
                  "w": 12,
                  "h": 10,
                  "i": "17",
                  "type": "Widget",
                  "expressions": [
                    "aggregate_labels(meter_pulsar_storage_write_rate,sum)"
                  ],
                  "metricConfig": [
                    {
                      "label": "Storage Write Rate"
                    }
                  ],
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true
                  },
                  "widget": {
                    "name": "storage_write_rate",
                    "title": "Storage Write Rate (messages per second)"
                  }
                },
                {
                  "x": 0,
                  "y": 30,
                  "w": 12,
                  "h": 10,
                  "i": "18",
                  "type": "Widget",
                  "expressions": [
                    "aggregate_labels(meter_pulsar_storage_size,sum)/1024/1024"
                  ],
                  "metricConfig": [
                    {
                      "label": "Storage Size"
                    }
                  ],
                  "graph": {
                    "type": "Line",
                    "step": false,
                    "smooth": false,
                    "showSymbol": true,
                    "showXAxis": true,
                    "showYAxis": true,
                    "legend": {
                      "asTable": false
                    }
                  },
                  "widget": {
                    "name": "storage_size",
                    "title": "Storage Size (MB)"
                  }
                }
              ]
            },
            {
              "name": "Node",
              "children": [
                {
                  "x": 0,
                  "y": 0,
                  "w": 24,
                  "h": 48,
                  "i": "0",
                  "type": "Widget",
                  "graph": {
                    "type": "InstanceList",
                    "dashboardName": "Pulsar-Broker",
                    "fontSize": 12
                  }
                }
              ]
            }
          ]
        }
      ],
      "layer": "PULSAR",
      "entity": "Service",
      "name": "Pulsar-Cluster",
      "id": "Pulsar-Cluster",
      "isRoot": false,
      "isDefault": true,
      "expressions": [
        "aggregate_labels(meter_pulsar_total_topics,sum)",
        "aggregate_labels(meter_pulsar_total_subscriptions,sum)",
        "avg(aggregate_labels(meter_pulsar_message_rate_in,sum))",
        "avg(aggregate_labels(meter_pulsar_message_rate_out,sum))",
        "aggregate_labels(meter_pulsar_storage_size,sum)"
      ],
      "expressionsConfig": [
        {
          "label": "total topics"
        },
        {
          "label": "total subscriptions"
        },
        {
          "label": "avg message rate in"
        },
        {
          "label": "avg message rate out"
        },
        {
          "label": "total storage size"
        }
      ]
    }
  }
]
