| { |
| "__inputs": [ |
| { |
| "name": "DS_default", |
| "label": "default", |
| "description": "", |
| "type": "datasource", |
| "pluginId": "prometheus", |
| "pluginName": "Prometheus" |
| } |
| ], |
| "__requires": [ |
| { |
| "type": "grafana", |
| "id": "grafana", |
| "name": "Grafana", |
| "version": "5.1.0" |
| }, |
| { |
| "type": "panel", |
| "id": "graph", |
| "name": "Graph", |
| "version": "5.0.0" |
| }, |
| { |
| "type": "datasource", |
| "id": "prometheus", |
| "name": "Prometheus", |
| "version": "5.0.0" |
| } |
| ], |
| "annotations": { |
| "list": [ |
| { |
| "builtIn": 1, |
| "datasource": "-- Grafana --", |
| "enable": true, |
| "hide": true, |
| "iconColor": "rgba(0, 211, 255, 1)", |
| "name": "Annotations & Alerts", |
| "type": "dashboard" |
| } |
| ] |
| }, |
| "editable": true, |
| "gnetId": null, |
| "graphTooltip": 0, |
| "id": null, |
| "iteration": 1533285490117, |
| "links": [], |
| "panels": [ |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "${DS_default}", |
| "fill": 1, |
| "gridPos": { |
| "h": 7, |
| "w": 12, |
| "x": 0, |
| "y": 0 |
| }, |
| "id": 16, |
| "legend": { |
| "avg": false, |
| "current": false, |
| "hideEmpty": false, |
| "max": false, |
| "min": false, |
| "show": false, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "pulsar_rate_in{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}", |
| "format": "time_series", |
| "hide": false, |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "{{cluster}} - {{namespace}}", |
| "metric": "pulsar_rate_in", |
| "refId": "A", |
| "step": 10 |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Local publish rate", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "label": "msg/s", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "${DS_default}", |
| "fill": 1, |
| "gridPos": { |
| "h": 7, |
| "w": 12, |
| "x": 12, |
| "y": 0 |
| }, |
| "id": 2, |
| "legend": { |
| "alignAsTable": false, |
| "avg": false, |
| "current": true, |
| "max": false, |
| "min": false, |
| "rightSide": false, |
| "show": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "pulsar_subscription_msg_rate_out{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}", |
| "format": "time_series", |
| "intervalFactor": 2, |
| "legendFormat": "{{subscription}}", |
| "metric": "pulsar_rate_out", |
| "refId": "A", |
| "step": 10 |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Local delivery rate", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "label": "msg / s", |
| "logBase": 1, |
| "max": null, |
| "min": "0", |
| "show": true |
| }, |
| { |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "${DS_default}", |
| "fill": 1, |
| "gridPos": { |
| "h": 7, |
| "w": 12, |
| "x": 0, |
| "y": 7 |
| }, |
| "id": 5, |
| "legend": { |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "show": false, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "pulsar_throughput_in{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "{{cluster}} - {{namespace}}", |
| "metric": "pulsar_throughput_in", |
| "refId": "A", |
| "step": 10 |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Local publish throughput (bytes/s)", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "Bps", |
| "label": "", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "${DS_default}", |
| "description": "", |
| "fill": 1, |
| "gridPos": { |
| "h": 7, |
| "w": 12, |
| "x": 12, |
| "y": 7 |
| }, |
| "id": 8, |
| "legend": { |
| "alignAsTable": false, |
| "avg": false, |
| "current": true, |
| "max": false, |
| "min": false, |
| "rightSide": false, |
| "show": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "pulsar_subscription_msg_throughput_out{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "{{subscription}}", |
| "metric": "pulsar_throughput_out", |
| "refId": "A", |
| "step": 10 |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Local delivery throughput (bytes/s)", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "Bps", |
| "label": "", |
| "logBase": 1, |
| "max": null, |
| "min": "0", |
| "show": true |
| }, |
| { |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "${DS_default}", |
| "decimals": 0, |
| "fill": 1, |
| "gridPos": { |
| "h": 7, |
| "w": 12, |
| "x": 0, |
| "y": 14 |
| }, |
| "id": 7, |
| "legend": { |
| "alignAsTable": false, |
| "avg": false, |
| "current": true, |
| "max": false, |
| "min": false, |
| "rightSide": false, |
| "show": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "sum(pulsar_producers_count{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"})", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "producers", |
| "metric": "pulsar_producers_count", |
| "refId": "A", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_subscriptions_count{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"})", |
| "format": "time_series", |
| "intervalFactor": 2, |
| "legendFormat": "subscriptions", |
| "metric": "pulsar_subscriptions_count", |
| "refId": "B", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_consumers_count{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"})", |
| "format": "time_series", |
| "intervalFactor": 2, |
| "legendFormat": "consumers", |
| "metric": "pulsar_consumers_count", |
| "refId": "C", |
| "step": 10 |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Topics - Producers - Subscriptions - Consumers", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [ |
| "current" |
| ] |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "label": "count", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "${DS_default}", |
| "fill": 1, |
| "gridPos": { |
| "h": 7, |
| "w": 12, |
| "x": 12, |
| "y": 14 |
| }, |
| "id": 4, |
| "legend": { |
| "alignAsTable": false, |
| "avg": false, |
| "current": true, |
| "max": false, |
| "min": false, |
| "rightSide": false, |
| "show": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "pulsar_subscription_back_log{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "{{subscription}}", |
| "metric": "pulsar_msg_backlog", |
| "refId": "A", |
| "step": 10 |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Local backlog", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "label": "Messages", |
| "logBase": 1, |
| "max": null, |
| "min": "0", |
| "show": true |
| }, |
| { |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "aliasColors": { |
| "0 - 0.5 ms": "#2F575E", |
| "0.5 - 1 ms": "#3F6833", |
| "1 - 5 ms": "#629E51", |
| "10 - 20 ms": "#E5A8E2", |
| "100 - 200 ms": "#EF843C", |
| "20 - 50 ms": "#65C5DB", |
| "200 ms - 1 s": "#EA6460", |
| "5 - 10 ms": "#1F78C1", |
| "50 - 100 ms": "#E5AC0E", |
| "< +Inf ms": "#BF1B00", |
| "< 0.5 ms": "#508642", |
| "> 1 s": "#BF1B00" |
| }, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "${DS_default}", |
| "fill": 5, |
| "gridPos": { |
| "h": 7, |
| "w": 12, |
| "x": 0, |
| "y": 21 |
| }, |
| "id": 3, |
| "legend": { |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "show": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 0, |
| "links": [], |
| "nullPointMode": "null", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [ |
| { |
| "alias": "< 100 ms", |
| "yaxis": 1 |
| } |
| ], |
| "spaceLength": 10, |
| "stack": true, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "sum(pulsar_storage_write_latency_le_0_5{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "0 - 0.5 ms", |
| "metric": "pulsar_add_entry_latency_le_0_5", |
| "refId": "A", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_storage_write_latency_le_1{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "0.5 - 1 ms", |
| "metric": "pulsar_add_entry_latency_le_1", |
| "refId": "B", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_storage_write_latency_le_5{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "1 - 5 ms", |
| "metric": "pulsar_add_entry_latency_le_5", |
| "refId": "C", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_storage_write_latency_le_10{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "5 - 10 ms", |
| "metric": "pulsar_add_entry_latency_le_10", |
| "refId": "D", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_storage_write_latency_le_20{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "10 - 20 ms", |
| "metric": "pulsar_add_entry_latency_le_20", |
| "refId": "E", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_storage_write_latency_le_50{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "20 - 50 ms", |
| "metric": "pulsar_add_entry_latency_le_50", |
| "refId": "F", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_storage_write_latency_le_100{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "hide": false, |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "50 - 100 ms", |
| "metric": "pulsar_add_entry_latency_le_100", |
| "refId": "G", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_storage_write_latency_le_200{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "intervalFactor": 2, |
| "legendFormat": "100 - 200 ms", |
| "metric": "pulsar_add_entry_latency_le_200", |
| "refId": "H", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_storage_write_latency_le_1000{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "intervalFactor": 2, |
| "legendFormat": "200 ms - 1 s", |
| "metric": "pulsar_add_entry_latency_le_1000", |
| "refId": "I", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_storage_write_latency_overflow{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "> 1 s", |
| "metric": "pulsar_add_entry_latency_overflow", |
| "refId": "J", |
| "step": 10 |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Storage Write Latency", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "label": "msg / s", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "${DS_default}", |
| "fill": 1, |
| "gridPos": { |
| "h": 7, |
| "w": 12, |
| "x": 12, |
| "y": 21 |
| }, |
| "id": 9, |
| "legend": { |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "show": false, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "sum(pulsar_storage_size{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"})", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "$namespace", |
| "metric": "pulsar_storage_size", |
| "refId": "A", |
| "step": 10 |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Storage Size", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "decbytes", |
| "label": "", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "${DS_default}", |
| "fill": 6, |
| "gridPos": { |
| "h": 7, |
| "w": 12, |
| "x": 0, |
| "y": 28 |
| }, |
| "id": 12, |
| "legend": { |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "show": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 0, |
| "links": [], |
| "nullPointMode": "null", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [ |
| { |
| "alias": "< 2 KB", |
| "yaxis": 1 |
| } |
| ], |
| "spaceLength": 10, |
| "stack": true, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "sum(pulsar_entry_size_le_128{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "< 128 bytes", |
| "metric": "pulsar_entry_size_le_128", |
| "refId": "A", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_entry_size_le_512{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "< 512 bytes", |
| "metric": "pulsar_entry_size_le_512", |
| "refId": "B", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_entry_size_le_1_kb{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "< 1 KB", |
| "metric": "pulsar_entry_size_le_1_kb", |
| "refId": "C", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_entry_size_le_2_kb{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "< 2 KB", |
| "metric": "pulsar_entry_size_le_2_kb", |
| "refId": "D", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_entry_size_le_4_kb{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "< 4 KB", |
| "metric": "pulsar_entry_size_le_4_kb", |
| "refId": "E", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_entry_size_le_16_kb{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "< 16 KB", |
| "metric": "pulsar_entry_size_le_16_kb", |
| "refId": "F", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_entry_size_le_100_kb{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "< 100 KB", |
| "metric": "pulsar_entry_size_le_100_kb", |
| "refId": "G", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_entry_size_le_1_mb{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "< 1 MB", |
| "metric": "pulsar_entry_size_le_1_mb", |
| "refId": "H", |
| "step": 10 |
| }, |
| { |
| "expr": "sum(pulsar_entry_size_overflow{cluster=~\"$cluster\", namespace=~\"$namespace\", topic=~\"$topic\"}) / 60.0", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 2, |
| "legendFormat": "> 1 MB", |
| "metric": "pulsar_entry_size_le_overflow", |
| "refId": "I", |
| "step": 10 |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Storage entry size", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "label": "msg / s", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| } |
| ], |
| "refresh": "5s", |
| "schemaVersion": 16, |
| "style": "dark", |
| "tags": [ |
| "pulsar" |
| ], |
| "templating": { |
| "list": [ |
| { |
| "allValue": null, |
| "current": {}, |
| "datasource": "${DS_default}", |
| "hide": 0, |
| "includeAll": false, |
| "label": "Cluster", |
| "multi": false, |
| "name": "cluster", |
| "options": [], |
| "query": "{cluster=~\".+\"}", |
| "refresh": 1, |
| "regex": "/.*[^_]cluster=\\\"([^\\\"]+)\\\".*/", |
| "sort": 1, |
| "tagValuesQuery": "", |
| "tags": [], |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| }, |
| { |
| "allValue": null, |
| "current": {}, |
| "datasource": "${DS_default}", |
| "hide": 0, |
| "includeAll": true, |
| "label": "Namespace", |
| "multi": false, |
| "name": "namespace", |
| "options": [], |
| "query": "{namespace=~\".+\"}", |
| "refresh": 2, |
| "regex": "/.*namespace=\\\"([^\\\"]+)\\\".*/", |
| "sort": 1, |
| "tagValuesQuery": "", |
| "tags": [], |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| }, |
| { |
| "allValue": null, |
| "current": {}, |
| "datasource": "${DS_default}", |
| "hide": 0, |
| "includeAll": true, |
| "label": "Topic", |
| "multi": false, |
| "name": "topic", |
| "options": [], |
| "query": "{topic=~\".+\"}", |
| "refresh": 2, |
| "regex": "/.*topic=\\\"([^\\\"]+)\\\".*/", |
| "sort": 1, |
| "tagValuesQuery": "", |
| "tags": [], |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| } |
| ] |
| }, |
| "time": { |
| "from": "now-5m", |
| "to": "now" |
| }, |
| "timepicker": { |
| "refresh_intervals": [ |
| "5s", |
| "10s", |
| "30s", |
| "1m", |
| "5m", |
| "15m", |
| "30m", |
| "1h", |
| "2h", |
| "1d" |
| ], |
| "time_options": [ |
| "5m", |
| "15m", |
| "1h", |
| "6h", |
| "12h", |
| "24h", |
| "2d", |
| "7d", |
| "30d" |
| ] |
| }, |
| "timezone": "browser", |
| "title": "Pulsar - Topic", |
| "uid": "3xEtii5mk", |
| "version": 10 |
| } |