Skip to content

chore: bump go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho from 0.69.0 to 0.71.0 - #477

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho-0.71.0
Closed

chore: bump go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho from 0.69.0 to 0.71.0#477
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho-0.71.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 3, 2026

Copy link
Copy Markdown
Contributor

Bumps go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho from 0.69.0 to 0.71.0.

Changelog

Sourced from go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho's changelog.

[1.46.0/2.5.3/0.71.0/0.37.3/0.26.0/0.20.1/0.16.3/0.18.0] - 2026-08-25

This release is the last to support [Go 1.25]. The next release will require at least [Go 1.26].

Added

  • Add support for the aws.ec2 resource detector in go.opentelemetry.io/contrib/otelconf/x. (#9139)
  • Support testing of [Go 1.27]. (#9524)
  • Add go.opentelemetry.io/contrib/detectors/docker, a resource detector for Docker, ported from processor/resourcedetectionprocessor/internal/docker in opentelemetry-collector-contrib. (#9001)
  • Add S3AttributeBuilder to go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws that sets S3-specific span attributes following the OpenTelemetry S3 semantic conventions. (#9292)

Deprecated

  • Deprecate go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho. Use github.com/labstack/echo-opentelemetry instead. (#9136)

Fixed

  • Record error.type attribute on server spans in go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful when a request is cancelled or ends in a 5xx error. (#9387)
  • Report ot-baggage-* extraction errors from go.opentelemetry.io/contrib/propagators/ot to otel.Handle instead of silently discarding them, while still attaching the successfully parsed baggage members to the context. (#9395)
  • Set error.type on the rpc.client.call.duration and rpc.server.call.duration metrics in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc when the RPC fails with a non-OK status, per the RPC semantic conventions. (#9429)
  • Reject OTLP exporter headers with an empty name in go.opentelemetry.io/contrib/otelconf, go.opentelemetry.io/contrib/otelconf/x, and go.opentelemetry.io/contrib/otelconf/v0.3.0, instead of forwarding invalid header names to OTLP exporters. (#9102)
  • go.opentelemetry.io/contrib/detectors/aws/lambda no longer returns an error when run outside of an AWS Lambda environment, matching the no-op behavior of other resource detectors. (#9464)
  • Convert Prometheus untyped metrics to OTLP Gauges in go.opentelemetry.io/contrib/bridges/prometheus. (#9099)

[1.45.0/2.5.2/0.70.0/0.37.2/0.25.0/0.20.0/0.16.2/0.17.0] - 2026-08-03

Added

  • Add go.opentelemetry.io/contrib/detectors/ibmcloud/vpc, a new resource detector for IBM Cloud VPC virtual server instances, ported from github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/ibmcloud/vpc. Detects cloud.provider, cloud.platform, cloud.region, cloud.availability_zone, cloud.account.id, cloud.resource_id, host.id, host.image.id, host.image.name, host.name, and host.type. (#9011)
  • Add go.opentelemetry.io/contrib/detectors/k8sapi, a new resource detector that queries the Kubernetes API. Detects k8s.node.name and k8s.node.uid when K8S_NODE_NAME is set via the downward API, and k8s.cluster.uid derived from the kube-system namespace UID (works on any Kubernetes distribution). (#9108)
  • Add new elasticbeanstalk resource detector for AWS Elastic Beanstalk, ported from processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk in opentelemetry-collector-contrib. (#8993)
  • The resource created by go.opentelemetry.io/contrib/otelconf now includes default SDK attributes. (#8990)
  • Add support for the aws.ecs resource detector in go.opentelemetry.io/contrib/otelconf/x. (#8915)
  • Add support for the aws.eks resource detector in go.opentelemetry.io/contrib/otelconf/x. (#9138)
  • Add support for the azure.vm resource detector in go.opentelemetry.io/contrib/otelconf/x. (#9074)
  • Add support for the gcp resource detector in go.opentelemetry.io/contrib/otelconf/x. (#9137)
  • Add go.opentelemetry.io/contrib/detectors/azure/azureappservice, a new resource detector for Azure App Service. Detects cloud.*, service.name, azure.resource_group.name, azure.app_service.instance.id, and deployment.environment.name from the WEBSITE_* and REGION_NAME environment variables. (#9289)
  • Add azurecontainerapps resource detector for Azure Container Apps. (#8939)
  • Add go.opentelemetry.io/contrib/detectors/azure/azurefunctions, a new resource detector for Azure Functions. Detects cloud.*, service.name, azure.resource_group.name, faas.instance, and deployment.environment.name from the FUNCTIONS_*, WEBSITE_*, CONTAINER_NAME, and REGION_NAME environment variables. (#9290)
  • Add NewResourceDetector along with the WithAttributeFilter and WithTagKeyFilter options in go.opentelemetry.io/contrib/detectors/azure/azurevm. WithAttributeFilter restricts the returned resource to the attributes the filter accepts. WithTagKeyFilter opts in to azure.tag.<name> attributes for the VM tags whose keys satisfy the provided predicate; no VM tags are emitted without it. (#9162)
  • Add go.opentelemetry.io/contrib/detectors/vultr — a new resource detector for Vultr Cloud Compute instances, ported from processor/resourcedetectionprocessor/internal/vultr in opentelemetry-collector-contrib. Detects cloud.provider, cloud.platform, cloud.region, host.id, and host.name. (#8995)

Changed

... (truncated)

Commits
  • c4c6248 Release v1.46.0/v2.5.3/v0.71.0/v0.37.3/v0.26.0/v0.20.1/v0.16.3/v0.18.0 (#9563)
  • 11c8a13 fix(deps): update aws-sdk-go-v2 monorepo
  • 0458b9d chore(deps): update module go.opentelemetry.io/contrib/instrumentation/net/ht...
  • 638a0d5 fix(deps): update module github.com/moby/moby/api to v1.55.0
  • 5089aa5 chore(deps): update googleapis to da73d73
  • a50857b chore(deps): update jaegertracing/jaeger docker tag to v2.20.0
  • aa4f4a5 chore(deps): update open-telemetry/shared-workflows action to v0.11.0
  • ccbbc14 fix(deps): update module github.com/aws/smithy-go to v1.28.0
  • 9312464 chore(deps): update module github.com/docker/go-connections to v0.8.1
  • 36c3b00 chore(deps): update module github.com/felixge/httpsnoop to v1.1.0
  • Additional commits viewable in compare view

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Thank you for contributing to this project! 😊🕹️

…bstack/echo/otelecho

Bumps [go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.69.0 to 0.71.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go-contrib@zpages/v0.69.0...zpages/v0.71.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
  dependency-version: 0.71.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho-0.71.0 branch from 9c29036 to d72181e Compare September 3, 2026 06:26
@retr0h retr0h mentioned this pull request Sep 12, 2026
retr0h added a commit that referenced this pull request Sep 12, 2026
Forced by #477. Dependabot's otelecho 0.69.0 -> 0.71.0 bump cannot merge:
0.71.0 marks the package deprecated, staticcheck's SA1019 fires and
go-vet fails. The replacement instruments Echo v5, and its migration
guide says applications must migrate Echo first.

Almost all of the echo surface is generated. Flipping 25 cfg.yaml to
echo5-server and regenerating fixed roughly 900 call sites, leaving a
small hand-written remainder:

- echo5-server generates StrictHandlerFunc in each of the 25 gen
  packages, so api.ScopeMiddleware cannot name any one of them.
  api.StrictHandlerFunc is declared once and the 23 call sites convert
  across the boundary, which Go permits since the signatures match.
- v5 has no Shutdown. StartConfig.Start drains when its context is
  cancelled, so both servers hold a CancelFunc that Stop calls.
- Response() returns a bare http.ResponseWriter: status comes from
  echo.UnwrapResponse, Flush from an http.Flusher assertion.
- Routes() moved to Router().Routes(); HideBanner moved to StartConfig.

The generator stays at the pinned v2.7.1. It already ships the echo5
templates, so no bump was needed, and bumping to v2.8.0 dragged in
unrelated enum renaming and dropped auth scopes.

slog-echo is removed rather than upgraded. Its only v5-compatible
release tests for a routing error with err.(*echo.HTTPError), and v5
returns the unexported *echo.httpError, so every 404 became a 500. There
is nothing newer to upgrade to. internal/telemetry/httplog uses Echo's
own RequestLogger with HandleError set, which resolves the status through
the error handler that knows it, and takes the same *slog.Logger from
cmd/root.go so colouring, --json and trace handling are unchanged.

CORS is registered only when origins are configured. v5 panics on an
empty AllowOrigins where v4 defaulted to "*", and neither inheriting a
permissive default nobody chose nor erroring on an optional feature is
right. The middleware is left off, the browser applies same-origin
policy, and both outcomes are logged so an operator is not left inferring
it from a browser error.

72 packages pass, coverage 100.0%, golangci-lint reports 0 issues.
Coverage was checked function by function against main rather than by the
total: the only difference is httplog.New appearing at 100%.


Claude-Session: https://claude.ai/code/session_01FuKUsHFG1EqZXamffh9M2c

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
@retr0h

retr0h commented Sep 12, 2026

Copy link
Copy Markdown
Collaborator

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Sep 12, 2026

Copy link
Copy Markdown
Contributor Author

Looks like go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho is no longer a dependency, so this is no longer needed.

@dependabot dependabot Bot closed this Sep 12, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho-0.71.0 branch September 12, 2026 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go kind/deps kind/yaml

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant