An official Go agent for monitoring applications with New Relic, providing transaction tracking, database call instrumentation, and runtime metrics.
New Relic Go Agent is an official instrumentation library that allows Go developers to monitor their applications' performance within the New Relic observability platform. It tracks transactions, database calls, and runtime metrics like garbage collection and goroutine activity. The agent provides both automatic runtime monitoring and manual instrumentation capabilities for granular control.
Go developers and engineering teams building production services who need comprehensive application performance monitoring (APM) and observability insights. It's particularly valuable for teams already using or considering New Relic for their monitoring stack.
Developers choose this agent for its official New Relic integration, extensive framework and database support, and the flexibility of manual instrumentation. It provides deep Go-specific runtime metrics and seamless integration with the broader New Relic observability ecosystem.
New Relic Go Agent
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Offers out-of-the-box support for Gin, Fiber, Gorilla, gRPC, Echo, and other popular web frameworks through dedicated integration packages, simplifying instrumentation as shown in the README's integration tables.
Instruments PostgreSQL, MySQL, MongoDB, Redis, and more with specific integration packages, providing detailed query performance insights without custom code for common datastores.
Includes integrations for OpenAI and AWS Bedrock for AI monitoring, and supports distributed tracing with B3 headers, addressing modern application needs beyond traditional APM.
Collects garbage collection statistics, goroutine activity, and memory/CPU usage automatically upon import, offering immediate visibility into application health without additional setup.
Requires developers to manually add New Relic methods to source code, as Go is a compiled language without a VM, increasing setup time and complexity compared to agents for interpreted languages.
Tightly integrated with the New Relic platform, making it difficult to migrate to other APM tools without re-instrumenting the application, despite offering exporters for OpenTelemetry as alternatives.
For unsupported frameworks or libraries, developers must use base primitives for instrumentation, which can be error-prone and require deeper understanding of the agent's API, as noted in the README.