Registry /
observability / contrib-instrumentation-github-com-labstack-echo-otelecho
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
otelecho
✓ go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
Adds OpenTelemetry tracing middleware to an Echo server.
package main
import (
"github.com/labstack/echo/v4"
"go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho"
)
func main() {
e := echo.New()
e.Use(otelecho.Middleware("my-service"))
e.GET("/", func(c echo.Context) error {
return c.String(200, "Hello")
})
e.Start(":8080")
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.69.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.