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

add interval and timeout configuration for the actions-runner-controler serviceMonitors #2654

Merged

Conversation

arielly-parussulo
Copy link
Contributor

What?

Allow the customization of the interval and the timeout of the ServiceMonitors scraping.

Why?

I work in a company that has lots of workflows running and the controller generates lots of metrics in the /metrics path. When prometheus try to scrap the content of /metrics, it starts to face timeouts.
The default values for this chart are the default values for the Prometheus rules.

How?

By adding two new fields to the serviceMonitor map: interval and timeout. When the serviceMonitor is enabled (true), the serviceMonitor will be generated with these two properties.

@Link- Link- added needs triage Requires review from the maintainers community Community contribution labels Jun 12, 2023
Copy link
Collaborator

@mumoshu mumoshu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks a lot for your contribution @arielly-parussulo! ☺️

@mumoshu mumoshu merged commit 06cbd63 into actions:master Jul 25, 2023
11 checks passed
Link- pushed a commit that referenced this pull request Jul 26, 2023
…er serviceMonitors (#2654)

Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution needs triage Requires review from the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants