As mention this values are static and display the count of elements in the moment the user opens the Dev UI. The new Quarkus APIs allow to display dynamic data in the badges which is srtreamed from the Quarkus runtime. We can take advantage of this to stream the elements count and update and display the real count of elements.
As a part of https://github.com/apache/incubator-kie-issues/issues/280 we recovered the static badges displaying the count of elements (ProcessInstancess/Tasks/Jobs/Forms) in the extension Card.
As mention this values are
static
and display the count of elements in the moment the user opens the Dev UI. The new Quarkus APIs allow to display dynamic data in the badges which is srtreamed from the Quarkus runtime. We can take advantage of this to stream the elements count and update and display the real count of elements.More info: https://quarkus.io/guides/dev-ui#custom-cards