Closed orafaaraujo closed 1 year ago
Hello @orafaaraujo!
Can you please tell us which dashboard are you checking? Is it RUM or Traces (APM)?
Please also share the SDK version used.
Hey @0xnm
It's on the RUM dashboard.
I'm using the SDK version 1.19.3, plugin version 1.10.0.
TracedRequestListener
works with spans, which are used for distributed tracing (APM) in case of OkHttp instrumentation.
For your use-case, since it is RUM, you may use setRumErrorEventMapper and return null
in the implementation for the events which you want to drop based on your criteria.
Hey @0xnm
Now it's working like a charm. Thank you for your help on that. Have a nice weekend!
Hi,
I'm trying to drop some errors, but they continue to appear in the Dashboards.
I'm using a custom
TracedRequestListener
onDatadogInterceptor
andTracingInterceptor
.I aim to remove all
java.io.IOException: Canceled
generated from Coroutines when the user leaves the screen in a middle of a request. Those exceptions are expected, so we do not want to send them to Datadog.Am I missing something? What's the correct approach in this situation?
Thank you
Additional context