Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source interface { // Close() from io.Closer stops the processor from calculating probabilities. io.Closer // GetSamplingStrategy retrieves the sampling strategy for the specified service. GetSamplingStrategy(ctx context.Context, serviceName string) (*api_v2.SamplingStrategyResponse, error) }
Source keeps track of service specific sampling strategies.
Click to show internal directories.
Click to hide internal directories.