Arthur Molinari
Arthur Molinari
I've tried removing the `if` statement before to see if thats the problem, and the code looked like this: ```java public class CustomTraceInterceptor implements TraceInterceptor { @Override public Collection
> Hi [@ArtuoS](https://github.com/ArtuoS), `TraceInterceptor#priority()` needs to return a value that is not used by other interceptors. Can you try setting your priority to something like 100? You can find the...
> [@ArtuoS](https://github.com/ArtuoS) Did you solved the issue? > > I want to do something similar. Not yet, issue persists.
> I´ve got a working solution but now for some reason the metrics are no longer sent to datadog Can you share your working solution? I'll be really thankful.
> [@ArtuoS](https://github.com/ArtuoS) Sorry for the late response. I did as shown here: > > https://docs.datadoghq.com/tracing/trace_collection/custom_instrumentation/java/dd-api/#extending-tracers Thank you, I'll give it a try.