Kibana version: 7.3
Elasticsearch version: 7.3
APM Server version: 7.2
APM Agent language and version: Using for .NET project.
My project is in .Net Framework 4.6.1. I can capture transactions now in my project. Now I want to add distributed tracing and log all SQL queries executed in calls. I have used below code for distributed tracing:
var tracingData = Elastic.Apm.Agent.Tracer.CurrentTransaction?.OutgoingDistributedTracingData.SerializeToString();
Elastic.Apm.Agent.Tracer.CaptureTransaction(transactionName, Elastic.Apm.Api.ApiConstants.TypeRequest, transaction =>
However I do not get any SQL queries or detailed traces of my call. My project structure is:
- API Layer
- Service/Application layer
- Repository Layer(Which has linq queries or calls to Stored Procedure)
I have added above code to start and capture transaction and distributed tracing in API layer. So now what more changes I have to make to get all SQL queries executed and distributed tracing.
Below is what I get currently-