Long board

V2.2
1.0 First version
1.1 First publication
1.2 Add Timer in the Case History
1.3 Add the complete Java environement in the Perforance mesure tool
1.4 Fix bugs and add a checkox in Performance measure to run the Process test
1.5 Add checkbox on each test, and allow to start the test for a number of case in parameters
2.0 New control Monitor and improve the Case History 2.1 Bonita V7 integration 2.2 Run in a Living application
Monitor process
Display all processes

Please wait, collect in progress
Legend
  • Details: show or hide the detail activity per activity
  • Name: Process name
  • Version: Process version
  • State: State of process
  • Deployed Date: date of deployment
  • Cases: number open cases
  • Analysis: result of the analysis. Take into account the different level "warmoverflowtasks", "warnearbytasks", "warmtask"
    For exemple, give as DESCRIPTION in the process warmoverflowtasks:45;warnearbytasks=22;warmtask=3000
  • Tasks: number of open tasks (one case may have multiple tasks)
  • Overflow: number of human tasks who exceded the time allowed to work on
    Example, in the task, design show the task must be managed in 5 hours, and this is the number of task waiting more than 5 hours
  • Near: number of human tasks which will be overflow in the next hour
  • Processes

    Overflow: Near: Task: ActiviyPastInMn: Max Items: Study past activity:
    Details Name Version State Deployed date Cases Analysis Tasks Overflow Near Failed Executing Activity Analysis in (ms)
    Details {{oneprocess.name}} {{oneprocess.version}} {{oneprocess.state}} {{oneprocess.deployedDate}} {{oneprocess.nbCases}} Warning  Overflow  Tasks  Failed  Max Item  {{oneprocess.nbTasks}} {{oneprocess.nbOverflowTasks}} {{oneprocess.nbNearbyTasks}} {{oneprocess.nbFailedTasks}} {{oneprocess.nbExecutingTasks}} {{oneprocess.nbActivitiesPeriod}} {{oneprocess.timeAnalysisMs}}
    ActivityName Tasks Overflow Near Failed Executing Activity TimeAnalysis
    {{activity.name}} Warning {{activity.nbNearbyTasks}}  Overflow {{activity.nbOverflowTasks}}   Tasks {{activity.nbTasks}}   Failed  Max Item  {{activity.nbTasks}} {{activity.nbOverflowTasks}} {{activity.nbNearbyTasks}} {{activity.nbFailedTasks}} {{activity.nbExecutingTasks}} {{activity.nbActivitiesPeriod}} {{activity.timeAnalysisMs}}
    {{moniprocessesctrl.status}}
    Connector
    Performance information on connector.

    To run the Time Tracker, you have to follow this procedure:

    V6.x

  • MOVE the TimeTracker service V2 (found with this Custom page on <BONITA_HOME>client/tenants/<TENANTID>/work/pages/custompage_longboard/lib/TimeTrackerV2.jar File under <TOMCAT>/webapps/bonita/WEB-INF/lib
  • change the service definition on <BONITAHOME>/server/tenants/<TENANTID>/conf/services :
    <bean id="timeTracker" class="org.bonitasoft.engine.tracking.TimeTrackerV2">
  • restart the Bonita application

    V7.x

  • MOVE the TimeTracker service V2 (found with this Custom page on <BONITA_HOME>/client/tenants/<TENANTID>/work/pages/custompage_longboard/lib/TimeTrackerV2.jar File under <TOMCAT>/webapps/bonita/WEB-INF/lib
  • Edit the service definition on <BONITAHOME>/engine-server/conf/tenants/<TENANTID>/bonita-tenants-custom.xml :
    and add inside the content of the bean TimeTracker found on <BONITA_HOME>/client/tenants/<TENANTID>/work/pages/custompage_longboard/timetrackerlib/cfg-bonita-time-tracker.xml <bean id="timeTracker" class="org.bonitasoft.engine.tracking.TimeTrackerV2">
  • restart the Bonita application
  • Please wait, collect in progress
    {{timetrackerctrl.info}}

    All informations

    Show all informations ? Show Detail informations ?

    timestamp Name Connector Process CaseId description duration
    {{record.timestampUser}} {{record.shortname}} {{record.connectordefinitionname}} {{record.processdefinitionname}} ( {{record.processdefinitionversion}} ) {{record.connectorinstanceid}} {{record.description}} {{record.duration}}

    Top 10 long running

    Show Detail informations ?

    timestamp Name Connector Process ConnectorId duration
    {{record.timestampUser}} {{record.shortname}} {{record.connectordefinitionname}} {{record.processdefinitionname}} ( {{record.processdefinitionversion}} ) {{record.connectorinstanceid}} {{record.duration}}
    {{record.description}}

    Range information

    Range Nb Execution Average duration (ms) Sum duration (ms) Maximum duration (ms) Details
    {{rangerecord.date}} {{rangerecord.nbExecution}} {{rangerecord.avgDuration}} {{rangerecord.sumDuration}} {{rangerecord.maxDuration}} {{rangerecord.details}}
    Informations
    Different informations form the system are retrieved.
    Please wait, collect in progress
    Java machine
    Available Processor{{monictrl.AvailableProcessor}}
    Jvm Name{{monictrl.JvmName}}
    JvmSystemProperties
    JvmArgs
    Jvm Vendor{{monictrl.JvmVendor}}
    Jvm Version{{monictrl.JvmVersion}}
    OS Name{{monictrl.OSName}}
    OS Arch{{monictrl.OSArch}}
    OS Version{{monictrl.OSVersion}}
    Memory
    Free Memory{{monictrl.JavaFreeMemory}} Mo
    Total Memory{{monictrl.JavaTotalMemory}} Mo
    Used Memory{{monictrl.JavaUsedMemory}} Mo
    Usage{{monictrl.MemUsage}} Mo
    Free{{monictrl.MemFree}} bytes
    Free Swap{{monictrl.MemFreeSwap}} bytes
    Usage Percentage{{monictrl.MemUsagePercentage}} %
    Total Physical Memory{{monictrl.MemTotalPhysicalMemory}} bytes
    Total Swap Space{{monictrl.MemTotalSwapSpace}} bytes
    LastGCInfo{{monictrl.LastGCInfo}}
    Bonita engine
    Number Active Transaction{{monictrl.NumberActiveTransaction}}
    Process CPU Time{{monictrl.ProcessCPUTime}} na
    Start Time{{monictrl.StartTimeHuman}}
    Load Average Last Mn{{monictrl.LoadAverageLastMn}}
    Thread Count{{monictrl.ThreadCount}}
    Total Threads Cpu Time{{monictrl.TotalThreadsCpuTime}} ms
    Up Time{{monictrl.UpTime}}
    Commited Virtual Memory Size{{monictrl.CommitedVirtualMemorySize}}
    Scheduler Started{{monictrl.IsSchedulerStarted}}
    Database
    Product name{{monictrl.DatabaseProductName}}
    Product version{{monictrl.DatabaseProductVersion}}
    Major version{{monictrl.DatabaseMajorVersion}}
    Minor version{{monictrl.DatabaseMinorVersion}}
    Main Server Parameters
    Parameters on the server. All amazing parameters you look for, and you never know where they are !
    Please wait, collect in progress
    Custom Page
    Debug mode : {{serverparamctrl.CustompageDebug}}
    Property custom.page.debug in Configuration file <BONITA_HOME>/client/tenants/1/conf/console-config.properties
    and <BONITA_HOME>/client/platform/tenant-template/conf/console-config.properties
    Search
    Word mode : {{serverparamctrl.PersistencehibernateEnableWordSearch}}
    Property enableWordSearch in Configuration file <BONITA_HOME>/Server/platform/conf/services/cfg-bonita-persistence-hibernate.xml
    Performance Measure
    This page mesure the performance of your system, and give you back an indice. Base 1 is a Window 7 / 2 Cores Intel 5 based / H2 database

    If the number is LOWER than 1, that's mean the machine is SLOWER than the reference machine. UPPER, the machine is faster.

    Please wait, measures in progress

    BonitaHome read/write
    Database test
    Process Deploy / Process Create / Process Run for cases

    Measure Time (ms) Factor Base
    BonitaHome read{{perfctrl.BonitaHomeReadMS}} ms {{perfctrl.BonitaHomeReadFACTOR}}{{perfctrl.BonitaHomeReadBASE}} ms (base)
    BonitaHome write{{perfctrl.BonitaHomeWriteMS}} ms{{perfctrl.BonitaHomeWriteFACTOR}}{{perfctrl.BonitaHomeWriteBASE}} ms (base)
    Database Meta{{perfctrl.DataMetaBASE}} ms{{perfctrl.DataMetaFACTOR}}{{perfctrl.DataMetaBASE}} ms (base)
    Database access{{perfctrl.DatabaseMS}} ms{{perfctrl.DatabaseFACTOR}}{{perfctrl.DatabaseBASE}} ms (base)
    Process Deploy{{perfctrl.ProcessDeployMS}} ms{{perfctrl.ProcessDeployFACTOR}}{{perfctrl.ProcessDeployBASE}} ms (base)
    Process Create{{perfctrl.ProcessCreateMS}} ms{{perfctrl.ProcessCreateFACTOR}}{{perfctrl.ProcessCreateBASE}} ms (base)
    Process Run{{perfctrl.ProcessRunMS}} ms{{perfctrl.ProcessRunFACTOR}}{{perfctrl.ProcessRunBASE}} ms (base)
    Case history
    Give a CaseId, and then all it's history is displayed.
    Case Id
    Show sub process tasks

    Please wait, request in progress

    Overview

    Case State{{histctrl.caseState}}   
    Start date{{histctrl.startdate}}
    End date{{histctrl.enddate}}
    String index{{histctrl.stringindex}}
    Process Definition{{histctrl.processdefinition}}

    Synthesis

    Begin End Name Type State BeginConnector (ms) User (ms) FinishConnector (ms)
    {{activitysynthesis.DateBeginST}} {{activitysynthesis.DateEndST}} {{activitysynthesis.ActivityName}} {{activitysynthesis.Type}} {{activitysynthesis.State}} {{activitysynthesis.enterconnector}} {{activitysynthesis.user}} {{activitysynthesis.finishconnector}}

    Detail per activities

    See Documentation for more information on states Show FlowNodeDefid Show Parent Container Show Parent Activity
    Date Name Activity Id Perimeter Timer ? Activity Is Terminal Activity Type Activity State Activity Executed By FlownodeDefId ParentContainer parentactivityid
    {{activity.HumanActivityDate}} {{activity.ActivityName}} {{activity.ActivityId}} {{activity.Perimeter}} {{activity.JobIsStillSchedule}} {{activity.IsTerminal}} {{activity.Type}} {{activity.State}} {{activity.executedby}} {{activity.FlownodeDefId}} {{activity.parentcontainer}} {{activity.parentactivityid}}

    Detail per timers

    JobName Schedule Activity Id Activity Name
    {{scheduletimer.JobName}} {{scheduletimer.JobIsStillSchedule}} {{scheduletimer.ActivityId}} {{scheduletimer.ActivityName}}

    Time Line