{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" } ] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 82, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 5, "x": 0, "y": 0 }, "id": 20, "interval": "15s", "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "9.5.6", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_created_count{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"})", "interval": "", "legendFormat": "", "queryType": "randomWalk", "refId": "A" } ], "title": "Created Txn Count", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 4, "x": 5, "y": 0 }, "id": 14, "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "9.5.6", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_active_count{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"})", "interval": "", "legendFormat": "", "queryType": "randomWalk", "refId": "A" } ], "title": "Active Txn", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 5, "x": 9, "y": 0 }, "id": 16, "interval": "15s", "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "9.5.6", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_committed_count{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"})", "interval": "", "legendFormat": "", "queryType": "randomWalk", "refId": "A" } ], "title": "Committed Txn Count", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 5, "x": 14, "y": 0 }, "id": 22, "interval": "15s", "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "9.5.6", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_timeout_count{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"})", "interval": "", "legendFormat": "", "queryType": "randomWalk", "refId": "A" } ], "title": "Timeout Txn Count", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 5, "x": 19, "y": 0 }, "id": 18, "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "9.5.6", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_aborted_count{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"})", "interval": "", "legendFormat": "", "queryType": "randomWalk", "refId": "A" } ], "title": "Aborted Txn Count", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 5 }, "id": 8, "interval": "15s", "maxDataPoints": 762, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "irate(pulsar_txn_created_count{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}[1m])", "interval": "", "intervalFactor": 2, "legendFormat": "{{cluster}} - {{coordinator_id}}", "queryType": "randomWalk", "refId": "A" } ], "title": "Created Txn Rate", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 5 }, "id": 2, "interval": "15s", "maxDataPoints": 762, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "irate(pulsar_txn_committed_count{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}[1m])", "interval": "", "intervalFactor": 2, "legendFormat": "{{cluster}} - {{coordinator_id}}", "queryType": "randomWalk", "refId": "A" } ], "title": "Commit Txn Rate", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 13 }, "id": 4, "interval": "15s", "maxDataPoints": 762, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "irate(pulsar_txn_aborted_count{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}[1m])", "interval": "", "legendFormat": "{{cluster}} - {{coordinator_id}}", "queryType": "randomWalk", "refId": "A" } ], "title": "Aborted Txn Rate", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 13 }, "id": 6, "interval": "15", "maxDataPoints": 762, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "irate(pulsar_txn_timeout_count{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}[1m])", "interval": "", "intervalFactor": 2, "legendFormat": "{{cluster}} - {{coordinator_id}}", "queryType": "randomWalk", "refId": "A" } ], "title": "Timeout Txn Rate", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 21 }, "id": 10, "interval": "15s", "maxDataPoints": 762, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "irate(pulsar_txn_append_log_count{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}[1m])", "interval": "", "intervalFactor": 2, "legendFormat": "{{cluster}} - {{coordinator_id}}", "queryType": "randomWalk", "refId": "A" } ], "title": "Append Txn Log rate", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 21 }, "id": 12, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_execution_latency_le_10{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}) / 60.0", "interval": "", "intervalFactor": 2, "legendFormat": "0 - 10 ms", "queryType": "randomWalk", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_execution_latency_le_20{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}) / 60.0", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "10 - 20 ms", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_execution_latency_le_50{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}) / 60.0", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "20 - 50ms", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_execution_latency_le_100{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}) / 60.0", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "50 - 100 ms", "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_execution_latency_le_500{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}) / 60.0", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "100 - 500ms", "refId": "E" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_execution_latency_le_1000{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}) / 60.0", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "500 - 1000 ms", "refId": "F" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_execution_latency_le_5000{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}) / 60.0", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "1 - 5 s", "refId": "G" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_execution_latency_le_15000{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}) / 60.0", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "5 - 15 s", "refId": "H" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_execution_latency_le_30000{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}) / 60.0", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "15 - 30 s", "refId": "I" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_execution_latency_le_60000{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}) / 60.0", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "30 - 60 s", "refId": "J" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_execution_latency_le_300000{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}) / 60.0", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "1 - 5 m", "refId": "K" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_execution_latency_le_1500000{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}) / 60.0", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "5 - 25 m", "refId": "L" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_execution_latency_le_1500000{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}) / 60.0", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "25 - 50 m", "refId": "M" }, { "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "exemplar": true, "expr": "sum(pulsar_txn_execution_latency_le_overflow{cluster=~\"$cluster\", job=~\".*broker\", coordinator_id=~\"$coordinator_id\"}) / 60.0", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "> 50 m", "refId": "N" } ], "title": "Txn Execution Latency", "type": "timeseries" } ], "refresh": "", "schemaVersion": 38, "style": "dark", "tags": [], "templating": { "list": [ { "current": { "selected": false, "text": "All", "value": "$__all" }, "hide": 0, "includeAll": false, "label": "DataSource", "multi": false, "name": "DataSource", "options": [], "query": "prometheus", "queryValue": "", "refresh": 1, "regex": "^(?!Prometheus).*$", "skipUrlSync": false, "type": "datasource" }, { "current": { "selected": false, "text": "All", "value": "$__all" }, "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "definition": "pulsar_version_info{cluster=~\".+\"}", "hide": 0, "includeAll": false, "label": "Pulsar Cluster", "multi": false, "name": "cluster", "options": [], "query": { "query": "pulsar_version_info{cluster=~\".+\"}", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "/.*[^_]cluster=\\\"([^\\\"]+)\\\".*/", "skipUrlSync": false, "sort": 0, "type": "query" }, { "current": { "selected": false, "text": "All", "value": "$__all" }, "datasource": { "type": "prometheus", "uid": "${DataSource}" }, "definition": "pulsar_txn_committed_count{cluster=~\"$cluster\", coordinator_id=~\".+\", }", "hide": 0, "includeAll": true, "label": "CoordinatorId", "multi": false, "name": "coordinator_id", "options": [], "query": { "query": "pulsar_txn_committed_count{cluster=~\"$cluster\", coordinator_id=~\".+\", }", "refId": "StandardVariableQuery" }, "refresh": 2, "regex": "/.*coordinator_id=\\\"([^\\\"]+)\\\".*/", "skipUrlSync": false, "sort": 1, "type": "query" } ] }, "time": { "from": "now-5m", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Pulsar - Transaction", "uid": "wUI6Ck7nz", "version": 2, "weekStart": "" }