silk-framework / silk

Silk Linked Data Integration Framework
http://silkframework.org/
Other
240 stars 62 forks source link

Expose metrics for Prometheus using Micrometer #807

Closed edufuga closed 4 weeks ago

edufuga commented 1 month ago

Expose metrics for Prometheus using Micrometer

This PR adds support for exposing metrics using Micrometer, with the specific use-case of Prometheus in mind.

The main changes in this PR are:

  1. Integrating the functionality of Micrometer-based metrics and configuring the Micrometer-based metrics to work with Prometheus as the monitoring and alerting software system
  2. Exposing the thread pool metrics of the Activity
  3. Exposing the total number of projects and tasks in a workspace
  4. Exposing the number of tasks by their specification (Transform, Dataset, Linking, Task, Workflow).
  5. Exposing the runtime of a workflow, operator and dataset, as well as the number of entities of a dataset.
  6. Exposing the version (Workbench Core).
  7. Add the app name as a metrics tag, via the property metrics.tags.
  8. Add descriptions to the metrics.
  9. Enable enabling/disabling the metrics functionality, via the property metrics.enabled.