diff --git a/charts/document-engine/CHANGELOG.md b/charts/document-engine/CHANGELOG.md index ef09561..35a49aa 100644 --- a/charts/document-engine/CHANGELOG.md +++ b/charts/document-engine/CHANGELOG.md @@ -1,75 +1,77 @@ # Changelog - [Changelog](#changelog) + - [7.1.3 (2025-10-23)](#713-2025-10-23) + - [Changed](#changed) - [7.1.2 (2025-10-22)](#712-2025-10-22) - [Fixed](#fixed) - [7.1.1 (2025-10-22)](#711-2025-10-22) - [Fixed](#fixed-1) - [7.1.0 (2025-10-22)](#710-2025-10-22) - - [Changed](#changed) - - [7.0.1 (2025-10-13)](#701-2025-10-13) - [Changed](#changed-1) + - [7.0.1 (2025-10-13)](#701-2025-10-13) + - [Changed](#changed-2) - [7.0.0 (2025-10-09)](#700-2025-10-09) - [Added](#added) - - [Changed](#changed-2) - - [6.3.1 (2025-10-08)](#631-2025-10-08) - [Changed](#changed-3) - - [6.3.0 (2025-10-07)](#630-2025-10-07) + - [6.3.1 (2025-10-08)](#631-2025-10-08) - [Changed](#changed-4) + - [6.3.0 (2025-10-07)](#630-2025-10-07) + - [Changed](#changed-5) - [6.2.0 (2025-10-07)](#620-2025-10-07) - [Added](#added-1) - [6.1.0 (2025-10-05)](#610-2025-10-05) - - [Changed](#changed-5) + - [Changed](#changed-6) - [6.0.0 (2025-10-01)](#600-2025-10-01) - [Added](#added-2) - - [Changed](#changed-6) + - [Changed](#changed-7) - [5.4.1 (2025-09-28)](#541-2025-09-28) - [Added](#added-3) - [5.4.0 (2025-09-23)](#540-2025-09-23) - - [Changed](#changed-7) + - [Changed](#changed-8) - [Fixed](#fixed-2) - [5.3.0 (2025-09-21)](#530-2025-09-21) - [Added](#added-4) - [5.2.0 (2025-08-25)](#520-2025-08-25) - - [Changed](#changed-8) - - [5.1.3 (2025-07-24)](#513-2025-07-24) - [Changed](#changed-9) + - [5.1.3 (2025-07-24)](#513-2025-07-24) + - [Changed](#changed-10) - [5.1.2 (2025-07-16)](#512-2025-07-16) - [Added](#added-5) - [5.1.1 (2025-07-08)](#511-2025-07-08) - - [Changed](#changed-10) - - [5.1.0 (2025-07-05)](#510-2025-07-05) - [Changed](#changed-11) + - [5.1.0 (2025-07-05)](#510-2025-07-05) + - [Changed](#changed-12) - [5.0.1 (2025-06-27)](#501-2025-06-27) - [Fixed](#fixed-3) - [5.0.0 (2025-06-27)](#500-2025-06-27) - [Added](#added-6) - - [Changed](#changed-12) + - [Changed](#changed-13) - [4.0.1 (2025-06-24)](#401-2025-06-24) - [Fixed](#fixed-4) - [4.0.0 (2025-06-24)](#400-2025-06-24) - [Added](#added-7) - - [Changed](#changed-13) - - [3.10.1 (2025-06-18)](#3101-2025-06-18) - [Changed](#changed-14) + - [3.10.1 (2025-06-18)](#3101-2025-06-18) + - [Changed](#changed-15) - [3.10.0 (2025-06-10)](#3100-2025-06-10) - [Added](#added-8) - [3.9.1 (2025-06-09)](#391-2025-06-09) - - [Changed](#changed-15) - - [3.9.0 (2025-05-29)](#390-2025-05-29) - [Changed](#changed-16) - - [3.8.11 (2025-05-28)](#3811-2025-05-28) + - [3.9.0 (2025-05-29)](#390-2025-05-29) - [Changed](#changed-17) - - [3.8.10 (2025-05-20)](#3810-2025-05-20) + - [3.8.11 (2025-05-28)](#3811-2025-05-28) - [Changed](#changed-18) + - [3.8.10 (2025-05-20)](#3810-2025-05-20) + - [Changed](#changed-19) - [3.8.9 (2025-05-12)](#389-2025-05-12) - [Fixed](#fixed-5) - [3.8.8 (2025-05-12)](#388-2025-05-12) - - [Changed](#changed-19) + - [Changed](#changed-20) - [3.8.7 (2025-05-12)](#387-2025-05-12) - [Added](#added-9) - [3.8.6 (2025-04-09)](#386-2025-04-09) - - [Changed](#changed-20) + - [Changed](#changed-21) - [3.8.5 (2025-04-03)](#385-2025-04-03) - [Fixed](#fixed-6) - [3.8.4 (2025-04-03)](#384-2025-04-03) @@ -80,91 +82,91 @@ - [Fixed](#fixed-9) - [3.8.1 (2025-04-03)](#381-2025-04-03) - [Fixed](#fixed-10) - - [Changed](#changed-21) + - [Changed](#changed-22) - [3.8.0 (2025-04-03)](#380-2025-04-03) - [Added](#added-10) - [3.7.1 (2025-03-26)](#371-2025-03-26) - - [Changed](#changed-22) - - [3.7.0 (2025-03-20)](#370-2025-03-20) - [Changed](#changed-23) - - [3.6.0 (2025-03-19)](#360-2025-03-19) + - [3.7.0 (2025-03-20)](#370-2025-03-20) - [Changed](#changed-24) - - [3.5.0 (2025-02-14)](#350-2025-02-14) + - [3.6.0 (2025-03-19)](#360-2025-03-19) - [Changed](#changed-25) - - [3.4.0 (2025-02-11)](#340-2025-02-11) + - [3.5.0 (2025-02-14)](#350-2025-02-14) - [Changed](#changed-26) - - [3.3.4 (2025-01-28)](#334-2025-01-28) + - [3.4.0 (2025-02-11)](#340-2025-02-11) - [Changed](#changed-27) - - [3.3.3 (2024-01-15)](#333-2024-01-15) + - [3.3.4 (2025-01-28)](#334-2025-01-28) - [Changed](#changed-28) - - [3.3.2 (2025-01-15)](#332-2025-01-15) + - [3.3.3 (2024-01-15)](#333-2024-01-15) - [Changed](#changed-29) + - [3.3.2 (2025-01-15)](#332-2025-01-15) + - [Changed](#changed-30) - [3.3.1 (2025-01-10)](#331-2025-01-10) - [Added](#added-11) - [3.2.12 (2024-12-05)](#3212-2024-12-05) - - [Changed](#changed-30) - - [3.2.11 (2024-11-21)](#3211-2024-11-21) - [Changed](#changed-31) - - [3.2.10 (2024-11-18)](#3210-2024-11-18) + - [3.2.11 (2024-11-21)](#3211-2024-11-21) - [Changed](#changed-32) - - [3.2.9 (2024-11-15)](#329-2024-11-15) + - [3.2.10 (2024-11-18)](#3210-2024-11-18) - [Changed](#changed-33) + - [3.2.9 (2024-11-15)](#329-2024-11-15) + - [Changed](#changed-34) - [3.2.7 (2024-11-15)](#327-2024-11-15) - [Added](#added-12) - - [Changed](#changed-34) + - [Changed](#changed-35) - [3.2.6 (2024-10-29)](#326-2024-10-29) - [Added](#added-13) - - [Changed](#changed-35) - - [3.2.5 (2024-10-24)](#325-2024-10-24) - [Changed](#changed-36) + - [3.2.5 (2024-10-24)](#325-2024-10-24) + - [Changed](#changed-37) - [3.2.4 (2024-10-17)](#324-2024-10-17) - [Fixed](#fixed-11) - [3.2.3 (2024-10-16)](#323-2024-10-16) - [Fixed](#fixed-12) - [3.2.2 (2024-10-09)](#322-2024-10-09) - - [Changed](#changed-37) - - [3.2.1 (2024-09-20)](#321-2024-09-20) - [Changed](#changed-38) - - [3.2.0 (2024-08-29)](#320-2024-08-29) + - [3.2.1 (2024-09-20)](#321-2024-09-20) - [Changed](#changed-39) - - [3.1.2 (2024-08-23)](#312-2024-08-23) + - [3.2.0 (2024-08-29)](#320-2024-08-29) - [Changed](#changed-40) + - [3.1.2 (2024-08-23)](#312-2024-08-23) + - [Changed](#changed-41) - [3.1.1 (2024-08-23)](#311-2024-08-23) - [Fixed](#fixed-13) - [3.1.0 (2024-08-22)](#310-2024-08-22) - [Added](#added-14) - [3.0.6 (2024-08-22)](#306-2024-08-22) - - [Changed](#changed-41) + - [Changed](#changed-42) - [3.0.5 (2024-08-21)](#305-2024-08-21) - [Fixed](#fixed-14) - [3.0.4 (2024-08-21)](#304-2024-08-21) - - [Changed](#changed-42) + - [Changed](#changed-43) - [Added](#added-15) - [2.9.3 (2024-08-16)](#293-2024-08-16) - [Fixed](#fixed-15) - [2.9.2 (2024-08-13)](#292-2024-08-13) - - [Changed](#changed-43) + - [Changed](#changed-44) - [2.9.1 (2024-08-10)](#291-2024-08-10) - [Added](#added-16) - - [Changed](#changed-44) + - [Changed](#changed-45) - [2.9.0 (2024-08-01)](#290-2024-08-01) - [Added](#added-17) - - [Changed](#changed-45) + - [Changed](#changed-46) - [Fixed](#fixed-16) - [2.8.0](#280) - [Added](#added-18) - - [Changed](#changed-46) + - [Changed](#changed-47) - [Fixed](#fixed-17) - [2.7.3](#273) - - [Changed](#changed-47) + - [Changed](#changed-48) - [Fixed](#fixed-18) - [2.7.2](#272) - [Fixed](#fixed-19) - [2.7.0](#270) - - [Changed](#changed-48) + - [Changed](#changed-49) - [2.6.2](#262) - [Added](#added-19) - - [Changed](#changed-49) + - [Changed](#changed-50) - [2.6.0](#260) - [Added](#added-20) - [2.4.0](#240) @@ -174,9 +176,15 @@ - [2.2.0](#220) - [Added](#added-23) - [2.1.0](#210) - - [Changed](#changed-50) - - [2.0.0](#200) - [Changed](#changed-51) + - [2.0.0](#200) + - [Changed](#changed-52) + +## 7.1.3 (2025-10-23) + +### Changed + +* Update Grafana dashboard ## 7.1.2 (2025-10-22) diff --git a/charts/document-engine/Chart.yaml b/charts/document-engine/Chart.yaml index 5464e00..aea1426 100644 --- a/charts/document-engine/Chart.yaml +++ b/charts/document-engine/Chart.yaml @@ -4,7 +4,7 @@ type: application description: Document Engine is a backend software for processing documents and powering automation workflows. home: https://www.nutrient.io/sdk/document-engine icon: https://cdn.prod.website-files.com/65fdb7696055f07a05048833/66e58e33c3880ff24aa34027_nutrient-logo.png -version: 7.1.2 +version: 7.1.3 appVersion: "1.12.2" keywords: diff --git a/charts/document-engine/README.md b/charts/document-engine/README.md index 88bb0a6..1c0872c 100644 --- a/charts/document-engine/README.md +++ b/charts/document-engine/README.md @@ -1,6 +1,6 @@ # Document Engine Helm chart -![Version: 7.1.2](https://img.shields.io/badge/Version-7.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.12.2](https://img.shields.io/badge/AppVersion-1.12.2-informational?style=flat-square) +![Version: 7.1.3](https://img.shields.io/badge/Version-7.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.12.2](https://img.shields.io/badge/AppVersion-1.12.2-informational?style=flat-square) Document Engine is a backend software for processing documents and powering automation workflows. diff --git a/charts/document-engine/dashboards/document-engine-single-namespace.json b/charts/document-engine/dashboards/document-engine-single-namespace.json index 9776cf1..22e144f 100644 --- a/charts/document-engine/dashboards/document-engine-single-namespace.json +++ b/charts/document-engine/dashboards/document-engine-single-namespace.json @@ -18,6 +18,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 1, + "id": 0, "links": [], "panels": [ { @@ -28,11 +29,226 @@ "x": 0, "y": 0 }, - "id": 25, + "id": 69, "panels": [], - "title": "\ud83d\udd27 Erlang VM Resources", + "title": "Summary", "type": "row" }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "filterable": true, + "footer": { + "reducers": [] + }, + "inspect": false, + "wrapText": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Memory used" + }, + "properties": [ + { + "id": "custom.width", + "value": 200 + }, + { + "id": "unit", + "value": "decmbytes" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Pod" + }, + "properties": [ + { + "id": "custom.width", + "value": 300 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Namespace" + }, + "properties": [ + { + "id": "custom.width", + "value": 200 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Uptime" + }, + "properties": [ + { + "id": "unit", + "value": "s" + }, + { + "id": "decimals", + "value": 0 + }, + { + "id": "custom.width", + "value": 150 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Instance" + }, + "properties": [ + { + "id": "custom.width", + "value": 200 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Node" + }, + "properties": [ + { + "id": "custom.width", + "value": 200 + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 13, + "x": 0, + "y": 1 + }, + "id": 76, + "options": { + "cellHeight": "sm", + "enablePagination": false, + "showHeader": true + }, + "pluginVersion": "12.2.0", + "targets": [ + { + "editorMode": "code", + "expr": "vm_memory_total{namespace=\"$namespace\"} / 1024 / 1024", + "format": "table", + "instant": true, + "refId": "A" + }, + { + "editorMode": "code", + "expr": "time() - kube_pod_start_time{namespace=\"$namespace\", pod=~\"de-.*\"}", + "format": "table", + "instant": true, + "refId": "B" + } + ], + "title": "Live Pods ", + "transformations": [ + { + "id": "joinByField", + "options": { + "byField": "pod", + "mode": "outer" + } + }, + { + "id": "organize", + "options": { + "excludeByName": { + "Time 1": true, + "Time 2": true, + "app": true, + "container 1": true, + "container 2": true, + "endpoint 1": true, + "endpoint 2": true, + "exported_namespace": true, + "family": true, + "host": true, + "instance 2": true, + "job 1": true, + "job 2": true, + "namespace 2": true, + "service 1": true, + "service 2": true, + "uid": true + }, + "includeByName": {}, + "indexByName": {}, + "renameByName": { + "Time 2": "", + "Value #A": "Memory used", + "Value #B": "Uptime", + "instance 1": "Instance", + "job 1": "", + "namespace": "Namespace", + "namespace 1": "Namespace", + "node": "Node", + "pod": "Pod" + } + } + }, + { + "id": "filterByValue", + "options": { + "filters": [ + { + "config": { + "id": "isNotNull", + "options": {} + }, + "fieldName": "Memory used" + } + ], + "match": "all", + "type": "include" + } + } + ], + "type": "table" + }, { "datasource": { "type": "prometheus", @@ -49,6 +265,7 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", + "axisSoftMax": 102, "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", @@ -74,11 +291,9 @@ "mode": "none" }, "thresholdsStyle": { - "mode": "off" + "mode": "dashed" } }, - "decimals": 2, - "fieldMinMax": false, "mappings": [], "thresholds": { "mode": "absolute", @@ -88,22 +303,53 @@ "value": 0 }, { - "color": "red", - "value": 80 + "color": "dark-red", + "value": 100 } ] }, - "unit": "decbytes" + "unit": "percent" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Limits %" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Requests %" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "orange", + "mode": "fixed" + } + } + ] + } + ] }, "gridPos": { - "h": 10, - "w": 12, - "x": 0, + "h": 8, + "w": 8, + "x": 16, "y": 1 }, - "id": 24, + "id": 77, "options": { "legend": { "calcs": [], @@ -120,18 +366,26 @@ "pluginVersion": "12.2.0", "targets": [ { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "vm_memory_total{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}", - "fullMetaSearch": false, - "includeNullMetadata": false, - "legendFormat": "{{__name__}} {pod = {{pod}} }", + "editorMode": "code", + "expr": "100 * max(\n rate(container_cpu_usage_seconds_total{namespace=\"$namespace\"}[5m])\n / on (container, pod)\n kube_pod_container_resource_limits{namespace=\"$namespace\", resource=\"cpu\"}\n)", + "legendFormat": "Limits %", "range": true, - "refId": "A", - "useBackend": false + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "100 * max(\n rate(container_cpu_usage_seconds_total{namespace=\"$namespace\"}[5m])\n / on (container, pod)\n kube_pod_container_resource_requests{namespace=\"$namespace\", resource=\"cpu\"}\n)", + "hide": false, + "legendFormat": "Requests %", + "range": true, + "refId": "B" } ], - "title": "Erlang VM total memory (pod = $pod)", + "title": "CPU % Requests/limit", "type": "timeseries" }, { @@ -178,8 +432,6 @@ "mode": "off" } }, - "decimals": 0, - "fieldMinMax": false, "mappings": [], "thresholds": { "mode": "absolute", @@ -193,18 +445,17 @@ "value": 80 } ] - }, - "unit": "locale" + } }, "overrides": [] }, "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 1 + "h": 8, + "w": 8, + "x": 0, + "y": 7 }, - "id": 27, + "id": 70, "options": { "legend": { "calcs": [], @@ -221,39 +472,21 @@ "pluginVersion": "12.2.0", "targets": [ { - "disableTextWrap": false, "editorMode": "builder", - "expr": "vm_messages_in_queues{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}", - "fullMetaSearch": false, - "includeNullMetadata": false, - "legendFormat": "{{__name__}} {pod: {{pod}}}", + "expr": "count(vm_memory_total{namespace=\"$namespace\"})", + "legendFormat": "__auto", "range": true, - "refId": "A", - "useBackend": false + "refId": "A" } ], - "title": "Erlang message queue length (pod = $pod)", + "title": "Number of nodes", "type": "timeseries" }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 11 - }, - "id": 33, - "panels": [], - "title": "\ud83e\udde0 Erlang VM Memory Breakdown", - "type": "row" - }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, - "description": "Erlang VM process memory usage", "fieldConfig": { "defaults": { "color": { @@ -268,7 +501,7 @@ "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 10, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -277,12 +510,12 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 2, + "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "never", + "showPoints": "auto", "showValues": false, "spanNulls": false, "stacking": { @@ -307,42 +540,41 @@ } ] }, - "unit": "decbytes" + "unit": "s" }, "overrides": [] }, "gridPos": { "h": 8, - "w": 6, - "x": 0, - "y": 12 + "w": 8, + "x": 8, + "y": 7 }, - "id": 34, + "id": 71, "options": { "legend": { - "calcs": [ - "last", - "max" - ], - "displayMode": "table", + "calcs": [], + "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, - "mode": "multi", + "mode": "single", "sort": "none" } }, "pluginVersion": "12.2.0", "targets": [ { - "expr": "vm_memory_procs_used{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}", - "legendFormat": "{{pod}}", + "editorMode": "code", + "expr": "sum by (pod) (time() - kube_pod_created{namespace=\"$namespace\"})", + "legendFormat": "__auto", + "range": true, "refId": "A" } ], - "title": "Process Memory", + "title": "Pod uptime", "type": "timeseries" }, { @@ -350,7 +582,6 @@ "type": "prometheus", "uid": "prometheus" }, - "description": "Erlang VM binary memory usage", "fieldConfig": { "defaults": { "color": { @@ -362,10 +593,11 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", + "axisSoftMax": 102, "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 10, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -374,12 +606,12 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 2, + "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "never", + "showPoints": "auto", "showValues": false, "spanNulls": false, "stacking": { @@ -387,7 +619,7 @@ "mode": "none" }, "thresholdsStyle": { - "mode": "off" + "mode": "dashed" } }, "mappings": [], @@ -399,47 +631,89 @@ "value": 0 }, { - "color": "red", - "value": 80 + "color": "dark-red", + "value": 100 } ] }, - "unit": "decbytes" + "unit": "percent" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Limits %" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Requests %" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "orange", + "mode": "fixed" + } + } + ] + } + ] }, "gridPos": { "h": 8, - "w": 6, - "x": 6, - "y": 12 + "w": 8, + "x": 16, + "y": 9 }, - "id": 35, + "id": 78, "options": { "legend": { - "calcs": [ - "last", - "max" - ], - "displayMode": "table", + "calcs": [], + "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, - "mode": "multi", + "mode": "single", "sort": "none" } }, "pluginVersion": "12.2.0", "targets": [ { - "expr": "vm_memory_binary{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}", - "legendFormat": "{{pod}}", + "editorMode": "code", + "expr": "100 * max(\n rate(container_memory_usage_bytes{namespace=\"$namespace\"}[5m])\n / on (container, pod)\n kube_pod_container_resource_limits{namespace=\"$namespace\", resource=\"memory\"}\n)", + "legendFormat": "Limits %", + "range": true, "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "100 * max(\n rate(container_memory_usage_bytes{namespace=\"$namespace\"}[5m])\n / on (container, pod)\n kube_pod_container_resource_requests{namespace=\"$namespace\", resource=\"memory\"}\n)", + "hide": false, + "legendFormat": "Requests %", + "range": true, + "refId": "B" } ], - "title": "Binary Memory", + "title": "Memory % Requests/limit", "type": "timeseries" }, { @@ -447,7 +721,6 @@ "type": "prometheus", "uid": "prometheus" }, - "description": "Erlang VM ets memory usage", "fieldConfig": { "defaults": { "color": { @@ -462,7 +735,7 @@ "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 10, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -471,12 +744,12 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 2, + "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "never", + "showPoints": "auto", "showValues": false, "spanNulls": false, "stacking": { @@ -484,7 +757,7 @@ "mode": "none" }, "thresholdsStyle": { - "mode": "off" + "mode": "dashed" } }, "mappings": [], @@ -494,49 +767,138 @@ { "color": "green", "value": 0 - }, - { - "color": "red", - "value": 80 } ] - }, - "unit": "decbytes" + } }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byFrameRefID", + "options": "B" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "yellow", + "mode": "fixed" + } + }, + { + "id": "custom.lineStyle", + "value": { + "dash": [ + 10, + 10 + ], + "fill": "dash" + } + }, + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": false, + "viz": false + } + } + ] + }, + { + "matcher": { + "id": "byFrameRefID", + "options": "C" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + }, + { + "id": "custom.lineStyle", + "value": { + "dash": [ + 10, + 10 + ], + "fill": "dash" + } + }, + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": false, + "viz": false + } + } + ] + } + ] }, "gridPos": { "h": 8, - "w": 6, - "x": 12, - "y": 12 + "w": 8, + "x": 0, + "y": 15 }, - "id": 36, + "id": 75, "options": { "legend": { - "calcs": [ - "last", - "max" - ], - "displayMode": "table", + "calcs": [], + "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, - "mode": "multi", + "mode": "single", "sort": "none" } }, "pluginVersion": "12.2.0", "targets": [ { - "expr": "vm_memory_ets{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}", + "editorMode": "code", + "expr": "rate(container_cpu_usage_seconds_total{namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])", "legendFormat": "{{pod}}", + "range": true, "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "builder", + "exemplar": false, + "expr": "sum by(pod) (kube_pod_container_resource_requests{namespace=~\"$namespace\", resource=\"cpu\", pod=~\"$pod\"})", + "hide": false, + "instant": false, + "legendFormat": "{{pod}} - request", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "exemplar": false, + "expr": "sum by(pod) (kube_pod_container_resource_limits{namespace=~\"$namespace\", pod=~\"$pod\", resource=\"cpu\"})", + "hide": false, + "instant": false, + "legendFormat": "{{pod}} - request", + "range": true, + "refId": "C" } ], - "title": "ETS Memory", + "title": "Pod CPU", "type": "timeseries" }, { @@ -544,7 +906,6 @@ "type": "prometheus", "uid": "prometheus" }, - "description": "Erlang VM atom memory usage", "fieldConfig": { "defaults": { "color": { @@ -559,7 +920,7 @@ "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 10, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -568,12 +929,12 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 2, + "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "never", + "showPoints": "auto", "showValues": false, "spanNulls": false, "stacking": { @@ -598,42 +959,88 @@ } ] }, - "unit": "decbytes" + "unit": "bytes" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byFrameRefID", + "options": "B" + }, + "properties": [ + { + "id": "custom.lineStyle", + "value": { + "dash": [ + 10, + 10 + ], + "fill": "dash" + } + }, + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + }, + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": false, + "viz": false + } + } + ] + } + ] }, "gridPos": { "h": 8, - "w": 6, - "x": 18, - "y": 12 + "w": 8, + "x": 8, + "y": 15 }, - "id": 37, + "id": 73, "options": { "legend": { - "calcs": [ - "last", - "max" - ], - "displayMode": "table", + "calcs": [], + "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, - "mode": "multi", + "mode": "single", "sort": "none" } }, "pluginVersion": "12.2.0", "targets": [ { - "expr": "vm_memory_atom_used{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}", - "legendFormat": "{{pod}}", + "editorMode": "code", + "expr": " sum by(pod) (\n rate(container_memory_usage_bytes{namespace=\"$namespace\"}[5m])\n )", + "legendFormat": "__auto", + "range": true, "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "builder", + "expr": "min(kube_pod_container_resource_requests{namespace=\"$namespace\", resource=\"memory\", container=\"document-engine\"})", + "hide": false, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "B" } ], - "title": "Atom Memory", + "title": "Pod memory usage", "type": "timeseries" }, { @@ -642,11 +1049,11 @@ "h": 1, "w": 24, "x": 0, - "y": 20 + "y": 23 }, - "id": 10, + "id": 33, "panels": [], - "title": "\ud83c\udf10 HTTP Requests", + "title": "๐Ÿง  Erlang VM Memory Breakdown", "type": "row" }, { @@ -654,6 +1061,7 @@ "type": "prometheus", "uid": "prometheus" }, + "description": "Erlang VM process memory usage", "fieldConfig": { "defaults": { "color": { @@ -668,7 +1076,7 @@ "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, @@ -677,15 +1085,12 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, + "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "auto", + "showPoints": "never", "showValues": false, "spanNulls": false, "stacking": { @@ -710,21 +1115,24 @@ } ] }, - "unit": "none" + "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 8, - "w": 12, + "w": 6, "x": 0, - "y": 21 + "y": 24 }, - "id": 14, + "id": 34, "options": { "legend": { - "calcs": [], - "displayMode": "list", + "calcs": [ + "last", + "max" + ], + "displayMode": "table", "placement": "bottom", "showLegend": true }, @@ -737,18 +1145,12 @@ "pluginVersion": "12.2.0", "targets": [ { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(status) (rate(http_server_request_duration_microseconds_count{group=\"standard\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}[$__rate_interval]))", - "fullMetaSearch": false, - "includeNullMetadata": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false + "expr": "vm_memory_procs_used{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}", + "legendFormat": "{{pod}}", + "refId": "A" } ], - "title": "Standard HTTP requests per second (pod = $pod)", + "title": "Process Memory", "type": "timeseries" }, { @@ -756,6 +1158,7 @@ "type": "prometheus", "uid": "prometheus" }, + "description": "Erlang VM binary memory usage", "fieldConfig": { "defaults": { "color": { @@ -770,7 +1173,7 @@ "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, @@ -779,15 +1182,12 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, + "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "auto", + "showPoints": "never", "showValues": false, "spanNulls": false, "stacking": { @@ -812,21 +1212,24 @@ } ] }, - "unit": "none" + "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 8, - "w": 12, - "x": 12, - "y": 21 + "w": 6, + "x": 6, + "y": 24 }, - "id": 9, + "id": 35, "options": { "legend": { - "calcs": [], - "displayMode": "list", + "calcs": [ + "last", + "max" + ], + "displayMode": "table", "placement": "bottom", "showLegend": true }, @@ -839,18 +1242,12 @@ "pluginVersion": "12.2.0", "targets": [ { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(request) (rate(pspdfkitd_exec_duration_milliseconds_count{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}[$__rate_interval]))", - "fullMetaSearch": false, - "includeNullMetadata": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false + "expr": "vm_memory_binary{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}", + "legendFormat": "{{pod}}", + "refId": "A" } ], - "title": "PSPDFKit worker requests per second by type (pod = $pod)", + "title": "Binary Memory", "type": "timeseries" }, { @@ -858,6 +1255,7 @@ "type": "prometheus", "uid": "prometheus" }, + "description": "Erlang VM ets memory usage", "fieldConfig": { "defaults": { "color": { @@ -872,7 +1270,7 @@ "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, @@ -881,15 +1279,12 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, + "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "auto", + "showPoints": "never", "showValues": false, "spanNulls": false, "stacking": { @@ -914,21 +1309,24 @@ } ] }, - "unit": "sishort" + "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 8, - "w": 12, - "x": 0, - "y": 29 + "w": 6, + "x": 12, + "y": 24 }, - "id": 15, + "id": 36, "options": { "legend": { - "calcs": [], - "displayMode": "list", + "calcs": [ + "last", + "max" + ], + "displayMode": "table", "placement": "bottom", "showLegend": true }, @@ -941,18 +1339,12 @@ "pluginVersion": "12.2.0", "targets": [ { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(status) (rate(http_server_request_duration_microseconds_count{group=\"long_poll\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}[1m]))", - "fullMetaSearch": false, - "includeNullMetadata": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false + "expr": "vm_memory_ets{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}", + "legendFormat": "{{pod}}", + "refId": "A" } ], - "title": "long_pool HTTP requests/1sec (pod = $pod)", + "title": "ETS Memory", "type": "timeseries" }, { @@ -960,6 +1352,7 @@ "type": "prometheus", "uid": "prometheus" }, + "description": "Erlang VM atom memory usage", "fieldConfig": { "defaults": { "color": { @@ -969,25 +1362,36 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "Please ignore unit on axis, it is stacked to 100%", - "axisPlacement": "hidden", - "fillOpacity": 80, + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, - "lineWidth": 1, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, "scaleDistribution": { "type": "linear" }, + "showPoints": "never", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, "thresholdsStyle": { "mode": "off" } }, - "decimals": 0, - "fieldMinMax": false, "mappings": [], "thresholds": { "mode": "absolute", @@ -1002,668 +1406,913 @@ } ] }, - "unit": "ms" + "unit": "decbytes" }, "overrides": [] }, "gridPos": { - "h": 12, - "w": 24, - "x": 0, - "y": 37 + "h": 8, + "w": 6, + "x": 18, + "y": 24 }, - "id": 23, + "id": 37, "options": { - "barRadius": 0.1, - "barWidth": 0.95, - "fullHighlight": false, - "groupWidth": 0.7, "legend": { - "calcs": [], - "displayMode": "list", + "calcs": [ + "last", + "max" + ], + "displayMode": "table", "placement": "bottom", "showLegend": true }, - "orientation": "auto", - "showValue": "auto", - "stacking": "percent", "tooltip": { "hideZeros": false, - "mode": "single", + "mode": "multi", "sort": "none" - }, - "xTickLabelRotation": 0, - "xTickLabelSpacing": 100 + } }, "pluginVersion": "12.2.0", "targets": [ { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum by(request) (delta(pspdfkitd_exec_duration_milliseconds_sum{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\", request!=\"checkout\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": false, - "legendFormat": "{{label_name}}", - "range": true, - "refId": "A", - "useBackend": false + "expr": "vm_memory_atom_used{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}", + "legendFormat": "{{pod}}", + "refId": "A" } ], - "title": "PSPDFKit worker % spent on each request per 5 minute (pod = $pod)", - "type": "barchart" + "title": "Atom Memory", + "type": "timeseries" }, { - "datasource": { - "type": "prometheus", - "uid": "prometheus" + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 32 }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "id": 25, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" }, - "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": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "showValues": false, - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" + "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": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 2, + "fieldMinMax": false, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 27 + }, + "id": 24, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" } }, - "decimals": 0, - "fieldMinMax": false, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 49 - }, - "id": 28, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "pluginVersion": "12.2.0", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "vm_memory_total{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}", + "fullMetaSearch": false, + "includeNullMetadata": false, + "legendFormat": "{{__name__}} {pod = {{pod}} }", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Erlang VM total memory (pod = $pod)", + "type": "timeseries" }, - "tooltip": { - "hideZeros": false, - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "12.2.0", - "targets": [ { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(increase(pspdfkitd_exec_duration_milliseconds_count{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\", request=\"search_in_document\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": false, - "legendFormat": "{{label_name}}", - "range": true, - "refId": "A", - "useBackend": false + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "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": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "fieldMinMax": false, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "locale" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 27 + }, + "id": 27, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.2.0", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "vm_messages_in_queues{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}", + "fullMetaSearch": false, + "includeNullMetadata": false, + "legendFormat": "{{__name__}} {pod: {{pod}}}", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Erlang message queue length (pod = $pod)", + "type": "timeseries" } ], - "title": "Searches per 5 minutes", - "type": "timeseries" + "title": "๐Ÿ”ง Erlang VM Resources", + "type": "row" }, { - "datasource": { - "type": "prometheus", - "uid": "prometheus" + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 33 }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "id": 10, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" }, - "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": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "showValues": false, - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" + "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": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 8, + "x": 0, + "y": 28 + }, + "id": 14, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" } }, - "decimals": 0, - "fieldMinMax": false, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 + "pluginVersion": "12.2.0", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sum by(status) (rate(http_server_request_duration_microseconds_count{group=\"standard\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}[$__rate_interval]))", + "fullMetaSearch": false, + "includeNullMetadata": false, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Standard HTTP requests per second (pod = $pod)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - { - "color": "red", - "value": 80 - } - ] - } + "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": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "sishort" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 8, + "x": 8, + "y": 28 + }, + "id": 15, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.2.0", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sum by(status) (rate(http_server_request_duration_microseconds_count{group=\"long_poll\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}[1m]))", + "fullMetaSearch": false, + "includeNullMetadata": false, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "long_pool HTTP requests/1sec (pod = $pod)", + "type": "timeseries" }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 49 - }, - "id": 29, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "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": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 16, + "y": 28 + }, + "id": 17, + "maxPerRow": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.2.0", + "repeat": "quantiles", + "repeatDirection": "h", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "exemplar": false, + "expr": "max(layer_sync_duration_milliseconds{quantile=\"${quantiles:raw}\", result=\"success\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"})", + "fullMetaSearch": false, + "includeNullMetadata": false, + "instant": false, + "interval": "", + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Quantile $quantiles max layer sync time (pod = $pod)", + "type": "timeseries" }, - "tooltip": { - "hideZeros": false, - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "12.2.0", - "targets": [ { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(increase(pspdfkitd_exec_duration_milliseconds_count{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\", request=\"render_annotation\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": false, - "legendFormat": "{{label_name}}", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Add annotations per 5 minutes", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "datasource": { + "type": "prometheus", + "uid": "prometheus" }, - "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": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "showValues": false, - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" + "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": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ยตs" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 130 + }, + "id": 16, + "maxPerRow": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" } }, - "decimals": 0, - "fieldMinMax": false, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 49 - }, - "id": 30, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "pluginVersion": "12.2.0", + "repeat": "quantiles", + "repeatDirection": "h", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "max by(status) (http_server_request_duration_microseconds{quantile=\"${quantiles:raw}\", group=\"standard\", status!~\"5..\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"})", + "fullMetaSearch": false, + "includeNullMetadata": false, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Quantile $quantiles max HTTP 2xx 3xx 4xx request time (pod = $pod)", + "type": "timeseries" }, - "tooltip": { - "hideZeros": false, - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "12.2.0", - "targets": [ { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(increase(pspdfkitd_exec_duration_milliseconds_count{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\", request=\"render_tile\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": false, - "legendFormat": "{{label_name}}", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "render tile per 5 minutes", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "datasource": { + "type": "prometheus", + "uid": "prometheus" }, - "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": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "showValues": false, - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" + "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": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ยตs" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 139 + }, + "id": 20, + "maxPerRow": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" } }, - "decimals": 0, - "fieldMinMax": false, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 56 - }, - "id": 31, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "pluginVersion": "12.2.0", + "repeat": "quantiles", + "repeatDirection": "h", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "max by(status) (http_server_request_duration_microseconds{quantile=\"${quantiles:raw}\", group=\"standard\", status=~\"5..\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"})", + "fullMetaSearch": false, + "includeNullMetadata": false, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Quantile $quantiles max HTTP 5xx request time (pod = $pod)", + "type": "timeseries" }, - "tooltip": { - "hideZeros": false, - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "12.2.0", - "targets": [ { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(increase(pspdfkitd_exec_duration_milliseconds_count{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\", request!=\"checkout\"}[5m]))", - "fullMetaSearch": false, - "includeNullMetadata": false, - "legendFormat": "{{label_name}}", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "All operations per 5 minutes", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "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": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "showValues": false, - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "datasource": { + "type": "prometheus", + "uid": "prometheus" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - { - "color": "red", - "value": 80 - } - ] + "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": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ยตs" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 16, + "y": 147 + }, + "id": 19, + "maxPerRow": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 24, - "x": 0, - "y": 63 - }, - "id": 17, - "maxPerRow": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "hideZeros": false, - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "12.2.0", - "repeat": "quantiles", - "repeatDirection": "h", - "targets": [ - { - "disableTextWrap": false, - "editorMode": "builder", - "exemplar": false, - "expr": "max(layer_sync_duration_milliseconds{quantile=\"${quantiles:raw}\", result=\"success\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"})", - "fullMetaSearch": false, - "includeNullMetadata": false, - "instant": false, - "interval": "", - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false + "pluginVersion": "12.2.0", + "repeat": "quantiles", + "repeatDirection": "h", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "max by(status) (http_server_request_duration_microseconds{quantile=\"${quantiles:raw}\", group=\"standard\", status=~\"5..\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"})", + "fullMetaSearch": false, + "includeNullMetadata": false, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Quantile $quantiles max HTTP 5xx request time", + "type": "timeseries" } ], - "title": "Quantile $quantiles max layer sync time (pod = $pod)", - "type": "timeseries" + "title": "๐ŸŒ HTTP Requests", + "type": "row" }, { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "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": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "showValues": false, - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "\u00b5s" - }, - "overrides": [] - }, + "collapsed": false, "gridPos": { - "h": 10, + "h": 1, "w": 24, "x": 0, - "y": 73 - }, - "id": 16, - "maxPerRow": 2, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "hideZeros": false, - "mode": "multi", - "sort": "none" - } + "y": 34 }, - "pluginVersion": "12.2.0", - "repeat": "quantiles", - "repeatDirection": "h", - "targets": [ - { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(status) (http_server_request_duration_microseconds{quantile=\"${quantiles:raw}\", group=\"standard\", status!~\"5..\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"})", - "fullMetaSearch": false, - "includeNullMetadata": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Quantile $quantiles max HTTP 2xx 3xx 4xx request time (pod = $pod)", - "type": "timeseries" + "id": 68, + "panels": [], + "title": "โš™๏ธ PSPDFKit Worker rate metrics", + "type": "row" }, { "datasource": { @@ -1693,9 +2342,6 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { @@ -1712,6 +2358,8 @@ "mode": "off" } }, + "decimals": 0, + "fieldMinMax": false, "mappings": [], "thresholds": { "mode": "absolute", @@ -1726,18 +2374,17 @@ } ] }, - "unit": "s" + "unit": "ops" }, "overrides": [] }, "gridPos": { - "h": 10, - "w": 24, + "h": 7, + "w": 8, "x": 0, - "y": 83 + "y": 35 }, - "id": 20, - "maxPerRow": 2, + "id": 28, "options": { "legend": { "calcs": [], @@ -1747,27 +2394,25 @@ }, "tooltip": { "hideZeros": false, - "mode": "multi", + "mode": "single", "sort": "none" } }, "pluginVersion": "12.2.0", - "repeat": "quantiles", - "repeatDirection": "h", "targets": [ { "disableTextWrap": false, "editorMode": "builder", - "expr": "max by(status) (http_server_request_duration_microseconds{quantile=\"${quantiles:raw}\", group=\"standard\", status=~\"5..\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"})", + "expr": "sum(increase(pspdfkitd_exec_duration_milliseconds_count{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\", request=\"search_in_document\"}[$__rate_interval]))", "fullMetaSearch": false, "includeNullMetadata": false, - "legendFormat": "__auto", + "legendFormat": "{{label_name}}", "range": true, "refId": "A", "useBackend": false } ], - "title": "Quantile $quantiles max HTTP 5xx request time (pod = $pod)", + "title": "Search rate", "type": "timeseries" }, { @@ -1798,9 +2443,6 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { @@ -1817,6 +2459,8 @@ "mode": "off" } }, + "decimals": 0, + "fieldMinMax": false, "mappings": [], "thresholds": { "mode": "absolute", @@ -1831,18 +2475,17 @@ } ] }, - "unit": "\u00b5s" + "unit": "ops" }, "overrides": [] }, "gridPos": { - "h": 0, - "w": 24, - "x": 0, - "y": 93 + "h": 7, + "w": 8, + "x": 8, + "y": 35 }, - "id": 19, - "maxPerRow": 2, + "id": 31, "options": { "legend": { "calcs": [], @@ -1852,27 +2495,25 @@ }, "tooltip": { "hideZeros": false, - "mode": "multi", + "mode": "single", "sort": "none" } }, "pluginVersion": "12.2.0", - "repeat": "quantiles", - "repeatDirection": "h", "targets": [ { "disableTextWrap": false, "editorMode": "builder", - "expr": "max by(status) (http_server_request_duration_microseconds{quantile=\"${quantiles:raw}\", group=\"standard\", status=~\"5..\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"})", + "expr": "sum by(pod) (rate(pspdfkitd_exec_duration_milliseconds_count{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\", request!=\"checkout\"}[$__rate_interval]))", "fullMetaSearch": false, "includeNullMetadata": false, - "legendFormat": "__auto", + "legendFormat": "{{label_name}}", "range": true, "refId": "A", "useBackend": false } ], - "title": "Quantile $quantiles max HTTP 5xx request time", + "title": "Total request rate per pod", "type": "timeseries" }, { @@ -1936,18 +2577,17 @@ } ] }, - "unit": "s" + "unit": "ops" }, "overrides": [] }, "gridPos": { - "h": 0, - "w": 24, - "x": 0, - "y": 93 + "h": 12, + "w": 8, + "x": 16, + "y": 35 }, - "id": 18, - "maxPerRow": 2, + "id": 9, "options": { "legend": { "calcs": [], @@ -1962,13 +2602,11 @@ } }, "pluginVersion": "12.2.0", - "repeat": "quantiles", - "repeatDirection": "h", "targets": [ { "disableTextWrap": false, - "editorMode": "builder", - "expr": "max by(status) (http_server_req_end{quantile=\"${quantiles:raw}\", group=\"standard\", status=~\"5..\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"})", + "editorMode": "code", + "expr": "sum by(request) (rate(pspdfkitd_exec_duration_milliseconds_count{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}[$__rate_interval]))", "fullMetaSearch": false, "includeNullMetadata": false, "legendFormat": "__auto", @@ -1977,23 +2615,9 @@ "useBackend": false } ], - "title": "Quantile $quantiles max HTTP 5xx request time", + "title": "Detailed request rate", "type": "timeseries" }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 93 - }, - "id": 7, - "panels": [], - "repeat": "quantiles", - "title": "\u2699\ufe0f PSPDFKit Worker Metrics", - "type": "row" - }, { "datasource": { "type": "prometheus", @@ -2038,6 +2662,8 @@ "mode": "off" } }, + "decimals": 0, + "fieldMinMax": false, "mappings": [], "thresholds": { "mode": "absolute", @@ -2052,17 +2678,17 @@ } ] }, - "unit": "ms" + "unit": "ops" }, "overrides": [] }, "gridPos": { - "h": 8, - "w": 12, + "h": 7, + "w": 8, "x": 0, - "y": 94 + "y": 42 }, - "id": 1, + "id": 30, "options": { "legend": { "calcs": [], @@ -2079,22 +2705,18 @@ "pluginVersion": "12.2.0", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, "disableTextWrap": false, "editorMode": "builder", - "expr": "max by(request) (pspdfkitd_exec_duration_milliseconds{app=~\"$app\", quantile=\"${quantiles:raw}\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"})", + "expr": "sum by(pod) (rate(pspdfkitd_exec_duration_milliseconds_count{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\", request=\"render_tile\"}[$__rate_interval]))", "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", + "includeNullMetadata": false, + "legendFormat": "{{label_name}}", "range": true, "refId": "A", "useBackend": false } ], - "title": "Quantile $quantiles max processing time per request (pod = $pod)", + "title": "Render tile rate", "type": "timeseries" }, { @@ -2102,7 +2724,6 @@ "type": "prometheus", "uid": "prometheus" }, - "description": "This represents the time spent waiting for free worker", "fieldConfig": { "defaults": { "color": { @@ -2142,6 +2763,8 @@ "mode": "off" } }, + "decimals": 0, + "fieldMinMax": false, "mappings": [], "thresholds": { "mode": "absolute", @@ -2156,17 +2779,17 @@ } ] }, - "unit": "ms" + "unit": "ops" }, "overrides": [] }, "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 94 + "h": 7, + "w": 8, + "x": 0, + "y": 49 }, - "id": 8, + "id": 29, "options": { "legend": { "calcs": [], @@ -2185,16 +2808,16 @@ { "disableTextWrap": false, "editorMode": "builder", - "expr": "max(pspdfkitd_queue_duration_milliseconds{quantile=\"${quantiles:raw}\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"})", + "expr": "sum by(pod) (rate(pspdfkitd_exec_duration_milliseconds_count{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\", request=\"render_annotation\"}[$__rate_interval]))", "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", + "includeNullMetadata": false, + "legendFormat": "{{label_name}}", "range": true, "refId": "A", "useBackend": false } ], - "title": "Quantile $quantiles max queue time PSPDFKit worker (pod = $pod)", + "title": "Add annotation rate", "type": "timeseries" }, { @@ -2203,11 +2826,11 @@ "h": 1, "w": 24, "x": 0, - "y": 102 + "y": 56 }, - "id": 6, + "id": 74, "panels": [], - "title": "\ud83d\uddc4\ufe0f Asset Storage", + "title": "โš™๏ธ PSPDFKit Worker time metrics", "type": "row" }, { @@ -2268,18 +2891,17 @@ } ] }, - "unit": "s" + "unit": "ms" }, "overrides": [] }, "gridPos": { - "h": 8, - "w": 24, + "h": 9, + "w": 9, "x": 0, - "y": 103 + "y": 57 }, - "id": 3, - "maxPerRow": 2, + "id": 23, "options": { "legend": { "calcs": [], @@ -2294,24 +2916,36 @@ } }, "pluginVersion": "12.2.0", - "repeat": "quantiles", - "repeatDirection": "h", "targets": [ { "disableTextWrap": false, - "editorMode": "builder", - "expr": "max(assets_fetch_asset{app=~\"$app\", quantile=\"${quantiles:raw}\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"})", + "editorMode": "code", + "expr": "sum by(request) (rate(pspdfkitd_exec_duration_milliseconds_sum{family=\"pspdfkit-document-engine\"}[5m]))", "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", + "includeNullMetadata": false, + "legendFormat": "{{label_name}}", "range": true, "refId": "A", "useBackend": false } ], - "title": "Quantiles $quantiles max Fetch assets storage (pod = $pod)", + "title": "Each request total time in 5 minute window", "type": "timeseries" }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 66 + }, + "id": 7, + "panels": [], + "repeat": "quantiles", + "title": "โš™๏ธ PSPDFKit Worker latency metrics (q = $quantiles)", + "type": "row" + }, { "datasource": { "type": "prometheus", @@ -2370,18 +3004,17 @@ } ] }, - "unit": "s" + "unit": "ms" }, "overrides": [] }, "gridPos": { "h": 8, - "w": 24, + "w": 12, "x": 0, - "y": 111 + "y": 67 }, - "id": 4, - "maxPerRow": 2, + "id": 1, "options": { "legend": { "calcs": [], @@ -2396,13 +3029,15 @@ } }, "pluginVersion": "12.2.0", - "repeat": "quantiles", - "repeatDirection": "h", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, "disableTextWrap": false, - "editorMode": "builder", - "expr": "max(assets_store_asset{app=~\"$app\", quantile=\"${quantiles:raw}\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"})", + "editorMode": "code", + "expr": " max by(request) (max_over_time(pspdfkitd_exec_duration_milliseconds{app=~\"$app\", quantile=\"${quantiles:raw}\", host=~\"$pod\", namespace=~\"$namespace\",\n family=~\"pspdfkit-document-engine\", request != \"search_in_document\"}[1m]))", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", @@ -2411,7 +3046,7 @@ "useBackend": false } ], - "title": "Quantile $quantiles max Store asset storage time (pod = $pod)", + "title": "Quantile $quantiles max processing time per request (pod = $pod)", "type": "timeseries" }, { @@ -2419,6 +3054,7 @@ "type": "prometheus", "uid": "prometheus" }, + "description": "This represents the time spent waiting for free worker", "fieldConfig": { "defaults": { "color": { @@ -2471,17 +3107,18 @@ "value": 80 } ] - } + }, + "unit": "ms" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, - "x": 0, - "y": 119 + "x": 12, + "y": 67 }, - "id": 21, + "id": 8, "options": { "legend": { "calcs": [], @@ -2500,17 +3137,16 @@ { "disableTextWrap": false, "editorMode": "builder", - "expr": "sum(rate(assets_fetch_asset_count{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}[$__rate_interval]))", + "expr": "max(pspdfkitd_queue_duration_milliseconds{quantile=\"${quantiles:raw}\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"})", "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": false, + "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", "useBackend": false } ], - "title": "Fetches per second (pod = $pod)", + "title": "Quantile $quantiles max queue time PSPDFKit worker (pod = $pod)", "type": "timeseries" }, { @@ -2570,17 +3206,18 @@ "value": 80 } ] - } + }, + "unit": "ms" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, - "x": 12, - "y": 119 + "x": 0, + "y": 75 }, - "id": 22, + "id": 66, "options": { "legend": { "calcs": [], @@ -2588,29 +3225,448 @@ "placement": "bottom", "showLegend": true }, - "tooltip": { - "hideZeros": false, - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "12.2.0", - "targets": [ + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": " max by(request) (max_over_time(pspdfkitd_exec_duration_milliseconds{app=~\"$app\", quantile=\"${quantiles:raw}\", host=~\"$pod\", namespace=~\"$namespace\",\n family=~\"pspdfkit-document-engine\"}[1m]))", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Quantile $quantiles max processing time per request (pod = $pod)", + "type": "timeseries" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 100 + }, + "id": 6, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "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": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 899 + }, + "id": 3, + "maxPerRow": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.2.0", + "repeat": "quantiles", + "repeatDirection": "h", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "max(assets_fetch_asset{app=~\"$app\", quantile=\"${quantiles:raw}\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"})", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Quantiles $quantiles max Fetch assets storage (pod = $pod)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "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": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 925 + }, + "id": 4, + "maxPerRow": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.2.0", + "repeat": "quantiles", + "repeatDirection": "h", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "max(assets_store_asset{app=~\"$app\", quantile=\"${quantiles:raw}\", host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"})", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Quantile $quantiles max Store asset storage time (pod = $pod)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "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": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 933 + }, + "id": 21, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.2.0", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sum(rate(assets_fetch_asset_count{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}[$__rate_interval]))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": false, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Fetches per second (pod = $pod)", + "type": "timeseries" + }, { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sum(rate(assets_store_asset_count{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}[$__rate_interval]))", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": false, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "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": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 933 + }, + "id": 22, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.2.0", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sum(rate(assets_store_asset_count{host=~\"$pod\", namespace=~\"$namespace\", app=~\"$app\", family=~\"pspdfkit-document-engine\"}[$__rate_interval]))", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": false, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Stores per second (pod = $pod)", + "type": "timeseries" } ], - "title": "Stores per second (pod = $pod)", - "type": "timeseries" + "title": "๐Ÿ—„๏ธ Asset Storage", + "type": "row" }, { "collapsed": false, @@ -2618,11 +3674,11 @@ "h": 1, "w": 24, "x": 0, - "y": 127 + "y": 101 }, "id": 11, "panels": [], - "title": "\ud83d\udcc2 Filesystem Cache", + "title": "๐Ÿ“‚ Filesystem Cache", "type": "row" }, { @@ -2690,7 +3746,7 @@ "h": 9, "w": 12, "x": 0, - "y": 128 + "y": 102 }, "id": 2, "options": { @@ -2810,7 +3866,7 @@ "h": 9, "w": 12, "x": 12, - "y": 128 + "y": 102 }, "id": 12, "options": { @@ -2915,7 +3971,7 @@ "h": 9, "w": 12, "x": 0, - "y": 137 + "y": 111 }, "id": 13, "options": { @@ -2960,11 +4016,11 @@ "h": 1, "w": 24, "x": 0, - "y": 146 + "y": 120 }, "id": 32, "panels": [], - "title": "\ud83d\udcca PostgreSQL Performance", + "title": "๐Ÿ“Š PostgreSQL Performance", "type": "row" }, { @@ -3026,7 +4082,7 @@ } ] }, - "unit": "\u00b5s" + "unit": "ยตs" }, "overrides": [] }, @@ -3034,7 +4090,7 @@ "h": 8, "w": 12, "x": 0, - "y": 147 + "y": 121 }, "id": 38, "options": { @@ -3130,7 +4186,7 @@ } ] }, - "unit": "\u00b5s" + "unit": "ยตs" }, "overrides": [] }, @@ -3138,7 +4194,7 @@ "h": 8, "w": 12, "x": 12, - "y": 147 + "y": 121 }, "id": 39, "options": { @@ -3229,7 +4285,7 @@ } ] }, - "unit": "\u00b5s" + "unit": "ยตs" }, "overrides": [] }, @@ -3237,7 +4293,7 @@ "h": 8, "w": 12, "x": 0, - "y": 155 + "y": 129 }, "id": 40, "options": { @@ -3336,7 +4392,7 @@ "h": 8, "w": 12, "x": 12, - "y": 155 + "y": 129 }, "id": 41, "options": { @@ -3369,11 +4425,11 @@ "h": 1, "w": 24, "x": 0, - "y": 163 + "y": 137 }, "id": 42, "panels": [], - "title": "\ud83d\udd34 Redis Cache (if enabled)", + "title": "๐Ÿ”ด Redis Cache (if enabled)", "type": "row" }, { @@ -3443,7 +4499,7 @@ "h": 8, "w": 8, "x": 0, - "y": 164 + "y": 138 }, "id": 43, "options": { @@ -3542,7 +4598,7 @@ "h": 8, "w": 8, "x": 8, - "y": 164 + "y": 138 }, "id": 44, "options": { @@ -3641,7 +4697,7 @@ "h": 8, "w": 8, "x": 16, - "y": 164 + "y": 138 }, "id": 45, "options": { @@ -3669,210 +4725,211 @@ "type": "timeseries" }, { - "collapsed": false, + "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 172 + "y": 146 }, "id": 46, - "panels": [], - "title": "\ud83d\udcbe Memory Cache", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "description": "In-memory cache operations", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "barWidthFactor": 0.6, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "showValues": false, - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 + "description": "In-memory cache operations", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - { - "color": "red", - "value": 80 - } - ] + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ops" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 861 + }, + "id": 47, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } }, - "unit": "ops" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 173 - }, - "id": 47, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "hideZeros": false, - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "12.2.0", - "targets": [ - { - "expr": "sum(rate(cache_memory_hit{namespace=~\"$namespace\", app=~\"$app\"}[5m]))", - "legendFormat": "Hits/sec", - "refId": "A" + "pluginVersion": "12.2.0", + "targets": [ + { + "expr": "sum(rate(cache_memory_hit{namespace=~\"$namespace\", app=~\"$app\"}[5m]))", + "legendFormat": "Hits/sec", + "refId": "A" + }, + { + "expr": "sum(rate(cache_memory_miss{namespace=~\"$namespace\", app=~\"$app\"}[5m]))", + "legendFormat": "Misses/sec", + "refId": "B" + } + ], + "title": "Memory Cache Hit/Miss Rate", + "type": "timeseries" }, { - "expr": "sum(rate(cache_memory_miss{namespace=~\"$namespace\", app=~\"$app\"}[5m]))", - "legendFormat": "Misses/sec", - "refId": "B" - } - ], - "title": "Memory Cache Hit/Miss Rate", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "description": "Percentage of cache hits", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "barWidthFactor": 0.6, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "showValues": false, - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "datasource": { + "type": "prometheus", + "uid": "prometheus" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 + "description": "Percentage of cache hits", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - { - "color": "red", - "value": 80 - } - ] + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 861 + }, + "id": 48, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 173 - }, - "id": 48, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "hideZeros": false, - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "12.2.0", - "targets": [ - { - "expr": "sum(rate(cache_memory_hit{namespace=~\"$namespace\", app=~\"$app\"}[5m])) / (sum(rate(cache_memory_hit{namespace=~\"$namespace\", app=~\"$app\"}[5m])) + sum(rate(cache_memory_miss{namespace=~\"$namespace\", app=~\"$app\"}[5m])))", - "legendFormat": "Hit Ratio", - "refId": "A" + "pluginVersion": "12.2.0", + "targets": [ + { + "expr": "sum(rate(cache_memory_hit{namespace=~\"$namespace\", app=~\"$app\"}[5m])) / (sum(rate(cache_memory_hit{namespace=~\"$namespace\", app=~\"$app\"}[5m])) + sum(rate(cache_memory_miss{namespace=~\"$namespace\", app=~\"$app\"}[5m])))", + "legendFormat": "Hit Ratio", + "refId": "A" + } + ], + "title": "Memory Cache Hit Ratio", + "type": "timeseries" } ], - "title": "Memory Cache Hit Ratio", - "type": "timeseries" + "title": "๐Ÿ’พ Memory Cache", + "type": "row" }, { "collapsed": false, @@ -3880,11 +4937,11 @@ "h": 1, "w": 24, "x": 0, - "y": 181 + "y": 147 }, "id": 49, "panels": [], - "title": "\ud83c\udf0a HTTP/2 Streaming & Tile Rendering", + "title": "๐ŸŒŠ HTTP/2 Streaming & Tile Rendering", "type": "row" }, { @@ -3954,7 +5011,7 @@ "h": 8, "w": 12, "x": 0, - "y": 182 + "y": 148 }, "id": 50, "options": { @@ -4053,7 +5110,7 @@ "h": 8, "w": 12, "x": 12, - "y": 182 + "y": 148 }, "id": 51, "options": { @@ -4152,7 +5209,7 @@ "h": 8, "w": 12, "x": 0, - "y": 190 + "y": 156 }, "id": 52, "options": { @@ -4190,11 +5247,11 @@ "h": 1, "w": 24, "x": 0, - "y": 198 + "y": 164 }, "id": 53, "panels": [], - "title": "\ud83c\udf0d Remote Documents", + "title": "๐ŸŒ Remote Documents", "type": "row" }, { @@ -4264,7 +5321,7 @@ "h": 8, "w": 12, "x": 0, - "y": 199 + "y": 165 }, "id": 54, "options": { @@ -4363,7 +5420,7 @@ "h": 8, "w": 12, "x": 12, - "y": 199 + "y": 165 }, "id": 55, "options": { @@ -4401,11 +5458,11 @@ "h": 1, "w": 24, "x": 0, - "y": 207 + "y": 173 }, "id": 56, "panels": [], - "title": "\ud83d\udcc4 Document Conversion", + "title": "๐Ÿ“„ Document Conversion", "type": "row" }, { @@ -4475,7 +5532,7 @@ "h": 8, "w": 12, "x": 0, - "y": 208 + "y": 174 }, "id": 57, "options": { @@ -4579,7 +5636,7 @@ "h": 8, "w": 12, "x": 12, - "y": 208 + "y": 174 }, "id": 58, "options": { @@ -4612,11 +5669,11 @@ "h": 1, "w": 24, "x": 0, - "y": 216 + "y": 182 }, "id": 59, "panels": [], - "title": "\u270d\ufe0f Digital Signatures (if enabled)", + "title": "โœ๏ธ Digital Signatures (if enabled)", "type": "row" }, { @@ -4686,7 +5743,7 @@ "h": 8, "w": 8, "x": 0, - "y": 217 + "y": 183 }, "id": 60, "options": { @@ -4785,7 +5842,7 @@ "h": 8, "w": 8, "x": 8, - "y": 217 + "y": 183 }, "id": 61, "options": { @@ -4884,7 +5941,7 @@ "h": 8, "w": 8, "x": 16, - "y": 217 + "y": 183 }, "id": 62, "options": { @@ -4922,11 +5979,11 @@ "h": 1, "w": 24, "x": 0, - "y": 225 + "y": 191 }, "id": 63, "panels": [], - "title": "\u26a0\ufe0f Queue Drops & Errors", + "title": "โš ๏ธ Queue Drops & Errors", "type": "row" }, { @@ -4947,6 +6004,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4963,6 +6021,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -4977,7 +6036,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -4993,7 +6053,7 @@ "h": 8, "w": 12, "x": 0, - "y": 226 + "y": 192 }, "id": 64, "options": { @@ -5004,10 +6064,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, + "pluginVersion": "12.2.0", "targets": [ { "expr": "sum(rate(pspdfkitd_queue_drop_duration_milliseconds_count{namespace=~\"$namespace\", app=~\"$app\"}[5m])) by (request)", @@ -5036,6 +6098,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -5052,6 +6115,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -5066,7 +6130,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -5082,7 +6147,7 @@ "h": 8, "w": 12, "x": 12, - "y": 226 + "y": 192 }, "id": 65, "options": { @@ -5093,10 +6158,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, + "pluginVersion": "12.2.0", "targets": [ { "expr": "sum(rate(assets_hit_fallback{namespace=~\"$namespace\", app=~\"$app\"}[5m]))", @@ -5109,21 +6176,20 @@ } ], "preload": false, + "refresh": "30s", "schemaVersion": 42, - "tags": [ - "<<<>>>" - ], + "tags": [], "templating": { "list": [ { "current": { "text": [ "0.5", - "0.99" + "0.95" ], "value": [ "0.5", - "0.99" + "0.95" ] }, "definition": "label_values(pspdfkitd_exec_duration_milliseconds{namespace=~\"$namespace\", app=~\"$app\"},quantile)", @@ -5182,8 +6248,8 @@ }, { "current": { - "text": "document-engine", - "value": "document-engine" + "text": "de", + "value": "de" }, "definition": "label_values(pspdfkitd_exec_duration_milliseconds{namespace=~\"$namespace\"},app)", "label": "App", @@ -5201,13 +6267,12 @@ ] }, "time": { - "from": "now-3h", + "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "browser", "title": "<<<>>>", "uid": "<<<>>>", - "version": 1, - "refresh": "30s" + "version": 100 } \ No newline at end of file