-
Notifications
You must be signed in to change notification settings - Fork 61
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
Separation of SLO and SLI #39
Comments
@ian-bartholomew If we decide to do that, I am OK with closing out some of my issues and focusing the debate here... |
Hey @ian-bartholomew @its02003. I find the SLO /SLI separation also useful. I can think of the following use-case that this separation will make SLO/SLI separation easier. Service A Repository
Use Cases
Both of the above tools serve a completely different purpose and possible use different tech/tooling to generate the outputs needed for their use case. We can achieve the same by having SLO/SLI in the same file but it doesn't help with the separation of concerns when it comes to tooling. |
This as an option is a great idea. But this needs to happen as an alternative to the single–file definition. The spec makes defining SLOs quite verbose already and increasing minimal required verbosity to achieve something should be an anti–pattern. In python the simplest working program is a single line |
@ian-bartholomew can you confirm if the intention was separating SLI into a separate That's the way I interpreted it, but I want to confirm |
@kenfinnigan yeah, the intention is to make the SLI a separate |
Thanks for confirming. In this case, I think separation of SLIs and SLOs into separate files is orthogonal to separating the definition. Once they have separate definitions, whether it's all in one file or across several would not be a concern of the spec, for me. |
This makes sense to me - the number of files doesn't matter, but the ability to distinguish between an SLI and an SLO does. More than happy to support this in prep for v1, might be worth adding a note somewhere along the lines of "If you want to split them into different files, that's up to you, but we're not going to force you either way as part of the spec"? Or does that make things more complex? |
Thats my preference, leaving it up to the user to define those. so like @kenfinnigan said, I wouldn't make an opinion about it in the spec |
With the merging of @soasme's PR, this can be resolved |
In order to promote separation of concern between the SLOs and the SLIs, we should separate out the two. This has the added benefit of portability as well as allowing for better access control for the files. In addition, it keeps the SLO definition separate and independent of the data sources
The text was updated successfully, but these errors were encountered: