Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to remove internal.span.format="jaeger" #1830

Closed
zheyiyi opened this issue Oct 4, 2019 · 18 comments
Closed

how to remove internal.span.format="jaeger" #1830

zheyiyi opened this issue Oct 4, 2019 · 18 comments
Labels
fixed-in-v2 good first issue Good for beginners help wanted Features that maintainers are willing to accept but do not have cycles to implement

Comments

@zheyiyi
Copy link

zheyiyi commented Oct 4, 2019

In the jaeger Ui, the tag include internal.span.format ="jaeger", is it possible to remove it? Where is the place it is added

@vprithvi
Copy link
Contributor

vprithvi commented Oct 4, 2019

What issue is this tag causing for you?

@zheyiyi
Copy link
Author

zheyiyi commented Oct 4, 2019 via email

@jpkrohling
Copy link
Contributor

Would it be sufficient to suppress the UI from displaying it, or are you looking to avoid even adding this tag to the span being reported?

@jpkrohling
Copy link
Contributor

jpkrohling commented Oct 7, 2019

By the way, I'm quite sure this is added in the backend, so, it shouldn't be costing any network activity.

@pavolloffay
Copy link
Member

It is added in Jaeger collector https://github.com/pavolloffay/jaeger/blob/343fcc6ddd3bdb94dec864bddc2ff8794d6666a8/cmd/collector/app/span_processor.go#L160.

If there is no valid use case to hide it or remove it we will probably close this ticket. Other Jaeger components can rely on this tag while doing another processing. It was added as #1490.

@smanolloff
Copy link

I agree with @zheyiyi -- having this appear among other (user-defined) tags is actually undesirable. Internal tags have no place in the UI, unless specifically enabled for debugging purposes.

@yurishkuro
Copy link
Member

We can either have configuration for the UI to hide some tags, or have an option in the collector to not add these tags if people don't want them.

@yurishkuro yurishkuro added good first issue Good for beginners help wanted Features that maintainers are willing to accept but do not have cycles to implement and removed question labels May 7, 2020
@smanolloff
Copy link

smanolloff commented May 8, 2020

Hiding tags in the UI is fine by me (eg. with regex).

@apm-opentt
Copy link
Contributor

The internal.span.format ="jaeger" tag actually helps me in debugging. Our Jaeger collector receives Jaeger spans and Zipkin spans. With the internal.span.format I can see at a glance in Jaeger UI whether the span came from Jaeger or Zipkin. It is very useful. Please keep it.

@yurishkuro
Copy link
Member

@apm-opentt same here, that's why we added it.

@pavolloffay
Copy link
Member

Note that this tag is not being added in Jager OTEL components. It's only added in collector's processors which are not being used in OTEL.

I find the tag useful to understand the instrumentation layer. Perhaps we could add this to OTEL spec and then use OTEL attribute processor to remove the label https://github.com/open-telemetry/opentelemetry-collector/tree/master/processor#attributes. However, the processor does not work on resource/process objects. Perhaps we could extend it to support this feature.

@ndrwrbgs
Copy link

I'd like to be able to configure the visibility of the tag in the UI. While it's useful for me, like previous commenters on this thread, as the tracing implementor, I think it's distracting from the content for my consumers (developer peers).

@cptkng23
Copy link

Is there any update on how to remove this tag. Be it UI or collector?

@kgunnerud
Copy link

Would be nice if it could be configured for example by using the --query.ui-config file. For us, it would be nice to hide a few selected tags that as of now give us little to no benefits

@yurishkuro
Copy link
Member

--query.ui-config is one option but it means the data would still be returned to the UI and just not displayed. Another alternative is a cli flag to the query service to suppress returning certain tags in the JSON response (may be easier to implement).

@pmuls99
Copy link
Contributor

pmuls99 commented Aug 7, 2023

--query.ui-config is one option but it means the data would still be returned to the UI and just not displayed. Another alternative is a cli flag to the query service to suppress returning certain tags in the JSON response (may be easier to implement).

This way of implementing it feels right! As the problem is still prominent, can I go ahead with the implementation @yurishkuro.

@yurishkuro
Copy link
Member

@pmuls99 my preference is to use UI config to filter out some tags from being displayed.

@yurishkuro
Copy link
Member

Closing since nobody feels strongly enough to provide a fix and this won't be present in jaeger-v2 anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed-in-v2 good first issue Good for beginners help wanted Features that maintainers are willing to accept but do not have cycles to implement
Projects
None yet
Development

No branches or pull requests