-
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
[extension/jaegerremotesampling] This extension may be broken after importing Jaeger v1.42 code #18047
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
@frzifus, are you able to handle this one? |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
ping @frzifus |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
…ypes for sampling strategies (#18485) Add featuregates to replace Thrift-gen with Proto-gen types for sampling strategies. Available featuregates are: - extension.jaegerremotesampling.replaceThriftWithProto - receiver.jaegerreceiver.replaceThriftWithProto Closes #18401 Ref #18047 -- cc @jpkrohling --------- Signed-off-by: Benedikt Bongartz <[email protected]> Co-authored-by: Juraci Paixão Kröhling <[email protected]>
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
extension/jaegerremotesampling
Describe the issue you're reporting
This is just a heads-up issue with some pointers.
This extension uses
json.Marshal
from stdlib to render the sampling strategy:opentelemetry-collector-contrib/extension/jaegerremotesampling/internal/http.go
Line 117 in 8049c8c
and has a unit test that validates the format (kudos):
opentelemetry-collector-contrib/extension/jaegerremotesampling/internal/http_test.go
Line 90 in 8049c8c
However, it passes an auto-inferred type from
samplingStore
tojson.Marshal
, which happens to be Thrift-gen struct. This is changing in the next Jaeger release (jaegertracing/jaeger#4181) to return Protobuf-gen struct, that may not work with stdlibjson.Marshal
(in Jaeger we're usingjsonpb.Marshal
from gogoproto).Related issues:
Also, this extension attempts to emulate Jaeger agent endpoints, but their behavior on
/
and/sampling
endpoint is actually different (explained in open-telemetry/opentelemetry-go-contrib#3184)The text was updated successfully, but these errors were encountered: