Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Feature Request] Record metrics on whether the worker pool was sufficient #4746

Open
@mabbott-aurorasolar

Description

@mabbott-aurorasolar

Metrics on Pool Sufficiency

Concept: I want to know how often my dev team is delayed in their CI runs because I didn't have enough hosts available in the worker pool. We have some large pools, but we also have a lot of PRs with a CI step that takes a lot of hosts.

If I'm sufficient 100% of the time during certain hours of the day, perhaps I'm overscaling the pool size. If I'm insufficient 70% of the time during other hours of the day, clearly my pool isn't large enough at that time. This data will let me modify those pool size configs as needed to ensure I'm neither overspending nor under-provisioning.

How?

My naive approach is to just modify scale-up.ts such thatif (scaleUp) is true, we record the metric as a0.0 value, and if it's false, we record the metric as a1.0 value. Eg: If you didn't need to scale up, then you had enough hosts.

I've got a code change written up that I'll follow-up with shortly. Please tell me if this is totally the wrong direction or you see reasons not to do this. Happy to try other things. For me, this was a fun dive into how this repo works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp