• /
  • EnglishEspañol日本語한국어Português
  • Log inStart now

Introduction to New Relic for Go

New Relic for Go monitors your Go language applications and microservices to help you identify and solve performance issues. You can also use your data to improve your customers' experience and make data-driven business decisions.

Go is a compiled language, and doesn’t use a virtual machine. The best way to monitor Go applications is to use the Go API. Our API provides exceptional flexibility and control over what gets instrumented.

Use the New Relic Go agent to solve your app's performance issues with our My app is slow tutorial.

Start monitoring your Go application

To use New Relic for Go:

  1. If you do not already have one, sign up for a free New Relic account.
  2. To install the agent, use our launcher, or follow the New Relic Go agent's installation and instrumentation procedures. Wait a few minutes to view data from your Go app in your New Relic account's UI.
Read the install docs
Add Go data

We recommend instrumenting your Go code to get the maximum benefits from the New Relic Go agent. But we make it easy to get great data in couple of ways:

Monitor application and microservice performance

The Go programming language, also called Golang, has become a popular coding choice for its ease of use, concurrency, and impressive speed.

With New Relic for Go, you will gain a new level of visibility into your Golang applications:

See the big picture:

  • Monitor the throughput, response times, and errors of the transactions in your applications and services.
  • Understand your application's runtime health by seeing memory usage, garbage collection behavior, and CPU usage over time.
  • With deployment markers, see how code changes impact application performance and health.
  • Use infrastructure monitoring to view detailed host and server data.
  • Use distributed tracing to understand how your services and microservices are interacting.

Identify and fix errors:

  • Find bottlenecks by seeing time spent on database calls, external system calls, and key blocks of code.
  • View Goroutine counts and identify possible Goroutine leaks.
  • Get alerts for problems or errors before they affect users.
  • Create custom for important metrics.

View logs for your APM and infrastructure data:

You can bring your logs and application's data together to make troubleshooting easier and faster. No need to switch to another UI page.

  • With logs in context, you can see log messages related to your errors and traces directly in your app's UI.
  • You can also see logs in context of your infrastructure data, such as Kubernetes clusters.

Analyze business data:

  • Query user-related data and improve business processes.
  • Create custom queries of your Go application data.
  • Send your own custom data to New Relic.
  • Create and share visual, interactive displays of your data.

Additional instrumentation

After installing the agent, consider the Go Telemetry SDK

Check the source code

The Go agent is open source software. That means you can browse its source code and send improvements, or create your own fork and build it. For more information, see the README.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.