You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "ev1lQuark (via GitHub)" <gi...@apache.org> on 2023/11/15 14:19:39 UTC

[I] [Triple] Add XXX filter automatically when XXX is enabled [dubbo-go]

ev1lQuark opened a new issue, #2505:
URL: https://github.com/apache/dubbo-go/issues/2505

   ## Problem description
   In the process of configuring and starting otel.tracing, set it according to the following configuration:
   ```golang
           ins, err := dubbo.NewInstance(
   		dubbo.WithName("dubbo_sample_tracing"),
   		dubbo.WithProtocol(
   			protocol.WithTriple(),
   			protocol.WithPort(20000),
   		),
   		dubbo.WithRegistry(
   			registry.WithZookeeper(),
   			registry.WithAddress("127.0.0.1:2181"),
   		),
   		dubbo.WithTracing(
   			trace.WithEnabled(),
   			trace.WithStdoutExporter(),
   			trace.WithW3cPropagator(),
   			trace.WithRatioMode(),
   			trace.WithRatio(0.5),
   		),
   	)
   ```
   
   But the otel tracing filter is not append to service.filter slice. So as the trace.WithEnabled() is correctly set by user, the otel.Tracing module is not working as expected.
   
   ## Todo
   
   During the startup process, if a module is enabled, the corresponding filter will be automatically added, allowing users to configure module enable logic easily.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Triple] Add XXX filter automatically when XXX is enabled [dubbo-go]

Posted by "FoghostCn (via GitHub)" <gi...@apache.org>.
FoghostCn closed issue #2505: [Triple] Add XXX filter automatically when XXX is enabled
URL: https://github.com/apache/dubbo-go/issues/2505


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Triple] Add XXX filter automatically when XXX is enabled [dubbo-go]

Posted by "chickenlj (via GitHub)" <gi...@apache.org>.
chickenlj commented on issue #2505:
URL: https://github.com/apache/dubbo-go/issues/2505#issuecomment-1818728415

   https://github.com/apache/dubbo-go/pull/2502/files#diff-b8e2faeaf9d21ca32900a5616241d1e40d00e9701e0fae6c7c8181475aba2e8dR358


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Triple] Add XXX filter automatically when XXX is enabled [dubbo-go]

Posted by "chickenlj (via GitHub)" <gi...@apache.org>.
chickenlj commented on issue #2505:
URL: https://github.com/apache/dubbo-go/issues/2505#issuecomment-1818729309

   https://github.com/apache/dubbo-go/pull/2502/files#diff-4b2d153eca0e1d0add2be01cf328e62cd52a019e95c3901edf55bfcbfdf1ce53R361


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org