Skip to content

[extension/jaegerremotesampling] This extension may be broken after importing Jaeger v1.42 code #18047

Closed as not planned
@yurishkuro

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):

assert.Equal(t, `{"strategyType":"PROBABILISTIC"}`, body)

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:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions