{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "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": 53, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisGridShow": true, "axisLabel": "", "axisPlacement": "auto", "axisSoftMin": 0, "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 2, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "reqps" }, "overrides": [] }, "gridPos": { "h": 7, "w": 18, "x": 0, "y": 0 }, "id": 12, "options": { "legend": { "calcs": ["min", "mean", "max"], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "11.5.0-80207", "targets": [ { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "editorMode": "code", "expr": "sum by (path) (rate(tokens_http_requests_total[$__rate_interval]))", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "Throughput", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "reqps" }, "overrides": [] }, "gridPos": { "h": 7, "w": 6, "x": 18, "y": 0 }, "id": 4, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": ["mean"], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.0-80207", "targets": [ { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "editorMode": "code", "exemplar": true, "expr": "sum(irate(tokens_http_requests_total[$__range]))", "interval": "", "legendFormat": "Requests", "range": true, "refId": "A" } ], "title": "GET / throughput", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisGridShow": true, "axisLabel": "", "axisPlacement": "auto", "axisSoftMin": 0, "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 2, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 6, "w": 24, "x": 0, "y": 7 }, "id": 13, "options": { "legend": { "calcs": ["min", "mean", "max"], "displayMode": "table", "placement": "right", "showLegend": false }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "11.5.0-80207", "targets": [ { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "editorMode": "code", "expr": "histogram_quantile(0.95, sum by (le) (rate(tokens_http_request_duration_seconds_bucket[$__rate_interval])))", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "Latency", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 2, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "reqps" }, "overrides": [] }, "gridPos": { "h": 7, "w": 18, "x": 0, "y": 13 }, "id": 6, "options": { "legend": { "calcs": ["last", "min", "max", "mean"], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "11.5.0-80207", "targets": [ { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "disableTextWrap": false, "editorMode": "builder", "exemplar": true, "expr": "sum by(status) (rate(tokens_reads_total[$__rate_interval]))", "fullMetaSearch": false, "includeNullMetadata": true, "interval": "", "legendFormat": "{{status}}", "range": true, "refId": "A", "useBackend": false }, { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "editorMode": "code", "expr": "sum(rate(tokens_cache_misses_total[$__rate_interval]))", "hide": false, "legendFormat": "Misses", "range": true, "refId": "B" } ], "title": "Token reads", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 7, "w": 6, "x": 18, "y": 13 }, "id": 8, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": ["mean"], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.0-80207", "targets": [ { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "editorMode": "code", "exemplar": true, "expr": "(sum(rate(tokens_cache_reads_total[$__rate_interval])) - sum(rate(tokens_cache_reads_total{status=\"miss\"}[$__rate_interval]))) / sum(rate(tokens_cache_reads_total[$__rate_interval]))", "interval": "", "legendFormat": "Requests", "range": true, "refId": "A" } ], "title": "Cache hit ratio", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 2, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "reqps" }, "overrides": [] }, "gridPos": { "h": 7, "w": 18, "x": 0, "y": 20 }, "id": 14, "options": { "legend": { "calcs": ["last", "min", "max", "mean"], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "11.5.0-80207", "targets": [ { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "disableTextWrap": false, "editorMode": "code", "exemplar": true, "expr": "sum by(status) (rate(tokens_cache_reads_total[$__rate_interval]))", "fullMetaSearch": false, "includeNullMetadata": true, "interval": "", "legendFormat": "{{status}}", "range": true, "refId": "A", "useBackend": false }, { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "editorMode": "code", "expr": "sum(rate(tokens_cache_misses_total[$__rate_interval]))", "hide": false, "legendFormat": "Misses", "range": true, "refId": "B" } ], "title": "Reads from cache", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 2, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "reqps" }, "overrides": [] }, "gridPos": { "h": 7, "w": 6, "x": 18, "y": 20 }, "id": 15, "options": { "legend": { "calcs": ["last", "min", "max", "mean"], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "11.5.0-80207", "targets": [ { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "disableTextWrap": false, "editorMode": "builder", "exemplar": true, "expr": "sum by(status) (rate(tokens_cache_reads_total{status=\"miss\"}[$__rate_interval]))", "fullMetaSearch": false, "includeNullMetadata": true, "interval": "", "legendFormat": "{{status}}", "range": true, "refId": "A", "useBackend": false }, { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "editorMode": "code", "expr": "sum(rate(tokens_cache_misses_total[$__rate_interval]))", "hide": false, "legendFormat": "Misses", "range": true, "refId": "B" } ], "title": "Cache misses", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 18, "x": 0, "y": 27 }, "id": 9, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "11.5.0-80207", "targets": [ { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "disableTextWrap": false, "editorMode": "builder", "exemplar": true, "expr": "sum by(source) (rate(tokens_cache_fills_total[$__rate_interval]))", "fullMetaSearch": false, "includeNullMetadata": true, "interval": "", "legendFormat": "__auto", "range": true, "refId": "A", "useBackend": false } ], "title": "In-Memory Cache fill ups", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 2, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "reqps" }, "overrides": [] }, "gridPos": { "h": 7, "w": 6, "x": 18, "y": 27 }, "id": 16, "options": { "legend": { "calcs": ["last", "min", "max", "mean"], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "11.5.0-80207", "targets": [ { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "disableTextWrap": false, "editorMode": "builder", "exemplar": true, "expr": "sum by(status) (rate(tokens_cache_reads_total{status=\"stale\"}[$__rate_interval]))", "fullMetaSearch": false, "includeNullMetadata": true, "interval": "", "legendFormat": "{{status}}", "range": true, "refId": "A", "useBackend": false }, { "datasource": { "type": "prometheus", "uid": "grafanacloud-prom" }, "editorMode": "code", "expr": "sum(rate(tokens_cache_misses_total[$__rate_interval]))", "hide": false, "legendFormat": "Misses", "range": true, "refId": "B" } ], "title": "Stale cache hits", "type": "timeseries" } ], "refresh": "5s", "schemaVersion": 40, "tags": ["hive", "tokens"], "templating": { "list": [] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Hive Tokens Metrics", "uid": "gvDRS0-Vz", "version": 9, "weekStart": "" }