Skip to content

Commit 0ceaad6

Browse files
committed
Add Average Task Completion Time chart to Main Dashboard
1 parent ac47e74 commit 0ceaad6

File tree

1 file changed

+123
-1
lines changed

1 file changed

+123
-1
lines changed

resources/grafana/MainDashboard.json

Lines changed: 123 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
"id": "prometheus",
4141
"name": "Prometheus",
4242
"version": "1.0.0"
43+
},
44+
{
45+
"type": "panel",
46+
"id": "timeseries",
47+
"name": "Time series",
48+
"version": ""
4349
}
4450
],
4551
"annotations": {
@@ -592,6 +598,122 @@
592598
],
593599
"title": "Top Slowest Tasks",
594600
"type": "gauge"
601+
},
602+
{
603+
"datasource": {
604+
"type": "prometheus",
605+
"uid": "${DS_PROMETHEUS-PM-SPRING-2025}"
606+
},
607+
"description": "Average task time completition",
608+
"fieldConfig": {
609+
"defaults": {
610+
"color": {
611+
"mode": "palette-classic"
612+
},
613+
"custom": {
614+
"axisBorderShow": false,
615+
"axisCenteredZero": false,
616+
"axisColorMode": "text",
617+
"axisLabel": "",
618+
"axisPlacement": "auto",
619+
"barAlignment": 0,
620+
"barWidthFactor": 0.6,
621+
"drawStyle": "line",
622+
"fillOpacity": 6,
623+
"gradientMode": "none",
624+
"hideFrom": {
625+
"legend": false,
626+
"tooltip": false,
627+
"viz": false
628+
},
629+
"insertNulls": false,
630+
"lineInterpolation": "smooth",
631+
"lineStyle": {
632+
"dash": [
633+
10,
634+
10
635+
],
636+
"fill": "dash"
637+
},
638+
"lineWidth": 3,
639+
"pointSize": 5,
640+
"scaleDistribution": {
641+
"type": "linear"
642+
},
643+
"showPoints": "never",
644+
"spanNulls": true,
645+
"stacking": {
646+
"group": "A",
647+
"mode": "none"
648+
},
649+
"thresholdsStyle": {
650+
"mode": "off"
651+
}
652+
},
653+
"fieldMinMax": false,
654+
"mappings": [],
655+
"min": 0,
656+
"thresholds": {
657+
"mode": "absolute",
658+
"steps": [
659+
{
660+
"color": "green",
661+
"value": null
662+
},
663+
{
664+
"color": "red",
665+
"value": 80
666+
}
667+
]
668+
},
669+
"unit": "ms"
670+
},
671+
"overrides": []
672+
},
673+
"gridPos": {
674+
"h": 8,
675+
"w": 12,
676+
"x": 0,
677+
"y": 24
678+
},
679+
"id": 7,
680+
"interval": "15s",
681+
"options": {
682+
"legend": {
683+
"calcs": [],
684+
"displayMode": "list",
685+
"placement": "bottom",
686+
"showLegend": true
687+
},
688+
"tooltip": {
689+
"mode": "single",
690+
"sort": "none"
691+
}
692+
},
693+
"pluginVersion": "11.4.0",
694+
"targets": [
695+
{
696+
"datasource": {
697+
"type": "prometheus",
698+
"uid": "${DS_PROMETHEUS-PM-SPRING-2025}"
699+
},
700+
"disableTextWrap": false,
701+
"editorMode": "code",
702+
"exemplar": false,
703+
"expr": "avg(processmaker_activity_execution_time_seconds_sum{element_type=\"task\"})",
704+
"format": "time_series",
705+
"fullMetaSearch": false,
706+
"includeNullMetadata": true,
707+
"instant": false,
708+
"interval": "",
709+
"legendFormat": "Average task time completion",
710+
"range": true,
711+
"refId": "A",
712+
"useBackend": false
713+
}
714+
],
715+
"title": "Average Task Completion Time chart",
716+
"type": "timeseries"
595717
}
596718
],
597719
"schemaVersion": 40,
@@ -607,6 +729,6 @@
607729
"timezone": "browser",
608730
"title": "ProcessMaker Dashboard",
609731
"uid": "be96wxsnlmn7kc",
610-
"version": 35,
732+
"version": 37,
611733
"weekStart": ""
612734
}

0 commit comments

Comments
 (0)