Closed as not planned
Closed as not planned
Description
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:
and has a unit test that validates the format (kudos):
However, it passes an auto-inferred type from samplingStore
to json.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 stdlib json.Marshal
(in Jaeger we're using jsonpb.Marshal
from gogoproto).
Related issues:
- [samplers/jaegerremote] Invalid expectation of JSON format opentelemetry-go-contrib#3184
- Invalid expectations of JSON format for Jaeger remote sampling strategies opentelemetry-specification#3126
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)
Activity