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

Move rate limiter from client to jaeger-lib #35

Merged
merged 1 commit into from
Jan 8, 2018

Conversation

isaachier
Copy link
Contributor

Signed-off-by: Isaac Hier ihier@uber.com

Signed-off-by: Isaac Hier <ihier@uber.com>
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling ebf3e2f on isaachier:rate-limiter-migration into 9ddea2d on jaegertracing:master.

Copy link
Contributor

@black-adder black-adder left a comment

Choose a reason for hiding this comment

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

I'm ok with moving this over here, however, we can't delete it from jaeger-client-go because it'll be a breaking change since some people maybe using NewRateLimiter. (we could just write a wrapper function NewRateLimiter which just calls this NewRateLimiter...) either way, let's land this but keep client as is for now until we figure out a better migration plan.

@@ -0,0 +1,77 @@
// Copyright (c) 2017 Uber Technologies, Inc.
Copy link
Contributor

Choose a reason for hiding this comment

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

although factually these files are just being copied over, shouldn't the copyright be updated here to 2018?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right I am wondering too. @yurishkuro what is your opinion here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

He wrote to me yesterday: "if you copy the file, you keep C as is... if you copy and modify, and C was 2016, you should change it to C 2016, 2018"

Copy link
Contributor

Choose a reason for hiding this comment

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

update this and I'll land

Copy link
Member

Choose a reason for hiding this comment

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

update to what? This is the correct header.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

See my response above from @yurishkuro (granted it is hearsay as he didn't write it here)? It was not modified, so keeping the same.

@yurishkuro
Copy link
Member

why do we need to move it? It's already a public class, can just use it directly from the go-client path.

@isaachier
Copy link
Contributor Author

You mean the client is accessible from the main jaeger repo or do you mean the client has access to this jaeger-lib repo? I assumed not the former, only the latter.

@yurishkuro
Copy link
Member

nvm, I am find to move it.

@yurishkuro
Copy link
Member

:shipit:

@isaachier
Copy link
Contributor Author

I'm still seeing I am not authorized to merge this.

@black-adder black-adder merged commit 1c0fd61 into jaegertracing:master Jan 8, 2018
@isaachier isaachier deleted the rate-limiter-migration branch January 8, 2018 16:05
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.

4 participants