• EnglishEspañol日本語한국어Português
  • Log inStart now

Code-level metrics

Code-level metrics allow developers using the New Relic CodeStream extension to see APM data displayed contextually in their IDE, alongside individual methods in the code. This allows developers to be more proactive about addressing performance issues as they write and review code.

Get started

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

Important

With the release of .NET agent version 10.2.0, code-level metrics enabled by default.

Code-level metrics are available in .NET agent version 9.9.0 and higher and are disabled by default. To change this configuration, check out our documentation.

Agent attributes

The .NET agent reports and attaches the following attributes to spans produced by your application.

Important

In some cases, the agent will directly wrap base framework code (data stores, external calls, etc.) that is invoked within your application and will not display within your IDE.

Name

Description

Example

code.function

The name of the instrumented function.

Index

code.namespace

The namespace (full name of the class type) in which code.function is defined.

MyService.Controllers.HomeController

Copyright © 2024 New Relic Inc.

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