Comments (5)
I was able to make it works!
After identify that the prometheus operator uses a label to connect to all the objects that makes part of the solution I see that the components created by Parry doesn't have the correct label on it.
After change the label on rules and the SLO's objects to match the label used by my prometheus created by kube-prom operator, it works!
Thanks!
from pyrra.
You need to run two Pyrra components.
One with the api
command and one with the filesystem
or kubernetes
command. The filesystem
or kubernetes
components need to be run with this --generic-rules
flag.
Hopefully you could figure it out in the mean time.
I'll make sure to update the documentation there to make it more obvious.
from pyrra.
Hello!Tks for the answer!
I am trying to use the helm chart to deploy it and use with Grafana: https://artifacthub.io/packages/helm/rlex/pyrra
So far so good I am able to install it and run a pyrra-kubernetes changing the parameter generic-rules to true inside values.yaml.
But it keeps showing nothing on my Grafana dashboards.
I suspect about two things:
1 - I need to pass some args to pyrra-kubernetes using extraKubernetesArgs to point to my correct PrometheusURL, as you can see on the logs its using localhost:9090, but I have prometheus running on prometheus-operated.monitoring.svc.cluster.local:9090.
But I don't know which args I can pass on this parameter extraKubernetesArgs on values.yaml to change this.
2 - As you can see, it starts a metrics server on port 8080, but I don't see any exposed service to make my prometheus scrap this.And again, maybe there is some parameter that I can pass using extraKubernetesArgs and I don't know which parameters I can use(I didn't fin any documentation about parameter that I can use on it).
Tks in advance for any help.
from pyrra.
I was able to make it works! After identify that the prometheus operator uses a label to connect to all the objects that makes part of the solution I see that the components created by Parry doesn't have the correct label on it. After change the label on rules and the SLO's objects to match the label used by my prometheus created by kube-prom operator, it works!
Thanks!
@giz33 can you please elaborate on which label specific this is? I have kube-prometheus-stack helm chart installed which includes the prometheus operator but no generic rules metrics (such as pyrra_objective
) are being created in prometheus
from pyrra.
@stoopman I put the label "release: prometheus"
from pyrra.
Related Issues (20)
- Surface Pyrra version HOT 1
- Feature - Add link to Pyrra in alerts HOT 1
- Feature: Allow customisation of warning/critical alert levels HOT 2
- [Feature] Link Grafana Dashboard to Pyrra equivalent HOT 1
- Environment variables support in Pyrra HOT 1
- SLO dependencies / levels / hierarchy HOT 3
- Custom PropagationLabelsPrefix HOT 2
- No data Budget and Availability HOT 1
- Doubt - Error Budget
- Issue when showing some SLOs (white screen)
- Pyrra causes instability of Prometheus HOT 1
- Fix typo in Kubernetes example readme HOT 1
- Allow providing an error rate query rather than a error count query
- ConfigMapMode not working with option --config-map-mode=true
- Webhook Panic on Unexpected Parser Expression HOT 2
- Allow Prometheus Rules to Publish Rules to Azure Managed Prometheus HOT 3
- Grafana Alerting & Mimir support HOT 3
- Latency format incorrect when using milliseconds
- Latency SLOs - Duplicated "p100" percentile in duration graph (UI)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyrra.