0

I am using elastic cloud. My Apm server is running on elastic cloud. But still in Kibana i can see the message "Looks like you don't have any APM services installed. Let's add some!".

My Elastic, Kibana and APM version is 7.8.1

I am trying to use APM in Kibana, and then i will add APM Agents into my Asp.net MVC application.

enter image description here

enter image description here

gregkalapos
  • 3,529
  • 2
  • 19
  • 35
Janmejay Kumar
  • 309
  • 2
  • 7

1 Answers1

3

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

  1. Reference Elastic.Apm.AspNetFullFramework nuget package in the application
  2. 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>
  1. 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.

Russ Cam
  • 124,184
  • 33
  • 204
  • 266
  • I was seeing that page because i was not configured .NET APM agent in my project. After configuring .NET APM agent its working thanks – Janmejay Kumar Mar 01 '21 at 06:52