docs: OpenTelemetry middleware moved to labstack/echo-otel - #453
Merged
Merged
Conversation
labstack/echo-opentelemetry was renamed to labstack/echo-otel. The Echo v5 module is now github.com/labstack/echo-otel/v5 (v5.0.0) and the Echo v4 module is github.com/labstack/echo-otel/v4 (v4.0.0). The old module path is deprecated. - Pin the OpenTelemetry API reference to github.com/labstack/echo-otel/v5 v5.0.0 and regenerate the external baseline (adds ErrorType). - Update the go get line, import path, and repository, Config, and example links on the OpenTelemetry page in every locale. - Add a note that Echo v4 applications use github.com/labstack/echo-otel/v4 and that github.com/labstack/echo-opentelemetry is the deprecated previous name, with a link to the migration notes. - The example exports spans only; drop the mention of metrics.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
labstack/echo-opentelemetryhas been renamed tolabstack/echo-otel, and the module paths now carry the Echo major version:github.com/labstack/echo-otel/v5github.com/labstack/echo-otel/v4github.com/labstack/echo-opentelemetryis deprecated (v0.0.4 marks it in go.mod) and gets no further changes. This PR points the docs at the new module.Changes
site/external-sources.json: the OpenTelemetry API reference is now extracted fromgithub.com/labstack/echo-otel/v5v5.0.0.site/external-baseline.json: regenerated withnpm run source:prepareandnpm run source:accept. Apart from the module and version, the only difference is the newErrorTypefunction. TheConfigfields are unchanged.go getand the import path usegithub.com/labstack/echo-otel/v5Config(otel.go#L31) and example links point tolabstack/echo-otelgithub.com/labstack/echo-otel/v4, thatgithub.com/labstack/echo-opentelemetryis the deprecated previous name, and links to the migration notesChecks
go test ./...andmake testpass.cd site && npm ci --ignore-scripts && npm run buildpasses. That covers the source check for stable and next, translation and security translation status, both Astro builds,site:checkandperformance:check.npm run site:checkpasses: 687 routes and 61606 internal links/assets resolve.npm run translations:statusreports 0 sections to review. The OpenTelemetry page is not tracked there, so there was nothing to accept.