Kibana version:
7.10
Elasticsearch version:
7.10
APM Server version:
7.10
APM Agent language and version:
.Net 1.7.0
Browser version:
Original install method (e.g. download page, yum, deb, from source, etc.) and version:
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
In a .Net Core 3 Console Application using IHostBuilder I added the call to UseAllElasticApm. This configures the all the necessary DI components and I can use ITracer to create transactions and spans. However no database calls, SqlProvider spans are collected.
If I add the following code after UseAllElasticApm then the information is collected, am I missing anything in the original setup. I would think you would just need the original UseAllElasticApm.
public static void SetupElasticApm(this IServiceProvider sp)
{
if (!Agent.IsConfigured)
{
Agent.Setup(sp.GetRequiredService<AgentComponents>());
Agent.Subscribe(new EfCoreDiagnosticsSubscriber(),
new SqlClientDiagnosticSubscriber());
}
}
Steps to reproduce:
I can create a repro if needed, but thought I would post just in case I am missing something obvious. Thanks for all your great work on the APM!
Here is a sample repo - https://github.com/rabberbock/SampleApm