{
    "name": "Pulsar - Broker",
    "tags": "",
    "ident": "",
    "configs": {
        "version": "3.0.0",
        "links": [],
        "var": [
            {
                "name": "datasource",
                "type": "datasource",
                "definition": "prometheus"
            },
            {
                "name": "cluster",
                "type": "query",
                "datasource": {
                    "cate": "prometheus",
                    "value": "${datasource}"
                },
                "definition": "label_values(up{job=\"pulsar-bookie\", cluster=~\"pulsar-.*\"},cluster)",
                "reg": "",
                "multi": false
            },
            {
                "name": "instance",
                "type": "query",
                "datasource": {
                    "cate": "prometheus",
                    "value": "${datasource}"
                },
                "definition": "label_values(pulsar_rate_in{cluster=~\"$cluster\"}, instance)",
                "reg": "",
                "multi": true,
                "allOption": true,
                "allValue": null
            },
            {
                "name": "cache",
                "type": "query",
                "datasource": {
                    "cate": "prometheus",
                    "value": "${datasource}"
                },
                "definition": "label_values(caffeine_cache_hit_total{cluster=~\"$cluster\", instance=~\"$instance\"},cache)",
                "reg": "",
                "multi": true,
                "allOption": true,
                "allValue": null
            }
        ],
        "panels": [
            {
                "version": "2.0.0",
                "id": "c047e7db-42b5-4133-ba66-d6c9aed80be3",
                "type": "timeseries",
                "name": "Publish rate (msg/s)",
                "links": [],
                "layout": {
                    "h": 7,
                    "w": 12,
                    "x": 0,
                    "y": 0,
                    "i": "c047e7db-42b5-4133-ba66-d6c9aed80be3",
                    "isResizable": true
                },
                "targets": [
                    {
                        "refId": "A",
                        "expr": "sum(pulsar_rate_in{cluster=~\"$cluster\", instance=~\"$instance\"}) by (instance)",
                        "legend": "{{instance}}"
                    }
                ],
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "version": "2.0.0",
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "fillOpacity": 0.5,
                    "stack": "off"
                },
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}"
            },
            {
                "version": "2.0.0",
                "id": "774307a4-87f1-47b1-b4d6-50da2417aa87",
                "type": "timeseries",
                "name": "Dispatch rate (msg / s)",
                "description": "",
                "links": [],
                "layout": {
                    "h": 7,
                    "w": 12,
                    "x": 12,
                    "y": 0,
                    "i": "774307a4-87f1-47b1-b4d6-50da2417aa87",
                    "isResizable": true
                },
                "targets": [
                    {
                        "refId": "A",
                        "expr": "sum(pulsar_rate_out{cluster=~\"$cluster\", instance=~\"$instance\"}) by (instance)",
                        "legend": "{{instance}}"
                    }
                ],
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "version": "2.0.0",
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "fillOpacity": 0.5,
                    "stack": "off"
                },
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}"
            },
            {
                "version": "2.0.0",
                "id": "7d2f2af6-5d8e-441e-9652-d5a0affede0f",
                "type": "timeseries",
                "name": "Publish throughput (MB/s)",
                "links": [],
                "layout": {
                    "h": 7,
                    "w": 12,
                    "x": 0,
                    "y": 7,
                    "i": "7d2f2af6-5d8e-441e-9652-d5a0affede0f",
                    "isResizable": true
                },
                "targets": [
                    {
                        "refId": "A",
                        "expr": "sum(pulsar_throughput_in{cluster=~\"$cluster\", instance=~\"$instance\"}) by (instance)",
                        "legend": "{{instance}}"
                    }
                ],
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "version": "2.0.0",
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "fillOpacity": 0.5,
                    "stack": "off"
                },
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}"
            },
            {
                "version": "2.0.0",
                "id": "b1ece719-da23-489f-b573-394c01677c08",
                "type": "timeseries",
                "name": "Dispatch throughput (MB/s)",
                "links": [],
                "layout": {
                    "h": 7,
                    "w": 12,
                    "x": 12,
                    "y": 7,
                    "i": "b1ece719-da23-489f-b573-394c01677c08",
                    "isResizable": true
                },
                "targets": [
                    {
                        "refId": "A",
                        "expr": "sum(pulsar_throughput_out{cluster=~\"$cluster\", instance=~\"$instance\"}) by (instance)",
                        "legend": "{{instance}}"
                    }
                ],
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "version": "2.0.0",
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "fillOpacity": 0.5,
                    "stack": "off"
                },
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}"
            },
            {
                "version": "2.0.0",
                "id": "6e8c0cb8-d800-41da-a968-a37f8bb8ff97",
                "type": "timeseries",
                "name": "Topics count",
                "links": [],
                "layout": {
                    "h": 6,
                    "w": 8,
                    "x": 0,
                    "y": 14,
                    "i": "6e8c0cb8-d800-41da-a968-a37f8bb8ff97",
                    "isResizable": true
                },
                "targets": [
                    {
                        "refId": "A",
                        "expr": "sum(pulsar_topics_count{cluster=~\"$cluster\", instance=~\"$instance\"}) by (instance)",
                        "legend": "{{instance}}"
                    }
                ],
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "version": "2.0.0",
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "fillOpacity": 0.5,
                    "stack": "off"
                },
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}"
            },
            {
                "version": "2.0.0",
                "id": "90476806-f44c-47a3-8344-65fb780a0efb",
                "type": "timeseries",
                "name": "Producers count",
                "links": [],
                "layout": {
                    "h": 6,
                    "w": 8,
                    "x": 8,
                    "y": 14,
                    "i": "90476806-f44c-47a3-8344-65fb780a0efb",
                    "isResizable": true
                },
                "targets": [
                    {
                        "refId": "A",
                        "expr": "sum(pulsar_producers_count{cluster=~\"$cluster\", instance=~\"$instance\"}) by (instance)  ",
                        "legend": "{{instance}}"
                    }
                ],
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "version": "2.0.0",
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "fillOpacity": 0.5,
                    "stack": "off"
                },
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}"
            },
            {
                "version": "2.0.0",
                "id": "560cd146-2bd5-4734-86ac-0ec1124a28ca",
                "type": "timeseries",
                "name": "Consumers count",
                "links": [],
                "layout": {
                    "h": 6,
                    "w": 8,
                    "x": 16,
                    "y": 14,
                    "i": "560cd146-2bd5-4734-86ac-0ec1124a28ca",
                    "isResizable": true
                },
                "targets": [
                    {
                        "refId": "A",
                        "expr": "sum(pulsar_consumers_count{cluster=~\"$cluster\", instance=~\"$instance\"}) by (instance)  ",
                        "legend": "{{instance}}"
                    }
                ],
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "version": "2.0.0",
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "fillOpacity": 0.5,
                    "stack": "off"
                },
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}"
            },
            {
                "version": "2.0.0",
                "id": "f2a210f1-3acf-492c-8503-a24e043fcc50",
                "type": "timeseries",
                "name": "Messages Backlog",
                "links": [],
                "layout": {
                    "h": 7,
                    "w": 12,
                    "x": 0,
                    "y": 20,
                    "i": "f2a210f1-3acf-492c-8503-a24e043fcc50",
                    "isResizable": true
                },
                "targets": [
                    {
                        "refId": "A",
                        "expr": "sum(pulsar_msg_backlog{cluster=~\"$cluster\", instance=~\"$instance\"}) by (instance)",
                        "legend": "{{instance}}"
                    }
                ],
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "version": "2.0.0",
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "fillOpacity": 0.5,
                    "stack": "off"
                },
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}"
            },
            {
                "version": "2.0.0",
                "id": "b8dd8e6c-436c-4f2c-b016-249b02964f5c",
                "type": "timeseries",
                "name": "Storage Write Latency",
                "links": [],
                "layout": {
                    "h": 7,
                    "w": 12,
                    "x": 12,
                    "y": 20,
                    "i": "b8dd8e6c-436c-4f2c-b016-249b02964f5c",
                    "isResizable": true
                },
                "targets": [
                    {
                        "refId": "A",
                        "expr": "sum(pulsar_storage_write_latency_le_0_5{cluster=~\"$cluster\", instance=~\"$instance\"}) / 60.0",
                        "legend": "0 - 0.5 ms"
                    },
                    {
                        "refId": "B",
                        "expr": "sum(pulsar_storage_write_latency_le_1{cluster=~\"$cluster\", instance=~\"instance\"}) / 60.0",
                        "legend": "0.5 - 1 ms"
                    },
                    {
                        "refId": "C",
                        "expr": "sum(pulsar_storage_write_latency_le_5{cluster=~\"$cluster\", instance=~\"$instance\"}) / 60.0",
                        "legend": "1 - 5 ms"
                    },
                    {
                        "refId": "D",
                        "expr": "sum(pulsar_storage_write_latency_le_10{cluster=~\"$cluster\", instance=~\"$instance\"}) / 60.0",
                        "legend": "5 - 10 ms"
                    },
                    {
                        "refId": "E",
                        "expr": "sum(pulsar_storage_write_latency_le_20{cluster=~\"$cluster\", instance=~\"$instance\"}) / 60.0",
                        "legend": "10 - 20 ms"
                    },
                    {
                        "refId": "F",
                        "expr": "sum(pulsar_storage_write_latency_le_50{cluster=~\"$cluster\", instance=~\"$instance\"}) / 60.0",
                        "legend": "20 - 50 ms"
                    },
                    {
                        "refId": "G",
                        "expr": "sum(pulsar_storage_write_latency_le_100{cluster=~\"$cluster\", instance=~\"$instance\"}) / 60.0",
                        "legend": "50 - 100 ms"
                    },
                    {
                        "refId": "H",
                        "expr": "sum(pulsar_storage_write_latency_le_200{cluster=~\"$cluster\", instance=~\"$instance\"}) / 60.0",
                        "legend": "100 - 200 ms"
                    },
                    {
                        "refId": "I",
                        "expr": "sum(pulsar_storage_write_latency_le_1000{cluster=~\"$cluster\", instance=~\"$instance\"}) / 60.0",
                        "legend": "200 ms - 1 s"
                    },
                    {
                        "refId": "J",
                        "expr": "sum(pulsar_storage_write_latency_overflow{cluster=~\"$cluster\", instance=~\"$instance\"}) / 60.0",
                        "legend": "> 1 s"
                    }
                ],
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "version": "2.0.0",
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "fillOpacity": 0.5,
                    "stack": "off"
                },
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}"
            },
            {
                "type": "timeseries",
                "id": "374d302b-054f-4771-bff8-95ce57539989",
                "layout": {
                    "h": 7,
                    "w": 6,
                    "x": 0,
                    "y": 27,
                    "i": "374d302b-054f-4771-bff8-95ce57539989",
                    "isResizable": true
                },
                "version": "2.0.0",
                "datasourceCate": "prometheus",
                "targets": [
                    {
                        "refId": "A",
                        "expr": "sum(pulsar_broker_publish_latency{cluster=~\"$cluster\", instance=~\"$instance\", quantile=\"0.5\"}) by (instance)",
                        "legend": "{{instance}}"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Publish Latency - 50pct",
                "links": [],
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "datasourceValue": "${datasource}"
            },
            {
                "type": "timeseries",
                "id": "0c52e7f5-cb56-4b90-bce6-ed6fb6f7d1f9",
                "layout": {
                    "h": 7,
                    "w": 6,
                    "x": 6,
                    "y": 27,
                    "i": "0c52e7f5-cb56-4b90-bce6-ed6fb6f7d1f9",
                    "isResizable": true
                },
                "version": "2.0.0",
                "datasourceCate": "prometheus",
                "targets": [
                    {
                        "refId": "A",
                        "expr": "sum(pulsar_broker_publish_latency{cluster=~\"$cluster\", instance=~\"$instance\", quantile=\"0.99\"}) by (instance)",
                        "legend": "{{instance}}"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Publish Latency - 99pct",
                "links": [],
                "description": "",
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "datasourceValue": "${datasource}"
            },
            {
                "type": "timeseries",
                "id": "248c67bd-9c96-4b7e-90d0-87548afe4bee",
                "layout": {
                    "h": 7,
                    "w": 6,
                    "x": 12,
                    "y": 27,
                    "i": "248c67bd-9c96-4b7e-90d0-87548afe4bee",
                    "isResizable": true
                },
                "version": "2.0.0",
                "datasourceCate": "prometheus",
                "targets": [
                    {
                        "refId": "A",
                        "expr": "sum(pulsar_broker_publish_latency{cluster=~\"$cluster\", instance=~\"$instance\", quantile=\"0.999\"}) by (instance)",
                        "legend": "{{instance}}"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Publish Latency - 99.9pct",
                "links": [],
                "description": "",
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "datasourceValue": "${datasource}"
            },
            {
                "type": "timeseries",
                "id": "7aea9992-8fbe-4268-b552-c69e62329d87",
                "layout": {
                    "h": 7,
                    "w": 6,
                    "x": 18,
                    "y": 27,
                    "i": "7aea9992-8fbe-4268-b552-c69e62329d87",
                    "isResizable": true
                },
                "version": "2.0.0",
                "datasourceCate": "prometheus",
                "targets": [
                    {
                        "refId": "A",
                        "expr": "sum(pulsar_broker_publish_latency{cluster=~\"$cluster\", instance=~\"$instance\", quantile=\"1.0\"}) by (instance)",
                        "legend": "{{instance}}"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Publish Latency - Max",
                "links": [],
                "description": "",
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "datasourceValue": "${datasource}"
            },
            {
                "version": "2.0.0",
                "id": "84db6ebc-99a6-4a89-b949-be63a8d253e1",
                "type": "row",
                "name": "Instance Cache - $cache",
                "collapsed": true,
                "layout": {
                    "h": 1,
                    "w": 24,
                    "x": 0,
                    "y": 34,
                    "i": "84db6ebc-99a6-4a89-b949-be63a8d253e1",
                    "isResizable": false
                },
                "panels": []
            },
            {
                "version": "2.0.0",
                "id": "2d449a52-2c90-4b95-b185-741e7ea28753",
                "type": "timeseries",
                "name": "Cache size",
                "links": [],
                "layout": {
                    "h": 8,
                    "w": 4,
                    "x": 0,
                    "y": 35,
                    "i": "2d449a52-2c90-4b95-b185-741e7ea28753",
                    "isResizable": true
                },
                "targets": [
                    {
                        "refId": "A",
                        "expr": "caffeine_cache_estimated_size{cluster=~\"$cluster\", instance=~\"$instance\", cache=~\"$cache\"}",
                        "legend": "{{ instance }}"
                    }
                ],
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "version": "2.0.0",
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "fillOpacity": 0.5,
                    "stack": "off"
                },
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}"
            },
            {
                "version": "2.0.0",
                "id": "8059e010-b27c-4640-ac38-2613c07ac602",
                "type": "timeseries",
                "name": "Evictions rate",
                "links": [],
                "layout": {
                    "h": 8,
                    "w": 4,
                    "x": 4,
                    "y": 35,
                    "i": "8059e010-b27c-4640-ac38-2613c07ac602",
                    "isResizable": true
                },
                "targets": [
                    {
                        "refId": "A",
                        "expr": "irate(caffeine_cache_eviction_total{cluster=~\"$cluster\", instance=~\"$instance\", cache=~\"$cache\"}[1m])",
                        "legend": "{{ instance }}"
                    }
                ],
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "version": "2.0.0",
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "fillOpacity": 0.5,
                    "stack": "off"
                },
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}"
            },
            {
                "version": "2.0.0",
                "id": "a7fb61cb-2be0-417e-b29f-0f624454a271",
                "type": "timeseries",
                "name": "Hits / s",
                "description": "",
                "links": [],
                "layout": {
                    "h": 8,
                    "w": 4,
                    "x": 8,
                    "y": 35,
                    "i": "a7fb61cb-2be0-417e-b29f-0f624454a271",
                    "isResizable": true
                },
                "targets": [
                    {
                        "refId": "A",
                        "expr": "irate(caffeine_cache_hit_total{cluster=~\"$cluster\", instance=~\"$instance\", cache=~\"$cache\"}[1m])",
                        "legend": "{{ instance }}"
                    }
                ],
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "version": "2.0.0",
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "fillOpacity": 0.5,
                    "stack": "off"
                },
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}"
            },
            {
                "version": "2.0.0",
                "id": "01a31d66-5d81-4cb7-af4a-ccc41f908a3a",
                "type": "timeseries",
                "name": "Misses / s",
                "description": "",
                "links": [],
                "layout": {
                    "h": 8,
                    "w": 4,
                    "x": 12,
                    "y": 35,
                    "i": "01a31d66-5d81-4cb7-af4a-ccc41f908a3a",
                    "isResizable": true
                },
                "targets": [
                    {
                        "refId": "A",
                        "expr": "irate(caffeine_cache_miss_total{cluster=~\"$cluster\", instance=~\"$instance\", cache=~\"$cache\"}[1m])",
                        "legend": "{{ instance }}"
                    }
                ],
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "version": "2.0.0",
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "fillOpacity": 0.5,
                    "stack": "off"
                },
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}"
            },
            {
                "version": "2.0.0",
                "id": "35364161-a244-4401-9aba-8e2ff0db4367",
                "type": "timeseries",
                "name": "Loads / s",
                "description": "",
                "links": [],
                "layout": {
                    "h": 8,
                    "w": 4,
                    "x": 16,
                    "y": 35,
                    "i": "35364161-a244-4401-9aba-8e2ff0db4367",
                    "isResizable": true
                },
                "targets": [
                    {
                        "refId": "A",
                        "expr": "irate(caffeine_cache_loads_total{cluster=~\"$cluster\", instance=~\"$instance\", cache=~\"$cache\"}[1m])",
                        "legend": "{{ instance }}"
                    }
                ],
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "version": "2.0.0",
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "fillOpacity": 0.5,
                    "stack": "off"
                },
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}"
            },
            {
                "type": "timeseries",
                "id": "b54e4af2-feb4-48ba-8369-fb0ae3bf34a4",
                "layout": {
                    "h": 8,
                    "w": 4,
                    "x": 20,
                    "y": 35,
                    "i": "b54e4af2-feb4-48ba-8369-fb0ae3bf34a4",
                    "isResizable": true
                },
                "version": "2.0.0",
                "datasourceCate": "prometheus",
                "targets": [
                    {
                        "refId": "A",
                        "expr": "idelta(caffeine_cache_load_duration_seconds_sum{cluster=~\"$cluster\", instance=~\"$instance\", cache=~\"$cache\"}[1m])/idelta(caffeine_cache_load_duration_seconds_count{cluster=~\"$cluster\", instance=~\"$instance\", cache=~\"$cache\"}[1m])",
                        "legend": "{{ instance }}"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Avg load latency",
                "links": [],
                "description": "",
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "datasourceValue": "${datasource}"
            }
        ]
    }
}