n0mer
February 18, 2018, 8:12pm
1
Quote from corresponding github ticket: Issues · flowable/flowable-engine · GitHub
Hello,
author of spring-boot-admin is not going to rewrite activiti integration for 2.x (Support for Spring Boot 2.0.0 · Issue #465 · codecentric/spring-boot-admin · GitHub ) :
Currently only 5% of the core-ui downloads uses the uiactivitu as well - so I’m not planning on reimplementing this for 2.0
So, are there any plans to support Flowable in spring-boot-admin?
n0mer
February 18, 2018, 8:16pm
2
n0mer
February 18, 2018, 8:22pm
3
https://github.com/codecentric/spring-boot-admin/blob/1.5.x/spring-boot-admin-server-ui-activiti/src/main/resources/META-INF/spring-boot-admin-server-ui/applications-activiti/module.js - what it does:
$scope.summary.push({
key: 'Completed Task Count Today',
value: activiti.completedTaskCountToday
});
$scope.summary.push({
key: 'Process Definition Count',
value: activiti.processDefinitionCount
});
$scope.summary.push({
key: 'Cached Process Definition Count',
value: activiti.cachedProcessDefinitionCount
});
$scope.summary.push({
key: 'Completed Task Count',
value: activiti.completedTaskCount
});
$scope.summary.push({
key: 'Completed Activities',
value: activiti.completedActivities
});
$scope.summary.push({
key: 'Open Task Count',
value: activiti.openTaskCount
});
$scope.processes = [];
for (var i = 0; i < activiti.deployedProcessDefinitions.length; i++) {
var process = activiti.deployedProcessDefinitions[i];
var runningProcessInstanceCount = activiti.runningProcessInstanceCount[process];
var completedProcessInstanceCount = activiti.completedProcessInstanceCount[process];
$scope.processes.push({
name: process,
running: runningProcessInstanceCount,
completed: completedProcessInstanceCount
});
}
In other words - displays:
Completed Task Count Today
Process Definition Count
Cached Process Definition Count
Completed Task Count
Completed Activities
Open Task Count
And for each deployed process definition: count of running process instances and amount of completed process instances.
This is useful for debug, monitoring and troubleshooting, and quick health checks.
joram
February 28, 2018, 8:45am
4
Yes - so it’s actually reading the data that the actuator exposes, it seems.
We’re currently doing some major revisions to the spring boot starters, where we’ll expand what we expose in the actuator most likely too. So depending how easy it is to hook into the spring-boot-admin module it sounds doable.
filiphr
February 28, 2018, 8:57am
5
Most of the flowable specific Actuator endpoints would also be exposed via /metrics
and/or /info
. That way they would be exposed in spring boot admin per default. And on top of that in 2.0 everything from /metrics
is exposed to Micrometer so you should get much more information in Spring Boot Admin, but also in other monitoring tools if you need to
n0mer
August 26, 2018, 10:54am
6