NOTE: This repository is in maintenance mode. Bug fixes will continue to be applied, but no new features will be implemented. To replace this agent, we recommend you to migrate to the OpenTelemetry Go API and SDK, which provides similar features. In order to help you do a seamless migration, we recommend using our OpenTelemetry Bridge. Please refer to the blog post above for further details.
This is the official Go package for Elastic APM.
The Go agent enables you to trace the execution of operations in your application, sending performance metrics and errors to the Elastic APM server.
Within a Go module:
go get go.elastic.co/apm/v2
Requires APM Server v6.5 or newer.
You can find a list of the supported frameworks and other technologies in the documentation.
Apache 2.0.
If you find a bug, please report an issue. For any other assistance, please open or add to a topic on the APM discuss forum.