Home / Companies / New Relic / Blog / Post Details
Content Deep Dive

Top 10 tips for instrumenting Golang with New Relic, part 1

Blog post from New Relic

Post Details
Company
Date Published
Author
Steve Ng, Senior Manager, Developer Relations
Word Count
1,443
Language
English
Hacker News Points
-
Summary

Building modern apps in Golang requires effective instrumentation to quickly identify issues and improve observability. Unlike interpreted languages, Go relies on manual instrumentation due to its compiled nature, which means developers need to manually add New Relic methods to their source code. To get started, developers should learn why they need to instrument their app, start with minimal viable instrumentation (MVI), plan ahead by exposing key identifiers such as request identifier, state identifier, environment identifier, and parameters identifier, and embed observability practices into their development cycle. By following these tips and using the New Relic Go agent, developers can improve their application's visibility and gain confidence in its inner workings.