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
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.
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.