-
Notifications
You must be signed in to change notification settings - Fork 78
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
latency slo #238
Comments
Hi and thanks for your interest in SLO Generator! Can you share how you handle the Availability SLO? Then let's build upon that and come up with the Latency SLO. Just note that SLO Generator does not expose anything by itself. You need to define your SLOs in YAML files so SLO Generator understands how to compute them and decide whether you are within your targets (or not). Here is an example for a Latency SLO based on Prometheus metrics:
Does that make sense? Otherwise feel free to ask for more details. |
Hi @SanaZulfiqar73, please let me know if my last comment helped. |
Hey, thanks for the response. I have pretty much same idea as you mentioned.
In config file, I am exposing these configurations to prometheus pushgateway:
In prometheus, I am getting the availability value for endpoint
I was wondering if is there a way we can have single SLO yaml file for latency and availability and have a separate metrics for latency like "sli_measurement". Thanks again, |
Hi @SanaZulfiqar73, It is considered a best practice to have one SLO definition per file (= as many files as SLOs). You could try combining multiple SLO definitions in a single file by separating them with Regarding the Does that help? If not, please let me know what you had in mind. Perhaps by sharing an example of how you'd like to write this latency SLO? |
Hi,
I am currently using slo-generator for availability SLO and I am trying to add latency SLO as well.
I am using prometheus as backend and prometheus-pushgateway as exporter.
I want to understand how slo-generator expose latency SLO? I don't see any metrics related to latency.
thanks,
The text was updated successfully, but these errors were encountered: