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

Allow scaling job workers down to 0 #18468

Open
npepinpe opened this issue May 13, 2024 · 4 comments
Open

Allow scaling job workers down to 0 #18468

npepinpe opened this issue May 13, 2024 · 4 comments
Labels
area/observability Marks an issue as observability related area/performance Marks an issue as performance related component/zeebe Related to the Zeebe component/team kind/feature Categorizes an issue or PR as a feature, i.e. new behavior

Comments

@npepinpe
Copy link
Member

Is your feature request related to a problem? Please describe.

As an operator, I would like to be able to reduce my cloud footprint (including cost) to a minimum when unused. Right now, I need to have my workers connected to Zeebe all the time so they can receive jobs in order to know when there are some jobs.

Describe the solution you'd like

I'd like a way to know how many jobs I have per job type which I can scrape, and have an auto-scaler react to.

Describe alternatives you've considered

A custom metrics exporter which looks at job events to determine how many jobs there are per type, and exposes them via Prometheus. However, it's currently difficult to do so: see #18467.

Additional context

@npepinpe npepinpe added kind/feature Categorizes an issue or PR as a feature, i.e. new behavior area/performance Marks an issue as performance related area/observability Marks an issue as observability related component/zeebe Related to the Zeebe component/team labels May 13, 2024
@Zelldon
Copy link
Member

Zelldon commented May 17, 2024

Triage:

  • moving to backlog as I don't see an urgency here
  • Please speak up if you think otherwise

@tmetzke
Copy link
Member

tmetzke commented May 27, 2024

ZPA triage:

  • Looks like a ZDP issue, removing it from our board for now. If you think there is anything for us to take over here, please re-add.

@npepinpe
Copy link
Member Author

I would expect this is to be primarily ZPA issue, actually. It's about exposing a metric which displays the count of jobs per job type, which is application specific, behind a feature flag (since we may want to disable it in SaaS due to the "infinite" cardinality of such a metric). Alternatively, it could be a simple actuator which exposes the latest state, as this can also be consumed by a custom application metrics adapter for Kubernetes.

Just my two cents 🤷

@tmetzke
Copy link
Member

tmetzke commented May 27, 2024

I somehow considered it a more infrastructural issue provided by the platform. But the way you described it makes sense, @npepinpe. I'll re-add it to our board and we'll discuss it in the next team triage 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/observability Marks an issue as observability related area/performance Marks an issue as performance related component/zeebe Related to the Zeebe component/team kind/feature Categorizes an issue or PR as a feature, i.e. new behavior
Projects
None yet
Development

No branches or pull requests

3 participants