A small demo to show how you can monitor Camunda and the surrounding systems with Open Source Application Performance Management (APM) tools.
The landscape we use:
- Jaeger at http://localhost:16686
- Zipkin at http://localhost:9411
- Prometheus at http://localhost:9090
You can start the Camunda example process manually via the Camunda Tasklist, login as user with username admin
and password pw
.
The process contains a service task which calls an external service.
To start the docker container run docker-compose up
.
The image shows all components and how they communicate with each other. The Camunda Platform Engine uses a JavaDelegate to fetch data from the Data Service. The Mirconaut External Task Worker fetches task from the engine and loads data from the Data Service and store some information back to the engine.
To monitor all these components and their interactions I added the OTEL Java Agent to each docker container they are running in. The Agent collects as much information as you want. Using APM Tools like Jaeger, Zipkin or Prometheus you could monitor and analyze them.