To monitor Self Contained .NET Core applications using .NET Core Agent Loader API

To monitor Self Contained .NET Core applications using .NET Core Agent Loader API

By default, when you install an APM Insight .NET Core agent, the agent will be loaded along with the .NET dependencies configurations. But in the case of self-contained applications, this is not possible. In these cases, you can install the .NET Core agent, and load it using the agent loader API. To do so, add the loader agent API snippet in the startup file of the .NET Core application.
Note : The .NET Core agent should be installed to make it work, since it is like a helper API to load the agent.

Steps : 
  1. Add the NuGet package into your .NET Core web application/API project.
  2. Modify the ConfigureServices method in your Startup.cs file. Insert the following line of code before the AddMvc() method: 
    1. ManageEngine.Middleware.LoadAgent();
  3. Insert the snippet inside the ConfigureServices method.
  4. Publish and deploy the application.
  5. Install the agent as per these instructions.


      New to ADSelfService Plus?

        Resources

            • Related Articles

            • Self monitor Applications Manager using APM Insight Java Agent

              Applications Manager is built with Java, hence we can monitor it using APM Insight Java Agent to measure it's performance continuously, which can be very much useful. Setting up APM Insight Java Agent Follow the below steps to download and set up the ...
            • Self monitor Applications Manager using Real User Monitoring

              We can monitor the Applications Manager using Real User Monitoring with a Java Script injection and this can be used to measure the Applications Manager's performance continuously. All you need is to install and setup the Real User Monitoring (RUM) ...
            • While trying to monitor servers, I get a "No data Available" error for CPU Core Utilization.

              The data for CPU Core utilization may not be shown due to problem in executing and getting the output of  CPU command on the server. For different modes of monitoring (WMI/Telnet/SSH/SNMP) we use different methods to collect data. Find the steps ...
            • REST API Monitor - FAQS

              1. What should I do when Basic Authentication fails in REST API monitor? Verify if the credentials provided in the Applications Manager are correct. Try if sending username and password in Authorization request header works Get an BASE-64 encoded ...
            • Troubleshooting URL Monitor

              Here are few of the common errors you may come across in URL monitor, we have mentioned the steps you can follow to troubleshoot them.   General troubleshooting for URL monitor Ensure that the URL is accessible from the server in which Applications ...