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

No data and generic rules not created #1217

Open
idrikay opened this issue Jul 17, 2024 · 0 comments
Open

No data and generic rules not created #1217

idrikay opened this issue Jul 17, 2024 · 0 comments

Comments

@idrikay
Copy link

idrikay commented Jul 17, 2024

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.

  • I see the service monitor in Prometheus
Screenshot 2024-07-17 at 12 43 58
  • Using the helm chart I have added the genericRules key-value in the config without success. No metrics with pyrra prefix are created
genericRules:
  enabled: true
Screenshot 2024-07-17 at 12 23 46 Screenshot 2024-07-17 at 12 42 17
  • I sometimes see the request graph for a couple of minutes but data disappears on refresh.
Screenshot 2024-07-17 at 12 38 02
  • Here is the rule file:
apiVersion: pyrra.dev/v1alpha1
kind: ServiceLevelObjective
metadata:
  labels:
    prometheus: k8s
    role: alert-rules
  name: coredns-response-errors
  namespace: monitoring
spec:
  description: ""
  indicator:
    ratio:
      errors:
        metric: coredns_dns_responses_total{job="coredns",rcode="SERVFAIL"}
      total:
        metric: coredns_dns_responses_total{job="coredns"}
  target: "99.99"
  window: 2w
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

1 participant