Installation steps
Get the latest Go agent from
copygo get go.atatus.com/agent
Add
atgin
into Gin Middleware.copyimport ( "github.com/gin-gonic/gin" "go.atatus.com/agent/module/atgin" ) func main() { engine := gin.New() engine.Use(atgin.Middleware(engine)) ... }
Update your go module dependency.
go mod tidy
Restart your Echo server to view your performance data within minutes.
env ATATUS_LICENSE_KEY="lic_apm_aajer7238823kkdsv" ATATUS_APP_NAME="Go App" go run *.go