• Log inStart now

New Relic CodeStream integration

Display context-sensitive APM data directly in your IDE by integrating New Relic CodeStream with the Java agent. Visualize code-level production telemetry in your editor as your write and review code with this integration.

Getting started

First, install the New Relic CodeStream extension into your supported IDE of choice and log in.

Important

The New Relic CodeStream integration is available in the Java agent since version 7.10.0. It is enabled by default on agent version 7.11.0 and higher. See Java agent configuration: Config file for instructions on how to enabled or disable it.

Agent attributes

The Java agent reports and attaches the following attributes to spans produced by your application:

Name

Description

Example

code.function

The name of the instrumented function (Java method).

retrieveData

code.namespace

The namespace (fully qualified class name) in which code.function is defined

com.example.MyService

Important

Spans created using the API method NewRelic.getAgent().getTransaction().startSegment() will not contain these attributes. To create a span that contain these attributes annotate a method with @Trace or use XML instrumentation.

Copyright © 2022 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.