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.
First, install the New Relic CodeStream extension into your supported IDE of choice and log in.
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.
The Java agent reports and attaches the following attributes to spans produced by your application:
The name of the instrumented function (Java method).
The namespace (fully qualified class name) in which
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.