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 Push from tempopb.Pusher #1173

Merged
merged 2 commits into from
Dec 13, 2021
Merged

Conversation

kvrhdn
Copy link
Member

@kvrhdn kvrhdn commented Dec 13, 2021

What this PR does:
Remove the Push method from tempopb.Pusher.

I noticed Pusher is implemented by both the distributor and the ingester, but:

I also noticed none of the Pusher methods in distributor were used. The OTel Receiver shim defines its own interface BatchPusher. So I deleted this implementation.

Copy link
Member

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

Nice cleanup

@kvrhdn kvrhdn merged commit e5d0c10 into grafana:main Dec 13, 2021
@kvrhdn kvrhdn deleted the kvrhdn/refactor-pusher branch December 13, 2021 15:36
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.

2 participants