Create a Prometheus ServiceMonitor
object that can capture/collect metrics from deployed SonataFlow
instances
#464
Labels
enhancement
New feature or request
Description
The operator can track in the cluster if Prometheus Operator is installed. If this condition is true and the
SonataFlowPlatform
is marked with.spec.monitoring: true
, then each workflow instance can have aServiceMonitor
object bound to it.Implementation ideas
Each
SonataFlow
already exposes aService
. Hence, in this issue, it's expected that eachServiceMonitor
instance binds to it.Verify with
kogito-runtimes
the endpoints to scrap for metrics (should be/metrics
).Prereqs
Prometheus
CR is already deployed and configured in the cluster. The operator won't provision a Prometheus server.The text was updated successfully, but these errors were encountered: