New Relic in Your IDE: Production Insights Where You Write Code
Developers usually see production data only during incidents. Bringing observability into the IDE means you see performance and errors while writing code — when fixing is cheapest.
CodeStream Integration
New Relic's IDE integration (CodeStream) for VS Code and JetBrains IDEs shows:
- Code-level metrics — throughput, error rate, and average duration above methods and functions
- Errors linked to the exact line in your code, with stack traces
- Service health for the repo you're working in
- Pull request collaboration features
Workflow
- You open
orderService.js - Above
calculateTotal(), you see: 2,400 calls/min, avg 340 ms, 1.2% errors - You notice the duration is high and refactor
- After deployment, the metric updates
Debugging Errors
From Errors Inbox, open the error in your IDE. The stack trace maps to the right file and line in the right commit.
Setup
- Install the extension
- Sign in to New Relic
- Associate your repository with the service (via repository URL)
- Upload source maps or symbols for compiled languages
Why It Matters
Observability shifts left: performance and reliability become part of everyday development, not something you discover at 2 AM.
The best time to notice a slow function is while you're editing it.