-
Notifications
You must be signed in to change notification settings - Fork 113
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
No data and generic rules not created #1217
Comments
Solved same issue by adding "release: prometheus-community" label to my ServiceLevelObjective. |
Having a similar problem that in some clusters metrics for each slo resource getting created, in others not. For me this is independent from the label. I'm also using |
In my case prometheus is provisioned by operator (kube-prometheus-stack helm chart) and Prometheus CRD has rule selector based on labels
|
@vidomas can you check which metrics get produced by Pyrra? |
I found my error when looking trough the code: Line 1389 in 1e0a1ed
bool_gauge and grouping is not supposed to work.
|
I'm curious if the original author ever sorted out their issue here. I'm seeing the same thing testing out Pyrra, and I'm deploying the example SLO from the Pyrra repo:
I've removed the grouping since the docs on generic rules say those aren't supported, and I've verified that I'm getting other metrics from the pyrra-kubernetes pod scraped and available such as |
Actually, I think I found the issue on my end. I'd assumed for some reason that the generic metrics having a generic name like I tracked down some errors in our Mimir cluster where the limits needed to be raised so it would stop rejecting metrics from Pyrra including |
I have tried to deploy Pyrra with both manifests and helm chart. Both ways fail to create generic rules. I also get no data in requests or errors.
The text was updated successfully, but these errors were encountered: