apache / incubator-kie-kogito-serverless-operator

Kubernetes operator for SonataFlow
Apache License 2.0
15 stars 41 forks source link

[WIP-do not review] [issue-464]Create a Prometheus ServiceMonitor object that can capture/collect metrics from deployed SonataFlow instances #539

Closed jianrongzhang89 closed 1 week ago

jianrongzhang89 commented 1 week ago

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

jianrongzhang89 commented 1 week ago

Not needed anymore.