The DigiWF Camunda Prometheus Exporter library exports Camunda Metrics for prometheus and allows to register own metric providers for digiwf.
Table of Contents
- Task Metrics: Metrics for assigned and unanssigned tasks
- Incident Metrics: Open Incidents
- Process Metrics: Deployed Definitions and Open Process Instances
- Job Metrics: Executable, suspended and future job metrics
This project is built with:
- Spring Boot
- Micrometer
- Inspired by Camunda Prometheus Exporter
Below is an example of how you can installing and setup up your service
- Use the camunda initalizer and create a Spring Boot application with
Web
dependencies https://start.camunda.com/ - Add the spring-boot-actuator and digiwf-camunda-prometheus dependency
With Maven:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
<version>2.6.4</version>
</dependency>
<dependency>
<groupId>io.muenchendigital.digiwf</groupId>
<artifactId>digiwf-camunda-prometheus-starter</artifactId>
<version>${digiwf.version}</version>
</dependency>
With Gradle:
implementation group: 'io.muenchendigital.digiwf', name: 'digiwf-camunda-prometheus-starter', version: '${digiwf.version}'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-actuator', version: '2.6.4'
- Add your own Metrics by implementing the
MetricsProvider
Interface
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
it@M - opensource@muenchen.de
Join our Slack Channel for more information!