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

Rename Legacy Decorators to TagInterceptors #1565

Merged
merged 2 commits into from
Jun 11, 2020
Merged

Conversation

tylerbenson
Copy link
Contributor

In the process, simplify AbstractTagInterceptor's responsibility. Now that most functionality is moved to the Rules, it doesn't need to do so much.

Reduce visibility on some of the newly renamed classes.

@tylerbenson tylerbenson requested a review from a team as a code owner June 9, 2020 20:51
@richardstartin
Copy link
Member

What are the downsides of moving these to the rules processing instead? They're conceptually the same except whether the work is done on the application threads or in the background.

@tylerbenson
Copy link
Contributor Author

The reason these can't be moved to rules is because both service name and sampling priority directly effect other spans, so the evaluation cannot be delayed.

Copy link
Member

@richardstartin richardstartin left a comment

Choose a reason for hiding this comment

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

Makes sense.

@tylerbenson tylerbenson reopened this Jun 10, 2020
Now that most functionality is moved to the Rules, it doesn't need to do so much.

Also more renaming
@tylerbenson tylerbenson merged commit 8e885d8 into master Jun 11, 2020
@tylerbenson tylerbenson deleted the tyler/tag-interceptor branch June 11, 2020 15:30
@github-actions github-actions bot added this to the 0.55.0 milestone Jun 11, 2020
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.

None yet

3 participants