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

Remove external usages of ClassNames (and move it to internal) #6584

Merged
merged 11 commits into from
Sep 13, 2022
Merged

Remove external usages of ClassNames (and move it to internal) #6584

merged 11 commits into from
Sep 13, 2022

Conversation

trask
Copy link
Member

@trask trask commented Sep 11, 2022

Also resolves #6583

@trask trask changed the title Move ClassNames to internal Remove external usages of ClassNames (and move it to internal) Sep 11, 2022
@trask trask marked this pull request as ready for review September 11, 2022 21:27
@trask trask requested a review from a team September 11, 2022 21:27
Copy link
Contributor

@laurit laurit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lambdas aren't the only ones with the same issue, see #3813 Maybe we should truncate after $$ as it is commonly used in generated class names? Though probably should not do this for $$anon$ which is used in some scala classes. JDK proxies don't use $$ and would need to be handled separately.

@trask
Copy link
Member Author

trask commented Sep 12, 2022

Lambdas aren't the only ones with the same issue, see #3813 Maybe we should truncate after $$ as it is commonly used in generated class names? Though probably should not do this for $$anon$ which is used in some scala classes. JDK proxies don't use $$ and would need to be handled separately.

opened #6595 to track this

@trask trask merged commit d5c6453 into open-telemetry:main Sep 13, 2022
@trask trask deleted the simple-name branch September 13, 2022 20:58
LironKS pushed a commit to helios/opentelemetry-java-instrumentation that referenced this pull request Oct 23, 2022
…telemetry#6584)

* Reduce dependency on simpleName

* Move ClassNames to internal

* Javadoc

* Updates

* Fix

* Spotless

* Rename

* Add test
LironKS pushed a commit to helios/opentelemetry-java-instrumentation that referenced this pull request Oct 31, 2022
…telemetry#6584)

* Reduce dependency on simpleName

* Move ClassNames to internal

* Javadoc

* Updates

* Fix

* Spotless

* Rename

* Add test
LironKS pushed a commit to helios/opentelemetry-java-instrumentation that referenced this pull request Dec 4, 2022
…telemetry#6584)

* Reduce dependency on simpleName

* Move ClassNames to internal

* Javadoc

* Updates

* Fix

* Spotless

* Rename

* Add test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CodeSpanNameExtractor doesn't produce low-cardinality span names for lambdas
3 participants