The operator an track in the cluster if Prometheus Operator is installed. If this condition is true and the SonataFlowPlatform is marked with .spec.monitoringEnabled: true, then each workflow instance can have a ServiceMonitor object bound to it.
Checklist
[X ] Add or Modify a unit test for your change
[X ] Have you verified that tall the tests are passing?
This PR implements https://github.com/apache/incubator-kie-kogito-serverless-operator/issues/464.
The operator an track in the cluster if Prometheus Operator is installed. If this condition is true and the SonataFlowPlatform is marked with .spec.monitoringEnabled: true, then each workflow instance can have a ServiceMonitor object bound to it.
Checklist