diff --git a/config/broadcasting.php b/config/broadcasting.php index eeeee9b0cb..d5a71197ce 100644 --- a/config/broadcasting.php +++ b/config/broadcasting.php @@ -51,6 +51,9 @@ 'debug' => env('PUSHER_DEBUG', false), 'useTLS' => env('PUSHER_TLS', true), ], $soketi_settings), + 'client_options' => [ + 'verify' => env('PUSHER_SSL_VERIFY', true), + ], ], 'ably' => [ diff --git a/resources/grafana/MainDashboard.json b/resources/grafana/MainDashboard.json index 654ae51b96..5c54ed4a8a 100644 --- a/resources/grafana/MainDashboard.json +++ b/resources/grafana/MainDashboard.json @@ -830,6 +830,122 @@ ], "title": "Script Task Execution Time", "type": "bargauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "de96jy15v6qrkc" + }, + "description": "Average task time completition", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 6, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "dash": [ + 10, + 10 + ], + "fill": "dash" + }, + "lineWidth": 3, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "fieldMinMax": false, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 32 + }, + "id": 10, + "interval": "15s", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.4.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "de96jy15v6qrkc" + }, + "disableTextWrap": false, + "editorMode": "code", + "exemplar": false, + "expr": "avg(processmaker_activity_execution_time_seconds_sum{element_type=\"scriptTask\"}) by (activity_name, process_id, )", + "format": "time_series", + "fullMetaSearch": false, + "includeNullMetadata": true, + "instant": false, + "interval": "", + "legendFormat": "{{activity_name}} / {{process_id}}", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Script Task Completion Time series", + "type": "timeseries" } ], "preload": false, @@ -846,6 +962,6 @@ "timezone": "browser", "title": "ProcessMaker Dashboard", "uid": "be96wxsnlmn7kc", - "version": 41, + "version": 43, "weekStart": "" } \ No newline at end of file