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

Remove metrics endpoints #1348

Merged
merged 1 commit into from
Jul 23, 2024
Merged

Remove metrics endpoints #1348

merged 1 commit into from
Jul 23, 2024

Conversation

apaskulin
Copy link
Contributor

@apaskulin apaskulin commented Jul 15, 2024

Because the /metrics endpoints now provided through AQS 2.0 and the REST gateway, they no longer need to be included in the RESTBase docs at https://wikimedia.org/api/rest_v1/#/

This PR attempts to remove the /metrics endpoints from the docs by removing the paths from the specs, configuration, and tests. Note that this PR is risky since it includes major changes, and I wasn't able to test it locally to ensure that it works correctly. Feel free to close if it's too risky to merge.

Now that these endpoints are provided through AQS 2.0 and the REST
gateway, we no longer need to include them as part of the RESTBase
docs, configuration, or tests.
@apaskulin
Copy link
Contributor Author

@nosmo, Looks like this passed CI, but I wasn't able to test it locally to confirm that it correctly removes the metrics endpoints.

@nosmo nosmo self-requested a review July 23, 2024 10:22
Copy link
Contributor

@nosmo nosmo left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@nosmo nosmo merged commit 02f1073 into wikimedia:master Jul 23, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants