Replies: 1 comment 4 replies
-
In principle, In the example provided below, the pragma applies to the func TraceMiddleware(next echo.HanlderFunc) echo.HandlerFunc {
//dd:span
handler := func(c echo.Context) error {
return next(c)
}
return handler
} |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently,
//dd:span
only supports functions whose signatures include acontext
or anHTTP request
. However, for functions that use frameworks like Echo (usingecho.Context
) or Fiber (usingfiber.Ctx
), manual tracing must still be added.Do you have any plans to extend
//dd:span
support to include these function signatures as well?if this improvement isn't too complex to implement, I would appreciate any guidance or ideas. If possible, I'd be happy to work on the changes and submit a PR.
Feel free to adjust the wording as needed!
Beta Was this translation helpful? Give feedback.
All reactions