Apm-agent-dotnet: Agent cannot find start event for end event for HTTP calls made by Elasticsearch .NET client

Created on 20 Sep 2019  路  8Comments  路  Source: elastic/apm-agent-dotnet

bug from discuss.elastic.co from a real user

Most helpful comment

Hi @JoseIgnacioD I am seeing the same problem, and I had to add the "Elastic.Apm": "Error" to the Serilog logging level section. That worked for me. No longer getting the span warnings logged.

"Serilog": {
      "MinimumLevel": {
        "Default": "Information",
        "Override": {
          "Microsoft": "Information",
          "System": "Information",
          "Elastic.Apm": "Error"

All 8 comments

I have the same warning: "Failed capturing request (failed to remove from ProcessingRequests) - This Span will be skipped in case it wasn't captured before". Is there any way to silence this warning? Change the log level of the APM .NET Agent doesn't worked.

Hi @JoseIgnacioD I am seeing the same problem, and I had to add the "Elastic.Apm": "Error" to the Serilog logging level section. That worked for me. No longer getting the span warnings logged.

"Serilog": {
      "MinimumLevel": {
        "Default": "Information",
        "Override": {
          "Microsoft": "Information",
          "System": "Information",
          "Elastic.Apm": "Error"

I'm also experiencing this issue

  • netcoreapp2.1
  • Serilog.Sinks.Elasticsearch 8.0.0
  • Elastic.Apm.NetCoreAll 1.2.0

Thanks for the workaround @Larswa

Anyone found the root cause? 馃

I'm also experiencing this.

When Serilog.Sinks.Elasticsearc is used, the Span is no longer captured?

I am also experiencing this issue.

I tried to reproduce this on master - no success so far.

I strongly think this was fixed in https://github.com/elastic/apm-agent-dotnet/issues/734 which was released in version 1.3.1.

Can someone please confirm that this issue still exists or if it was fixed? 1.4 is the latest, that should be also have the fix.

Versions older than 1.3.1 should be affected, since 1.3.1 this should be fixed.

Since I received no response and I assume this is fixed - I'm closing this now. Please reopen if this still happens in versions 1.3.1 or newer.

Was this page helpful?
0 / 5 - 0 ratings