{ "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "limit": 100, "name": "Annotations & Alerts", "showIn": 0, "type": "dashboard" } ] }, "editable": false, "gnetId": null, "graphTooltip": 1, "iteration": 1612597868573, "links": [], "panels": [ { "collapsed": false, "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 10, "panels": [], "title": "Combined overview", "type": "row" }, { "aliasColors": { "CPU Used": "dark-green", "CPU load (1m)": "dark-green", "mangadex-at-home": "dark-green" }, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 2, "description": "*Warning:* CPU load can be a bit of a deceiving metric\n\nBest I can say is read the [wikipedia article](https://en.wikipedia.org/wiki/Load_(computing)#Interpretation)", "fieldConfig": { "defaults": { "custom": { "align": null, "filterable": false }, "decimals": 2, "mappings": [], "min": 0, "thresholds": { "mode": "percentage", "steps": [ { "color": "super-light-blue", "value": null } ] }, "unit": "short" }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, "w": 9, "x": 0, "y": 1 }, "hiddenSeries": false, "id": 18, "interval": null, "legend": { "avg": true, "current": true, "max": true, "min": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.3.7", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "process_cpu_usage", "interval": "", "legendFormat": "CPU load (1m)", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "CPU Load", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "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": { "Committed": "dark-red", "Used": "dark-green" }, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "description": "Amount *used* by the JVM\n\nIt might have allocated more, but this is the amount it actually is using out of it", "fieldConfig": { "defaults": { "custom": { "align": null, "filterable": false }, "decimals": 2, "mappings": [], "min": 0, "thresholds": { "mode": "percentage", "steps": [ { "color": "super-light-blue", "value": null } ] }, "unit": "decbytes" }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, "w": 8, "x": 9, "y": 1 }, "hiddenSeries": false, "id": 19, "interval": null, "legend": { "avg": true, "current": true, "max": true, "min": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.3.7", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "Committed", "color": "#C4162A", "fill": 0, "legend": false, "linewidth": 2 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "aggregation": "Last", "decimals": 2, "displayAliasType": "Warning / Critical", "displayType": "Regular", "displayValueWithAlias": "Never", "expr": "sum(jvm_memory_used_bytes)", "hide": false, "interval": "", "legendFormat": "Used", "refId": "A", "units": "none", "valueHandler": "Number Threshold" }, { "aggregation": "Last", "decimals": 2, "displayAliasType": "Warning / Critical", "displayType": "Regular", "displayValueWithAlias": "Never", "expr": "sum(jvm_memory_committed_bytes)", "hide": false, "instant": false, "interval": "", "legendFormat": "Committed", "refId": "B", "units": "none", "valueHandler": "Number Threshold" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "RAM", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": true, "alignLevel": null } }, { "aliasColors": { "Actual": "dark-green", "Actual use": "dark-green", "Reported": "super-light-blue" }, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "description": "", "fieldConfig": { "defaults": { "custom": { "align": null, "filterable": false }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-blue", "value": null }, { "color": "#EAB839", "value": 750000000 }, { "color": "dark-red", "value": 900000000 } ] }, "unit": "bps" }, "overrides": [] }, "fill": 2, "fillGradient": 0, "gridPos": { "h": 7, "w": 7, "x": 17, "y": 1 }, "hiddenSeries": false, "id": 20, "interval": "", "legend": { "alignAsTable": false, "avg": true, "current": true, "max": true, "min": false, "rightSide": false, "show": true, "sideWidth": null, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.3.7", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "Reported", "fill": 0 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "aggregation": "Last", "datasource": "Prometheus", "decimals": 2, "displayAliasType": "Warning / Critical", "displayType": "Regular", "displayValueWithAlias": "Never", "expr": "sum(rate(client_sent_bytes_total[$itvl])) * 8", "interval": "", "legendFormat": "Actual", "refId": "B", "units": "none", "valueHandler": "Number Threshold" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Outgoing bandwidth [$itvl]", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bps", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "bps", "label": null, "logBase": 1, "max": null, "min": "0", "show": false } ], "yaxis": { "align": false, "alignLevel": 0 } }, { "datasource": "Prometheus", "description": "Current uptime of client process", "fieldConfig": { "defaults": { "custom": {}, "decimals": 2, "mappings": [], "noValue": "Client not found!", "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-blue", "value": null } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 3, "w": 5, "x": 0, "y": 8 }, "id": 51, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "/.*/", "values": false }, "textMode": "value_and_name" }, "pluginVersion": "7.3.7", "targets": [ { "expr": "process_uptime_seconds", "instant": true, "interval": "", "legendFormat": "Version: {{ version }}", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Uptime", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true }, "indexByName": {}, "renameByName": {} } } ], "transparent": true, "type": "stat" }, { "cacheTimeout": null, "datasource": "Prometheus", "description": "This is the number of threads the JVM is currently using\n\nShould generally be around `50 + `", "fieldConfig": { "defaults": { "custom": { "align": null, "filterable": false }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-blue", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 2, "x": 5, "y": 8 }, "id": 32, "interval": null, "links": [], "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.7", "targets": [ { "aggregation": "Last", "decimals": 2, "displayAliasType": "Warning / Critical", "displayType": "Regular", "displayValueWithAlias": "Never", "expr": "sum(jvm_threads_live_threads)", "interval": "", "legendFormat": "", "refId": "A", "units": "none", "valueHandler": "Number Threshold" } ], "timeFrom": null, "timeShift": null, "title": "JVM threads", "transparent": true, "type": "stat" }, { "cacheTimeout": null, "datasource": "Prometheus", "description": "Files currently opened\n\nShould generally be around `100 + `", "fieldConfig": { "defaults": { "custom": { "align": null, "filterable": false }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-blue", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 2, "x": 7, "y": 8 }, "id": 34, "interval": null, "links": [], "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.7", "targets": [ { "aggregation": "Last", "decimals": 2, "displayAliasType": "Warning / Critical", "displayType": "Regular", "displayValueWithAlias": "Never", "expr": "sum(process_files_open_files)", "interval": "", "legendFormat": "", "refId": "A", "units": "none", "valueHandler": "Number Threshold" } ], "timeFrom": null, "timeShift": null, "title": "FDs", "transparent": true, "type": "stat" }, { "cacheTimeout": null, "datasource": "Prometheus", "description": "", "fieldConfig": { "defaults": { "custom": { "align": null, "filterable": false }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-blue", "value": null } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 3, "w": 2, "x": 9, "y": 8 }, "id": 30, "interval": null, "links": [], "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.7", "targets": [ { "aggregation": "Last", "decimals": 2, "displayAliasType": "Warning / Critical", "displayType": "Regular", "displayValueWithAlias": "Never", "expr": "sum(jvm_memory_used_bytes{area=\"heap\"})", "interval": "", "legendFormat": "JVM", "refId": "A", "units": "none", "valueHandler": "Number Threshold" } ], "timeFrom": null, "timeShift": null, "title": "JVM heap", "transparent": true, "type": "stat" }, { "cacheTimeout": null, "datasource": "Prometheus", "description": "", "fieldConfig": { "defaults": { "custom": { "align": null, "filterable": false }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-blue", "value": null } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 3, "w": 2, "x": 11, "y": 8 }, "id": 36, "interval": null, "links": [], "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.7", "targets": [ { "expr": "sum(jvm_memory_used_bytes{area=\"nonheap\"})", "interval": "", "legendFormat": "", "refId": "B" } ], "timeFrom": null, "timeShift": null, "title": "JVM direct", "transparent": true, "type": "stat" }, { "cacheTimeout": null, "datasource": "Prometheus", "description": "This is the percentage of time that your client spends freeing up memory, specifically when this process requires your application to completely pause.\n\nIf this is at 50%, it would mean that out of every 1 second that passes, your application is paused for 500ms of it. It should never be higher than a percent or so.", "fieldConfig": { "defaults": { "custom": { "align": null, "filterable": false }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-green", "value": null }, { "color": "#EAB839", "value": 0.03 }, { "color": "dark-red", "value": 0.1 } ] }, "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 13, "y": 8 }, "id": 31, "interval": null, "links": [], "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.7", "targets": [ { "aggregation": "Last", "decimals": 2, "displayAliasType": "Warning / Critical", "displayType": "Regular", "displayValueWithAlias": "Never", "expr": "sum(rate(jvm_gc_pause_seconds_sum[$itvl])) / sum(rate(process_uptime_seconds[$itvl]))", "interval": "", "legendFormat": "", "refId": "A", "units": "none", "valueHandler": "Number Threshold" } ], "timeFrom": null, "timeShift": null, "title": "Time lost to GC", "transparent": true, "type": "stat" }, { "cacheTimeout": null, "datasource": "Prometheus", "description": "Total number of requests successfully served over timerange selected", "fieldConfig": { "defaults": { "custom": { "align": null, "filterable": false }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-blue", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 17, "y": 8 }, "id": 37, "interval": null, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "vertical", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "value_and_name" }, "pluginVersion": "7.3.7", "targets": [ { "aggregation": "Last", "decimals": 2, "displayAliasType": "Warning / Critical", "displayType": "Regular", "displayValueWithAlias": "Never", "expr": "sum(increase(http_server_request_latency_seconds_count{status=~\"2..\", path=~\"(.*)data/{chapterHash}/{fileName}\"}[$__range]))", "instant": false, "interval": "", "legendFormat": "Over timerange", "refId": "B", "units": "none", "valueHandler": "Number Threshold" }, { "aggregation": "Last", "decimals": 2, "displayAliasType": "Warning / Critical", "displayType": "Regular", "displayValueWithAlias": "Never", "expr": "sum(increase(http_server_request_latency_seconds_count{status=~\"2..\", path=~\"(.*)data/{chapterHash}/{fileName}\"}[1y]))", "instant": false, "interval": "", "legendFormat": "Total (1y)", "refId": "A", "units": "none", "valueHandler": "Number Threshold" } ], "timeFrom": null, "timeShift": null, "title": "Served images", "transparent": true, "type": "stat" }, { "cacheTimeout": null, "datasource": "Prometheus", "description": "Total bytes sent over timerange currently selected", "fieldConfig": { "defaults": { "custom": { "align": null, "filterable": false }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-blue", "value": null } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 20, "y": 8 }, "id": 35, "interval": null, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "vertical", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "value_and_name" }, "pluginVersion": "7.3.7", "targets": [ { "aggregation": "Last", "decimals": 2, "displayAliasType": "Warning / Critical", "displayType": "Regular", "displayValueWithAlias": "Never", "expr": "sum(increase(client_sent_bytes_total[$__range]))", "instant": true, "interval": "", "legendFormat": "Over timerange", "refId": "B", "units": "none", "valueHandler": "Number Threshold" }, { "aggregation": "Last", "decimals": 2, "displayAliasType": "Warning / Critical", "displayType": "Regular", "displayValueWithAlias": "Never", "expr": "sum(increase(client_sent_bytes_total[1y]))", "instant": true, "interval": "", "legendFormat": "Total (1y)", "refId": "A", "units": "none", "valueHandler": "Number Threshold" } ], "timeFrom": null, "timeShift": null, "title": "Sent data", "transparent": true, "type": "stat" }, { "collapsed": false, "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 11 }, "id": 12, "panels": [], "title": "Mangadex", "type": "row" }, { "aliasColors": { "ClientAbortException": "dark-red", "Duration - 0.999": "red", "Failures": "dark-red", "IllegalStateException": "yellow", "Mean response time - HIT": "super-light-green", "Mean response time - MISS": "super-light-yellow", "Request": "dark-green", "Request - FAIL": "dark-red", "Request - HIT": "dark-green", "Request - MISS": "dark-yellow", "Success": "dark-green", "TTFB": "super-light-green", "TTFB - 0.999": "dark-red", "TTFB - HIT": "green", "TTFB - MISS": "super-light-yellow" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "description": "", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 10, "fillGradient": 0, "gridPos": { "h": 15, "w": 8, "x": 0, "y": 12 }, "hiddenSeries": false, "id": 2, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.3.7", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "/Mean response.*/", "fill": 0, "linewidth": 2, "stack": false, "yaxis": 2 } ], "spaceLength": 10, "stack": true, "steppedLine": false, "targets": [ { "expr": "sum(rate(http_server_request_latency_seconds_count{path=~\"(.*)data/{chapterHash}/{fileName}\", status=~\"(4|5)..\"}[$itvl]))", "interval": "", "legendFormat": "Request - FAIL", "refId": "B" }, { "expr": "sum(rate(http_server_request_latency_seconds_count{path=~\"(.*)data/{chapterHash}/{fileName}\", status=~\"2..\"}[$itvl])) by (cache)", "interval": "", "legendFormat": "Request - {{ cache }}", "refId": "A" }, { "expr": "sum(rate(http_server_request_latency_seconds_sum{path=~\"(.*)data/{chapterHash}/{fileName}\", status=~\"2..\"}[$itvl]) / rate(http_server_request_latency_seconds_count{path=~\"(.*)data/{chapterHash}/{fileName}\", status=~\"2..\"}[$itvl])) by (cache)", "interval": "", "legendFormat": "Mean response time - {{ cache }}", "refId": "C" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Requests served [$itvl]", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "reqps", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "s", "label": null, "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": { "200 - SUCCESS": "dark-green", "ClientAbortException": "dark-red", "Count": "dark-green", "Count - Exception: IllegalStateException": "dark-red", "Downloads": "dark-green", "Duration": "super-light-green", "IllegalStateException": "yellow", "Slow calls - failed": "dark-red", "Slow calls - successful": "yellow", "Success": "green", "TTFB": "super-light-blue", "Upstream failures": "dark-red", "failed": "dark-red", "ignored": "yellow" }, "bars": true, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "description": "This panel displays stats about upstream fetches\n\nTTFB is the time taken by upstream to start replying\n\nStatuses can be:\n- **successful** - executed with success\n- **failed** - executed but failed for some reason\n- **ignored** - to avoid spamming upstream when it's dead or suffering, the client avoids calling it many times in a row if they keep failing", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 8, "fillGradient": 0, "gridPos": { "h": 9, "w": 8, "x": 8, "y": 12 }, "hiddenSeries": false, "id": 13, "legend": { "alignAsTable": true, "avg": true, "current": true, "hideEmpty": true, "hideZero": true, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": false, "linewidth": 1, "nullPointMode": "null as zero", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.3.7", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "$$hashKey": "object:158", "alias": "successful", "color": "#37872D" }, { "$$hashKey": "object:159", "alias": "TTFB", "bars": false, "color": "#C0D8FF", "fill": 0, "lines": true, "linewidth": 2, "stack": false, "yaxis": 2 } ], "spaceLength": 10, "stack": true, "steppedLine": false, "targets": [ { "expr": "sum(rate(resilience4j_circuitbreaker_calls_seconds_count{name=\"upstream\"}[$itvl])) by (kind)", "hide": false, "instant": false, "interval": "$itvl", "intervalFactor": 2, "legendFormat": "{{ kind }}", "refId": "A" }, { "expr": "avg(rate(resilience4j_circuitbreaker_calls_seconds_sum[$itvl])) / avg(rate(resilience4j_circuitbreaker_calls_seconds_count[$itvl]))", "interval": "", "intervalFactor": 1, "legendFormat": "TTFB", "refId": "C" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Downloads from upstream [$itvl]", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:182", "format": "reqps", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "$$hashKey": "object:183", "format": "s", "label": null, "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "datasource": null, "fieldConfig": { "defaults": { "custom": {}, "mappings": [ { "from": "1", "id": 1, "text": "Disconnected", "to": "1000", "type": 2, "value": "" }, { "from": "0", "id": 2, "text": "Connected", "to": "1", "type": 2, "value": "" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-green", "value": null }, { "color": "dark-red", "value": 1 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 16, "y": 12 }, "id": 56, "options": { "colorMode": "background", "graphMode": "area", "justifyMode": "center", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "value" }, "pluginVersion": "7.3.7", "targets": [ { "expr": "sum(resilience4j_circuitbreaker_state{name=\"upstream\", state!=\"closed\"})", "instant": true, "interval": "", "legendFormat": "{{ state }}", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Upstream status", "type": "stat" }, { "cacheTimeout": null, "datasource": "Prometheus", "description": "Average cache hitrate of the current timerange\n\nSplits timerange in blocks of [$itvl], and averages their averages", "fieldConfig": { "defaults": { "custom": { "align": null, "filterable": false }, "mappings": [], "max": 1, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-red", "value": null }, { "color": "#EAB839", "value": 0.75 }, { "color": "dark-green", "value": 0.9 } ] }, "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 4, "w": 5, "x": 19, "y": 12 }, "id": 54, "interval": null, "links": [], "options": { "colorMode": "background", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.7", "targets": [ { "expr": "sum(rate(http_server_request_latency_seconds_count{path=~\"(.*)data/{chapterHash}/{fileName}\", cache=\"HIT\"}[$itvl])) / sum(rate(http_server_request_latency_seconds_count{path=~\"(.*)data/{chapterHash}/{fileName}\"}[$itvl]))", "interval": "", "legendFormat": "", "refId": "B" } ], "timeFrom": null, "timeShift": null, "title": "Avg hitrate over timerange", "type": "stat" }, { "aliasColors": { "ClientAbortException": "dark-red", "HIT": "dark-blue", "IllegalStateException": "yellow", "MISS": "yellow", "Success": "green" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 10, "fillGradient": 0, "gridPos": { "h": 11, "w": 8, "x": 16, "y": 16 }, "hiddenSeries": false, "id": 3, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "rightSide": false, "show": true, "sort": "current", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 0, "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": true, "pluginVersion": "7.3.7", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": true, "steppedLine": false, "targets": [ { "expr": "sum(rate(http_server_request_latency_seconds_count{path=~\"(.*)data/{chapterHash}/{fileName}\"}[$itvl])) by (cache)", "interval": "", "legendFormat": "{{ cache }}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Cache spread [$itvl]", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:314", "format": "reqps", "label": null, "logBase": 1, "max": "100", "min": "0", "show": true }, { "$$hashKey": "object:315", "format": "percentunit", "label": "hitrate", "logBase": 1, "max": "100", "min": "0", "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": { "0.5": "dark-green", "0.75": "dark-yellow", "0.9": "dark-orange", "0.99": "dark-red", "SUCCESS - 0.5": "dark-green", "SUCCESS - 0.9": "yellow", "SUCCESS - 0.99": "red" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 0, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 8, "y": 21 }, "hiddenSeries": false, "id": 49, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 2, "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.3.7", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "avg(avg_over_time(cache_lookup_seconds[$itvl])) by (quantile)", "interval": "", "legendFormat": "{{ quantile }}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Cache latency [$itvl]", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "s", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "decimals": 0, "format": "cps", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "collapsed": true, "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 27 }, "id": 53, "panels": [ { "circleMaxSize": "10", "circleMinSize": "1", "colors": [ "#73BF69", "#FADE2A", "#C4162A" ], "datasource": "Prometheus", "decimals": 0, "esMetric": "Count", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "gridPos": { "h": 15, "w": 11, "x": 0, "y": 27 }, "hideEmpty": true, "hideZero": true, "id": 39, "initialZoom": "2", "locationData": "countries", "mapCenter": "custom", "mapCenterLatitude": "30", "mapCenterLongitude": "20", "maxDataPoints": 1, "mouseWheelZoom": false, "pluginVersion": "7.3.4", "showLegend": true, "stickyLabels": false, "tableQueryOptions": { "geohashField": "geohash", "labelField": "country", "latitudeField": "latitude", "longitudeField": "longitude", "metricField": "metric", "queryType": "geohash" }, "targets": [ { "expr": "sum(increase(requests_country_counts_total[$__range])) by (country)", "format": "time_series", "instant": true, "interval": "", "legendFormat": "{{ country }}", "refId": "A" } ], "thresholds": "1000,10000", "timeFrom": null, "timeShift": null, "title": "Origin of requests over timerange", "type": "grafana-worldmap-panel", "unitPlural": "", "unitSingle": "", "unitSingular": "", "valueName": "current" }, { "aliasColors": {}, "bars": true, "dashLength": 10, "dashes": false, "datasource": null, "fieldConfig": { "defaults": { "custom": { "align": null, "filterable": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "fill": 8, "fillGradient": 0, "gridPos": { "h": 15, "w": 13, "x": 11, "y": 27 }, "hiddenSeries": false, "id": 41, "legend": { "alignAsTable": true, "avg": true, "current": true, "hideEmpty": true, "hideZero": true, "max": false, "min": false, "rightSide": true, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": false, "linewidth": 2, "nullPointMode": "null as zero", "options": { "alertThreshold": false }, "percentage": false, "pluginVersion": "7.3.7", "pointradius": 0.5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": true, "steppedLine": false, "targets": [ { "expr": "topk(5, sum(rate(requests_country_counts_total[$itvl])) by (country))", "interval": "$itvl", "legendFormat": "{{ country }}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Country spread [$itvl]", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:104", "format": "reqps", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "$$hashKey": "object:105", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } } ], "title": "GeoIP", "type": "row" } ], "refresh": "30s", "schemaVersion": 26, "style": "dark", "tags": [], "templating": { "list": [ { "auto": true, "auto_count": 30, "auto_min": "2m", "current": { "selected": false, "text": "auto", "value": "$__auto_interval_itvl" }, "error": null, "hide": 0, "label": "Resolution", "name": "itvl", "options": [ { "selected": true, "text": "auto", "value": "$__auto_interval_itvl" }, { "selected": false, "text": "2m", "value": "2m" }, { "selected": false, "text": "3m", "value": "3m" }, { "selected": false, "text": "10m", "value": "10m" }, { "selected": false, "text": "30m", "value": "30m" }, { "selected": false, "text": "1h", "value": "1h" }, { "selected": false, "text": "6h", "value": "6h" }, { "selected": false, "text": "12h", "value": "12h" }, { "selected": false, "text": "1d", "value": "1d" }, { "selected": false, "text": "7d", "value": "7d" }, { "selected": false, "text": "14d", "value": "14d" }, { "selected": false, "text": "30d", "value": "30d" } ], "query": "2m,3m,10m,30m,1h,6h,12h,1d,7d,14d,30d", "queryValue": "", "refresh": 2, "skipUrlSync": false, "type": "interval" } ] }, "time": { "from": "now-1h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "MangaDex@Home - Personal client dashboard", "uid": "a7sZAw2Mk", "version": 3 }