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

Debugging Phoenix web applications with New Relic and CodeStream

Blog post from New Relic

Post Details
Company
Date Published
Author
Ben Greenberg, Guest developer advocate
Word Count
1,344
Language
English
Hacker News Points
-
Summary

Elixir, a programming language introduced in 2011, has gained significant popularity, especially with its Phoenix web framework being used in applications like Discord and the Financial Times. Despite its performance advantages, developers need to monitor their Elixir applications for potential issues, which can be efficiently managed using tools like New Relic One and CodeStream. This tutorial explains how to enhance developer productivity by using CodeStream within New Relic One to identify and address performance anomalies in Phoenix applications. It guides users through creating a web application, deliberately introducing a bug, and using CodeStream to trace the issue directly in the integrated development environment (IDE). The tutorial requires familiarity with Elixir, Phoenix, terminal commands, GitHub, and a New Relic One account, offering step-by-step instructions to set up a Phoenix application with TailwindCSS, deploy it to a cloud service like Heroku, and integrate New Relic One for monitoring. Through this process, developers learn to utilize New Relic's observability features to diagnose and resolve errors, highlighting the seamless integration of CodeStream for efficient debugging.