feat(engine): Micrometer metrics #5337
Conversation
|
Hi @punitdarira , |
|
Hi @punitdarira
I also started some small example processes to create data. actuator/metrics responseTo me this looks like default actuator response. I was expecting to see some camunda specific metrics here as well, is that a correct expectation? Can you provide testing steps specifically to see the micrometer changes you've implemented? |
|
Hi @HeleneW-dot, |
|
Hi @punitdarira , I assumed |
|
Hi @HeleneW-dot, |
|
Hi @punitdarira
I tried with the same steps, this time waiting 40 minutes just to be sure but got the same result. Are there any other changes I would need to make? Can you please provide a guide on how to use this feature that I can follow for local testing? Thank you.
I would say lets not divert from the technical proposal discussed in the ticket for now because it looks like that has already been reviewed by the team. Once I can test and review the code and gained some more insight we can revisit Thank you, |
|
Hi @HeleneW-dot, |
|
Hi @punitdarira , Are these required to make the micrometer metrics work? |
|
Hi @HeleneW-dot |
|
PR to run CI: #5428 |
|
Hi @punitdarira , |
There was a problem hiding this comment.
Hi @punitdarira ,
thanks again for your contribution. I've reviewed the changes and the code looks good to me. Please add the missing license header. The branch should also be rebased on up to date master since its been a while.
I think it would make sense to add some documentation for this as well, see my previous comment.
I am running CI on these changes now and will update here once the tests have run.
|
|
||
|
|
| public void run() { | ||
| List<MetricIntervalValue> metricsList = processEngine.getManagementService() | ||
| .createMetricsQuery().interval(1); | ||
| if(metricsList.isEmpty()){ |
There was a problem hiding this comment.
| if(metricsList.isEmpty()){ | |
| if(metricsList.isEmpty()) { |
| if(metricsList.isEmpty()){ | ||
| return; | ||
| } | ||
| metricsList.forEach(metric ->{ |
There was a problem hiding this comment.
| metricsList.forEach(metric ->{ | |
| metricsList.forEach(metric -> { |
| @@ -0,0 +1,42 @@ | |||
| package org.camunda.bpm.spring.boot.starter.actuator; | |||
There was a problem hiding this comment.
Missing license header
| @@ -0,0 +1,41 @@ | |||
| package org.camunda.bpm.spring.boot.starter.actuator; | |||
There was a problem hiding this comment.
Missing license header
| @@ -0,0 +1,25 @@ | |||
| package org.camunda.bpm.spring.boot.starter.property; | |||
There was a problem hiding this comment.
Missing license header
| @@ -0,0 +1,27 @@ | |||
| package org.camunda.bpm.spring.boot.starter.actuator.micrometer.metrics; | |||
There was a problem hiding this comment.
Missing license header
| @@ -0,0 +1,28 @@ | |||
| package org.camunda.bpm.spring.boot.starter.actuator.micrometer.metrics; | |||
There was a problem hiding this comment.
Missing license header
| @@ -0,0 +1,37 @@ | |||
| package org.camunda.bpm.spring.boot.starter.actuator.micrometer.metrics; | |||
There was a problem hiding this comment.
Missing license header
| @@ -0,0 +1,63 @@ | |||
| package org.camunda.bpm.spring.boot.starter.actuator.micrometer.metrics; | |||
There was a problem hiding this comment.
Missing license header
|
Hi @punitdarira , Thank you, |
|
Hi @punitdarira, Camunda 7 CE is end-of-life. Have you checked out our next-generation automation platform, C8, already? Feel free to contribute to this repository in the future. We will soon archive this repository. Best, |
related to #2771