-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[receiver/jaegerreceiver] Add remote sampling deprecation warning #13408
[receiver/jaegerreceiver] Add remote sampling deprecation warning #13408
Conversation
receiver/jaegerreceiver/factory.go
Outdated
func logSamplingDeprecation(logger *zap.Logger) { | ||
once.Do(func() { | ||
logger.Warn( | ||
"Jaeger remote sampling support is deprecated and will be removed in future versions. Use the jaegerremotesampling extension instead.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we point to a specific version here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume a feature flag is not needed? [documentation]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we point to a specific version here?
Yes, that makes sense.
I assume a feature flag is not needed?
I also don't see the need for a feature flag here.
760b72a
to
d16ce33
Compare
2400acf
to
ac29939
Compare
receiver/jaegerreceiver/factory.go
Outdated
func logSamplingDeprecation(logger *zap.Logger) { | ||
once.Do(func() { | ||
logger.Warn( | ||
"Jaeger remote sampling support is deprecated and will be removed in release v0.60.0. Use the jaegerremotesampling extension instead.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps v0.61.0? We have 0.58.0 out already, this message would start appearing only at 0.59.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure 👍
Signed-off-by: Benedikt Bongartz <[email protected]>
ac29939
to
828ee49
Compare
Signed-off-by: Benedikt Bongartz [email protected]
Description:
with #6632 and #6694 remote sampling is offered as extention. This pr adds a deprecation warning to the remote sampling endpoint provided in the receiver.
Link to tracking Issue: #6633 (part of)
Testing:
Documentation: