camunda-8-benchmark icon indicating copy to clipboard operation
camunda-8-benchmark copied to clipboard

Running the benchmark shows no jobs completed and no data in grafana

Open shahamit opened this issue 2 years ago • 4 comments

When I run the benchmark tool locally I see 3 issues

  1. No jobs or processes aren't getting completed. The PI Completed and COMPLETED JOBS counters are printed on the console as always 0. The detailed logs are shared here. Assuming its because of the flag thats passed as false to SimpleDelayCompletionHandler class constructor, I modified it to true but that does not have any effect on the output.
  2. Grafana dashboard does not show any data. Prometheus and grafana are started with the docker-compose file shared in the github repo.
  3. There is an exception on startup - workerName is null. I am not sure if this has any effect on the outcome.

I have cloned this repo and modified the application.properties to connect to the locally deployed zeebe instance. No other code change. Any help would be appreciated. Thanks.

shahamit avatar Nov 11 '22 12:11 shahamit

Same was reported in slack https://camunda-platform.slack.com/archives/C6WGNHV2A/p1668164094768539

\cc @berndruecker @falko

Zelldon avatar Nov 15 '22 09:11 Zelldon

Is that a duplicate to https://github.com/camunda-community-hub/camunda-8-benchmark/issues/10?

berndruecker avatar Nov 15 '22 09:11 berndruecker

I could get the tool running by checking out an old commit (SHA - a1e5f845dde6532f88bd7bdf82be4d2bb2cb02ea). With this 1 and 3 issues are resolved. I had modify the docker-compose file to update prometheus container to listen to the docker host by adding this. This resolves the 2 issue mentioned above

extra_hosts:
      - "host.docker.internal:host-gateway" 

It seems recent commits to the tool are the problem

shahamit avatar Nov 15 '22 09:11 shahamit

As a workaround you could look a the Zeebe Grafana Dashboard

falko avatar Feb 27 '23 08:02 falko