How to access the data
Java API
To fetch the collected data via the Java API, you can use theManagementService class. For example, the following code retrieves the detected JDK vendor and version:
REST API
You can fetch the collected data via the REST API by calling the Get Telemetry Data endpoint.Collected data
Below you find the full list of data the diagnostic collector collects, followed by a real-world example. On a conceptual level, they can be categorized into general data, meta/environment data, and usage data.General data
The “General Data” category contains information about the process engine:- Installation - an id that is stored as process engine configuration property
- Product name - the name of the product (i.e.,
Camunda BPM Runtime) - Product version - the version of the process engine (i.e.,
7.X.Y) - Product edition - the edition of the product (i.e., either
communityorenterprise) - License key - the customer name, expiry date and enabled features as well as the raw license info
- it is present in the database on engine startup
- it is set to the engine via ManagementService#setLicenseKey
- it is set to the engine via Admin Webapp
Meta and environment data
The “Meta/Environment Data” category contains information about the environmental setup:- Database vendor and version
- Application server vendor and version
- JDK vendor and version
- Used ASEE Flow Web Applications
Usage data
The “Usage Data” category contains information about the used features and components of the process engine:- Commands count - the count of executed commands after the last retrieved data. It could be from the previous 24 hours if the data have been reported then, and the process engine has not been closed during that time. Whenever the process engine is shutdown, the currently collected data is reported immediately.
- Metrics count - the collected metrics are number of root process instance executions started, number of activity instances started or also known as flow node instances, and number of executed decision instances and elements. The counts are collected from the start of the engine or the last reported time if the engine is already running for more than 24 hours.
- ASEE Flow integration - a flag that shows if any of the ASEE Flow integrations are used: Spring boot starter, ASEE Flow Run, WildFly subsystem or ASEE Flow EJB service.
Example
Source code
In case you want further details, you can have a look at the implementation of the diagnostics topic in our codebase. The link leads you to the currentmaster version of the feature.