It's not clear in the question whether a .NET APM agent integration has been configured yet in an application that you wish to trace.
Assuming ASP.NET MVC is ASP.NET Full Framework integration
- Reference
Elastic.Apm.AspNetFullFramework
nuget package in the application
- Add
ElasticApmModule
to modules in web.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<modules>
<add name="ElasticApmModule" type="Elastic.Apm.AspNetFullFramework.ElasticApmModule, Elastic.Apm.AspNetFullFramework" preCondition="managedHandler" />
</modules>
</system.webServer>
</configuration>
- Configure agent settings in web.config app settings
<?xml version="1.0" encoding="utf-8"?>
<!-- ... -->
<configuration>
<!-- ... -->
<appSettings>
<!-- ... -->
<add key="ElasticApm:ServerUrl" value="<APM server in Elastic Cloud URL and port>" />
<add key="ElasticApm:SecretToken" value="<APM server secret token>" />
<!-- plus any other configuration -->
</appSettings>
<!-- ... -->
</configuration>
Once this is done, you should start to see APM data for the application in the APM section of Kibana.