Skip to content

Allow customization of Span Start Options and whole Span creation. - #20

Open
aldas wants to merge 1 commit into
labstack:mainfrom
aldas:span_start_customization
Open

aldas wants to merge 1 commit into
labstack:mainfrom
aldas:span_start_customization

Conversation

@aldas

@aldas aldas commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

alternative solution to #19

@vishr

vishr commented Sep 28, 2026

Copy link
Copy Markdown
Member

@aldas the repository is now labstack/echo-otel, and main was released as github.com/labstack/echo-otel/v5 v5.0.0 (#21). Echo v4 support is on the v4 branch (github.com/labstack/echo-otel/v4 v4.0.0).

This PR needs a rebase onto the new main: the module path changed, and otel.go changed around span start and the end-of-request handling. Config.SpanStartOptions already exists; the "whole span creation" hook would be the new part. If it should also go into /v4, a follow-up PR against v4 would do it.

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.

2 participants