You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my analysis what I've found out is inside RewritableTracer.buildSpan method it is not able to get the rule for mongo plugin as for Mongo spans are generated using CommandListener i.e TracingCommandListener.java
So Mongo Rule is not executed on every command of Mongo and currentPluginName is not set properly in AgentRule.getCurrentPluginName(); so It can't fine rule to rewrite traces.
The text was updated successfully, but these errors were encountered:
Hi ,
I'm trying this below rewriter json for mongo driver to add service tag to my spans, But it is not working .
In my analysis what I've found out is inside RewritableTracer.buildSpan method it is not able to get the rule for mongo plugin as for Mongo spans are generated using CommandListener i.e TracingCommandListener.java
So Mongo Rule is not executed on every command of Mongo and currentPluginName is not set properly in AgentRule.getCurrentPluginName(); so It can't fine rule to rewrite traces.
The text was updated successfully, but these errors were encountered: