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

Redirect /schemas/latest to latest schema #3475

Merged

Conversation

chalin
Copy link
Contributor

@chalin chalin commented Nov 2, 2023

Redirect test: https://deploy-preview-3475--opentelemetry.netlify.app/schemas/latest

$ curl -sI https://deploy-preview-3475--opentelemetry.netlify.app/schemas/latest | grep -E 'HTTP|loc'
HTTP/2 301 
location: /schemas/1.22.0

Note: there's a simpler way to get the latest version, by using the semconv spec version. But to do that I'll need to rework some scripts. I'll do that in a followup PR.

@chalin chalin merged commit 846c077 into open-telemetry:main Nov 2, 2023
14 checks passed
@chalin chalin deleted the chalin-im-latest-schema-redir-2023-11-02 branch November 2, 2023 14:23
@chalin
Copy link
Contributor Author

chalin commented Nov 2, 2023

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.

Is there an index for all available schema?
2 participants