• English日本語한국어
  • Log inStart now

Install .NET agent on Azure Service Fabric

This document explains how to install the .NET agent for Azure Service Fabric. Note: this is not the same as installing the Infrastructure integrations for Microsoft Azure.

Install .NET agent on Azure Service Fabric

Important

In most cases, installing the .NET agent in an Azure Service Fabric environment can be performed using the standard install procedures for either Windows or Linux. This document highlights some alternate ways you can install the agent.

You will need to ensure the agent gets installed on all nodes in your cluster. To monitor multiple nodes, you may want to integrate the install into your deployment process.

If you're using containers in your Service Fabric environment, see the install instructions for Docker.

You can also install the agent in a Service Fabric environment using NuGet. NuGet is often a good option for developers because the agent gets deployed along with your application. Though, using NuGet requires some manual installation procedures. See Install with NuGet.

Install using NuGet

To install the .NET agent using NuGet:

  1. Follow the standard NuGet install procedures.

  2. When using NuGet, you must set some environment variables. This can be done in your application's ServiceManifest.xml file. See the relevant instructions below:

  3. For the .NET Framework only: Edit your app.config file and add the NewRelic.AgentEnabled app setting:

    <appSettings>
    ...
    <add key="NewRelic.AgentEnabled" value="true" />
    ...
    </appSettings>

If your application is generating traffic, data should appear in your APM account in several minutes.

Did this doc help with your installation?

If data does not appear, try these troubleshooting steps:

  • Make sure that all files in the newrelic directory at the root of your app was published to Azure.
  • Make sure the environment variables are set correctly.
  • See the general troubleshooting documentation to check for common errors.
Copyright © 2024 New Relic Inc.

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