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 fetching of cluster metrics #1010

Merged
merged 2 commits into from
Oct 23, 2023
Merged

Conversation

Keksoj
Copy link
Contributor

@Keksoj Keksoj commented Oct 23, 2023

cluster metrics are disabled by default, which is cumbersome. This PR introduces a configurable enable_cluster_metrics that is true by default.

On top of that, since introduction of Kawa, Sōzu would not register 4xx and 5xx HTTP statuses in worker and cluster metrics. For instance, Sōzu would respond with a default 404 but would NOT register this event in metrics. This is fixed here.

@Keksoj Keksoj added the metrics label Oct 23, 2023
@Keksoj Keksoj added this to the v0.16.0 milestone Oct 23, 2023
@Keksoj Keksoj force-pushed the fix-fetch-of-cluster-metrics branch from 4556238 to 6b53071 Compare October 23, 2023 14:18
@FlorentinDUBOIS FlorentinDUBOIS merged commit 4ab6481 into main Oct 23, 2023
12 checks passed
@FlorentinDUBOIS FlorentinDUBOIS deleted the fix-fetch-of-cluster-metrics branch October 23, 2023 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants