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

availability and latency slos #596

Merged
merged 7 commits into from
May 10, 2024
Merged

availability and latency slos #596

merged 7 commits into from
May 10, 2024

Conversation

R-Lawton
Copy link
Contributor

@R-Lawton R-Lawton commented Apr 30, 2024

Creating SLO for both availability and latency using sloth.

##Verification

Unit tests

Run promtool tests:
make alerts-tests
You should see success for both alerts

Sloth generation

Install Sloth SLI https://sloth.dev/introduction/install/
Run generate -i examples/alerts/sloth/latency.yaml --default-slo-period=28d
The generated yaml should match the current alert for latency and when you change the file to availability you should see the same.

@R-Lawton R-Lawton marked this pull request as ready for review May 3, 2024 11:30
@R-Lawton R-Lawton requested a review from a team as a code owner May 3, 2024 11:30
Copy link
Contributor

@david-martin david-martin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really great to have these examples.
Some suggestions inline.

examples/alerts/README.md Outdated Show resolved Hide resolved
examples/alerts/README.md Outdated Show resolved Hide resolved
examples/alerts/README.md Outdated Show resolved Hide resolved
make/alerts.mk Outdated Show resolved Hide resolved
examples/alerts/tests/availability_test.yaml Outdated Show resolved Hide resolved
@R-Lawton R-Lawton requested a review from david-martin May 9, 2024 11:12
Copy link
Contributor

@david-martin david-martin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@david-martin david-martin merged commit b3c3813 into Kuadrant:main May 10, 2024
14 checks passed
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

Successfully merging this pull request may close these issues.

2 participants