How to add an instance that was deleted earlier (For .NET and .NET Core agents)
Steps for .NET agent
- Navigate to the path: %ProgramData%\DotNetAgent\
- Delete the apminsight.net.info file from the folder with the same name as the application.
Note: The name of the monitor folder created for the selected application will be same as that application's name. - Restart the APM Insight .NET Agent service.
Note: It will recycle the application pools. - Perform some transactions manually.
Steps for .NET Core agent
You can follow any of the below methods.
Adding agent via PowerShell
- Navigate to the path: [AgentDestinationPath]\Site24x7DotNetCoreAgent\
- Delete the apminsight.net.info file found in the folder with the same name as the application.
Note: The name of the monitor folder created for the selected application will be same as that application's name. - Restart the .NET Core applications.
- Perform some transactions manually.
Adding agent via NuGet package
- Navigate to the application's publish directory.
- Navigate to the DotNetAgent\[Application Name] folder.
- Delete the apminsight.net.info file.
- Restart the .NET Core application.
- Perform some transactions manually.
Adding agent via Azure App service extension (For .NET and .NET Core)
- Navigate to http://[yoursitename].scm.azurewebsites.net in your web browser.
- Go to Debug Console > CMD to open the file explorer.
- Navigate to the following path: Site24x7DotNetAgent\DotNetAgent_[servername]\[yourAppName]
Note: If the path is not available, upgrade the APM Insight extension to the latest version. - Delete the apminsight.net.info file.
- Restart the Azure App Service and start performing some transactions manually.
Related Articles
How to add a PHP instance that was deleted earlier
For agent versions 4.0 and above For every instance, there will be a corresponding configuration file present inside the conf folder of the S247DataExporter installation path. Delete the appropriate configuration file and restart the S247DataExporter ...
DC migration steps for APM Insight .NET and .NET Core agents
.NET agent Obtain the new device key. Log in to the server and update the license.key value in the apminsight.conf file located at %ProgramData%\DotnetAgent\<appname>. Delete the existing instance information file, apminsight.net.info, located at ...
Bundled .NET and .NET Core agents in a single MSI
In APM Insight .NET agent version 6.8.0, the .NET and .NET Core agents have been bundled into a single MSI, enabling unified monitoring of both application types. Upgrade requirements for .NET Core agent 6.7 and below If you're using .NET Core agent ...
How to enable or disable application filters in the .NET Core agent?
The APM Insight .NET Core agent is designed to monitor IIS-hosted applications based on the list entered in the appfilter.config file in the agent's installation location. Irrespective of the filter, we can monitor all .NET Core applications hosted ...
Understanding log upload add-ons for large, medium, and small storage needs
For customers who purchase logs after August 2024, the default log search retention is set to seven days. In this doc, we will cover: For 10GB log upload requirement For 1TB log upload requirement For 500GB log upload requirement For 100GB log upload ...