You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "OnceCrazyer (via GitHub)" <gi...@apache.org> on 2023/05/18 10:28:29 UTC

[GitHub] [dubbo] OnceCrazyer opened a new issue, #12345: dubbo-spring-boot-tracing-otel-zipkin-starter 配置未生效

OnceCrazyer opened a new issue, #12345:
URL: https://github.com/apache/dubbo/issues/12345

   项目:
     spring boot 3.0.5  + jdk 17 + dubbo 3.2.1 ,日志:spring-boot-starter-log4j2
   按照官网进行配置,日志中打印traceId,spanId都为空
   控制台输出如下:
   [2023-05-18 18:20:34:125] [INFO] - org.apache.dubbo.common.logger.log4j2.Log4j2Logger.info(Log4j2Logger.java:61) - [,](此处应为traceId 与 spanId) -
   
   
   


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


[GitHub] [dubbo] OnceCrazyer commented on issue #12345: dubbo-spring-boot-tracing-otel-zipkin-starter 配置未生效

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

   > 你们日志MDC怎么配置的
   > 
   > ```
   > logging:
   >   level:
   >     root: info
   >   pattern:
   >     console: '[%d{dd/MM/yy HH:mm:ss:SSS z}] %t %5p %c{2} [%X{traceId:-}, %X{spanId:-}]: %m%n'
   > ```
   
   dubbo.tracing.enabled=true
   logging.level.root=info
   
   logging.pattern.console='[%d{yyyy-MM-dd HH:mm:ss:SSS}] [%p] - %l - [%X{traceId:-},%X{spanId:-}]- %m%n'
   


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


[GitHub] [dubbo] conghuhu commented on issue #12345: dubbo-spring-boot-tracing-otel-zipkin-starter 配置未生效

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

   <img width="1979" alt="截屏2023-05-18 18 47 35" src="https://github.com/apache/dubbo/assets/56248584/17137fb7-b654-4b8d-a7bd-5c027b10631b">
   我按照你的配置时了下,provider是没问题的。
   
   案例地址:[https://github.com/apache/dubbo-samples/tree/master/4-governance/dubbo-samples-spring-boot-tracing](https://github.com/apache/dubbo-samples/tree/master/4-governance/dubbo-samples-spring-boot-tracing)


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


[GitHub] [dubbo] songxiaosheng commented on issue #12345: dubbo-spring-boot-tracing-otel-zipkin-starter 配置未生效

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

   你们日志MDC怎么配置的
   ```
   logging:
     level:
       root: info
     pattern:
       console: '[%d{dd/MM/yy HH:mm:ss:SSS z}] %t %5p %c{2} [%X{traceId:-}, %X{spanId:-}]: %m%n'
   
   ```


-- 
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] dubbo-spring-boot-tracing-otel-zipkin-starter 配置未生效 [dubbo]

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ closed issue #12345: dubbo-spring-boot-tracing-otel-zipkin-starter 配置未生效
URL: https://github.com/apache/dubbo/issues/12345


-- 
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] dubbo-spring-boot-tracing-otel-zipkin-starter 配置未生效 [dubbo]

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

   No news is good news. Please feel free to create a new issue if you have any question.


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