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

fix: update status to check for 2xx and any other 200 http code with regex #27

Merged
merged 1 commit into from
May 30, 2024

Conversation

shreddedbacon
Copy link
Member

@shreddedbacon shreddedbacon commented May 30, 2024

At some point the ingress metrics changed from logging status codes as their more specific versions (200, 401, etc) and are now (2xx, 4xx, etc).

This changes the check to use regex to check for any 2xx based status code.

Also just some minor repo moving changes (amazeeio>uselagoon)

@shreddedbacon shreddedbacon force-pushed the prometheus-status-check branch from b3fe4a1 to 85aba20 Compare May 30, 2024 07:11
@shreddedbacon shreddedbacon marked this pull request as ready for review May 30, 2024 07:25
Copy link
Member

@tobybellwood tobybellwood left a comment

Choose a reason for hiding this comment

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

yup - looks sensible!

@shreddedbacon shreddedbacon merged commit e6aae71 into main May 30, 2024
7 checks passed
@shreddedbacon shreddedbacon deleted the prometheus-status-check branch May 30, 2024 07:35
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