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

Could you make the generation of Prometheus rules configurable? #3598

Open
raftmobius opened this issue Jan 15, 2025 · 1 comment
Open

Could you make the generation of Prometheus rules configurable? #3598

raftmobius opened this issue Jan 15, 2025 · 1 comment

Comments

@raftmobius
Copy link

Is your feature request related to a problem? Please describe:
Prometheus rules, especially alert rules, are hard coded in CDI. These rules will be generated automatically. So I cannot alter the alerts. I cannot turn off the alerts either.

Describe the solution you'd like:
I wish to have a config for enabling/disabling the rule generation. So that I can turn off the rules generated by CDI, and write my own.

Describe alternatives you've considered:
I commented out the code and build my own CDI images. But this method made me diverge from the official CDI which lead me to patch CDI for every new release.

Additional context:
no additional context so far.

@awels
Copy link
Member

awels commented Jan 27, 2025

@raftmobius We are always open to PRs to allow you to configure the prometheus rules. Trying to understand the use case here, but we are open to PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants