[jboss-jira] [JBoss JIRA] (WFLY-10847) Multiple service modules in single EAR use same tracer instance

Gary Brown (JIRA) issues at jboss.org
Fri Aug 17 05:16:00 EDT 2018


    [ https://issues.jboss.org/browse/WFLY-10847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620474#comment-13620474 ] 

Gary Brown commented on WFLY-10847:
-----------------------------------

[~juraci.costa] Based on the examples above, if we go for one tracer per EAR then all tracing is reported against the same "service" - which might be ok, but doesn't necessarily provide the clarity about what activity occurred in the individual components.

If however we take the other route, and a tracer per component in the EAR, then I assume this would also mean that each EJB Jar would also have its own tracer? Not necessarily a bad thing if being used by multiple WAR files in the same EAR, but may be over the top of the EAR contains many individual EJB Jars.

Two questions:
1) Is it possible to provide a configuration option that would enable switching between either mode - so it becomes a user decision?
2) If a tracer is created per component in the EAR, can the "service name" be composed of the EAR and deployment name?


> Multiple service modules in single EAR use same tracer instance
> ---------------------------------------------------------------
>
>                 Key: WFLY-10847
>                 URL: https://issues.jboss.org/browse/WFLY-10847
>             Project: WildFly
>          Issue Type: Bug
>          Components: MP OpenTracing
>            Reporter: Michal Jurc
>            Assignee: Juraci Paixão Kröhling
>            Priority: Blocker
>             Fix For: 14.0.0.CR1
>
>
> When deploying an EAR with two stand-alone JAX-RS services in stand-alone WAR modules, both of the services use the same {{Tracer}} instance.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list