Closed mahadzaryab1 closed 1 month ago
@yurishkuro Do we need https://github.com/jaegertracing/jaeger/blob/main/cmd/jaeger/internal/processors/adaptivesampling/config.go? It looks to be empty and all the config seems to be in the remote sampling extension?
A config is required by the overall organization of OTEL components, even if it's empty.
There's nothing to align with OTEL here since adaptive sampling is jaeger-only feature, but we can take a critical look how that config is laid out. Also, the extension runs servers, so we can make sure they are using OTEL configs and helpers.
@yurishkuro is there a reason that SamplingStore
is separate from the rest of the config in https://github.com/jaegertracing/jaeger/blob/main/cmd/jaeger/internal/extension/remotesampling/config.go#L41-L46? Can I move SamplingStore
under adaptive.Options
?
The reason is because it's not applicable to v1 collector.
Does it hurt to combine it? Currently in the config we have something like:
sampling_store:
sampling:
...
It would be nice to do something like
sampling:
store:
...
Feel free to propose a change.
Do we use store or storage in query service?
@yurishkuro Here is the migration guide for the adaptive sampling processor. Are there any other action items as part of this issue? If not, we can close it out.
It was decided that no changes were needed to the configuration. Only the migration guide was created as part of this issue which has been added to the V2 RFC.
Requirement
In this issue, we want to refactor the configurations for the adaptive sampling processor to ensure that the configuration is laid out logically (part of https://github.com/jaegertracing/jaeger/issues/5229)
Tasks / outcomes