New Relic guzzles down CodeStream to help devs jump straight from app error telemetry to offending code

'I can debug production from the IDE,' said CS boss Peter Pezaris


Observability company New Relic has acquired CodeStream, specialists in developer collaboration, with the aim being to connect observability data with code in the development environment.

CodeStream, founded in 2017 by Peter Pezaris, adds instant developer communication to coding environments. For example, a developer puzzling over some code written by a colleague can click next to that code, type a message to the other dev, and they will receive it either in the IDE if they happen to be working on the same project, or in a messaging tool such as Slack, complete with a reference to the code in question. They reply, and a discussion begins.

Although it may seem a small thing, given that they could just use Slack (or any number of other messaging services) directly, the context and convenience makes it a worthwhile collaboration tool. CodeStream also integrates with pull requests from GitHub, GitLab, BitBucket, and issue management from Jira, Trello and others.

Although what CodeStream does sounds related to tools such as Visual Studio Live Share or JetBrains Code With Me, which support pair programming, the company considers them complementary. Live Share is for real time collaboration whereas CodeStream is asynchronous, Pezaris told us. "We use them for different things."

New Relic quietly acquired CodeStream "a little more than three months ago," Pezaris told the Register, and the team has been working on a new IDE integration that does something more unusual, connecting telemetry received from production applications with the relevant code, the integrations currently being for Visual Studio Code, Visual Studio, and the JetBrains family.

Adding app monitoring for a Node.js application

Adding app monitoring for a Node.js application ... Click for full image

The best way to explain this is to describe a workflow. In the IDE, the developer can add app monitoring, which instruments the application to produce telemetry. The running application now sends data to New Relic where it can be viewed using online tools.

If an error occurs, it is reported with a stack trace in the New Relic Errors Inbox, where a button now offers "Open in IDE." This uses a protocol handler to open the IDE, for example Visual Studio Code, with the project loaded and the faulty code on view.

Open in IDE uses a protocol handler to jump to the same code in the IDE

'Open in IDE' can be used to jump from an application error in production to the responsible code in a development environment

"Prior to this launch, if I was looking at a stack trace, the best tool at my disposal is this copy to clipboard link," said Pezaris, "then manually find what lines of the code I have to navigate to. Now CodeStream makes that super simple."

I can debug production directly from my IDE

Pezaris showed us another demo involving Pixie: this concerns telemetry that is not collected via application instrumentation. Instead, eBPF (extended Berkeley Packet Filter) programs running at the kernel level are used to gather data on how a chosen bit of software is being used. In the demo, the developer opens some code and then, said Pezaris, "I can click on that function and add dynamic logging, so without having to deploy anything to production, CodeStream will tell me where this is running in production and I can capture invocations to this function for the next two minutes.

"Now it's using Pixie to install a probe in production and set up a schema. Sometimes this takes a few seconds. Once that's installed, every time this function is called, we'll see data here. I can debug production directly from my IDE."

Running application on the right, dynamic logging on the left, thanks to Pixie

Running application on the right, dynamic logging on the left, thanks to Pixie

A developer dream come true, or a security worry, with every developer able to inject stuff into running production boxes? "There's no additional security implications, it's up to the organization to manage," he said.

"All of this is governed by the API keys that are managed by the organization, so you can grant access or not grant access as your organisation sees fit. More security conscious organizations will lock it down through how they distribute keys to their employees."

Despite this confidence, our question touched a nerve, with Buddy Brewer, GVP and Field CTO Americas at New Relic, hastening to explain that "we have a security team to ensure that we're compliant" with necessary standards.

These tools are in preview and free to use until January 12, 2022. After that, "some advanced features will require a paid user license once free tier limits are reached," goes the press statement.

What programming languages are supported? The initial languages are Java, JavaScript, and .NET but "we plan to roll our additional language support and frameworks in the coming months," said Pezaris. Another change in the pipeline is to add IDE integration similar to that for errors, but with the New Relic performance analysis tools such as Flame Graphs. ®


Other stories you might like

  • Prisons transcribe private phone calls with inmates using speech-to-text AI

    Plus: A drug designed by machine learning algorithms to treat liver disease reaches human clinical trials and more

    In brief Prisons around the US are installing AI speech-to-text models to automatically transcribe conversations with inmates during their phone calls.

    A series of contracts and emails from eight different states revealed how Verus, an AI application developed by LEO Technologies and based on a speech-to-text system offered by Amazon, was used to eavesdrop on prisoners’ phone calls.

    In a sales pitch, LEO’s CEO James Sexton told officials working for a jail in Cook County, Illinois, that one of its customers in Calhoun County, Alabama, uses the software to protect prisons from getting sued, according to an investigation by the Thomson Reuters Foundation.

    Continue reading
  • Battlefield 2042: Please don't be the death knell of the franchise, please don't be the death knell of the franchise

    Another terrible launch, but DICE is already working on improvements

    The RPG Greetings, traveller, and welcome back to The Register Plays Games, our monthly gaming column. Since the last edition on New World, we hit level cap and the "endgame". Around this time, item duping exploits became rife and every attempt Amazon Games made to fix it just broke something else. The post-level 60 "watermark" system for gear drops is also infuriating and tedious, but not something we were able to address in the column. So bear these things in mind if you were ever tempted. On that note, it's time to look at another newly released shit show – Battlefield 2042.

    I wanted to love Battlefield 2042, I really did. After the bum note of the first-person shooter (FPS) franchise's return to Second World War theatres with Battlefield V (2018), I stupidly assumed the next entry from EA-owned Swedish developer DICE would be a return to form. I was wrong.

    The multiplayer military FPS market is dominated by two forces: Activision's Call of Duty (COD) series and EA's Battlefield. Fans of each franchise are loyal to the point of zealotry with little crossover between player bases. Here's where I stand: COD jumped the shark with Modern Warfare 2 in 2009. It's flip-flopped from WW2 to present-day combat and back again, tried sci-fi, and even the Battle Royale trend with the free-to-play Call of Duty: Warzone (2020), which has been thoroughly ruined by hackers and developer inaction.

    Continue reading
  • American diplomats' iPhones reportedly compromised by NSO Group intrusion software

    Reuters claims nine State Department employees outside the US had their devices hacked

    The Apple iPhones of at least nine US State Department officials were compromised by an unidentified entity using NSO Group's Pegasus spyware, according to a report published Friday by Reuters.

    NSO Group in an email to The Register said it has blocked an unnamed customers' access to its system upon receiving an inquiry about the incident but has yet to confirm whether its software was involved.

    "Once the inquiry was received, and before any investigation under our compliance policy, we have decided to immediately terminate relevant customers’ access to the system, due to the severity of the allegations," an NSO spokesperson told The Register in an email. "To this point, we haven’t received any information nor the phone numbers, nor any indication that NSO’s tools were used in this case."

    Continue reading

Biting the hand that feeds IT © 1998–2021