Installation Steps For Echo 4.x.x
If you are using Echo 4.x (github.com/labstack/echo/v4)
, use module/atechov4
.
Get the latest Go agent from
copygo get go.atatus.com/agent
Add
atechov4
into Gin Middleware.copyimport ( "github.com/labstack/echo/v4" "go.atatus.com/agent/module/atechov4" ) func main() { e := echo.New() e.Use(atechov4.Middleware()) ... }
Update your go module dependency.
go mod tidy
Restart your Gin server to view your performance data within minutes.
env ATATUS_LICENSE_KEY="lic_apm_aajer7238823kkdsv" ATATUS_APP_NAME="Go App" go run *.go
Installation Steps For Echo 3.x.x
If you are using Echo 3.x (github.com/labstack/echo)
, use module/atecho
.
Get the latest Go agent from
copygo get go.atatus.com/agent
Add
atgin
into Gin Middleware.copyimport ( echo "github.com/labstack/echo" "go.atatus.com/agent/module/atecho" ) func main() { e := echo.New() e.Use(atecho.Middleware()) ... }
Update your go module dependency.
go mod tidy
Restart your Gin server to view your performance data within minutes.
env ATATUS_LICENSE_KEY="lic_apm_aajer7238823kkdsv" ATATUS_APP_NAME="Go App" go run *.go