Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.32 KB

set-up.asciidoc

File metadata and controls

50 lines (35 loc) · 1.32 KB

Set up the Agent

To start reporting your Go application’s performance to Elastic APM, you need to do a few things:

Install the Agent

Within a Go module, install the Elastic APM Go agent package using go get:

go get -u go.elastic.co/apm/v2

Requirements

You can find a list of the supported frameworks and other technologies in the [supported-tech] section.

Instrument Go Source Code

Instrumentation is the process of extending your application’s code to report trace data to Elastic APM. Go applications must be instrumented manually at the source code level. There are two ways to instrument your applications:

Where possible, use the built-in modules to report transactions served by web and RPC frameworks in your application.

Configure the Agent

See [configuration] to learn about all available options.