Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Prometheus ServiceMonitor object that can capture/collect metrics from deployed SonataFlow instances #464

Open
Tracked by #461
ricardozanini opened this issue May 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ricardozanini
Copy link
Member

ricardozanini commented May 13, 2024

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 a ServiceMonitor object bound to it.

Implementation ideas

Each SonataFlow already exposes a Service. Hence, in this issue, it's expected that each ServiceMonitor instance binds to it.

Verify with kogito-runtimes the endpoints to scrap for metrics (should be /metrics).

Prereqs

  • Prometheus operator is installed
  • Prometheus CR is already deployed and configured in the cluster. The operator won't provision a Prometheus server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant