This repository has been archived by the owner on Aug 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[distributed sampling] introducing service sampler
[distributed sampling] instroduced service sampler [distributed sampling] added new channel to handle distributed traces [distributed tracing] fixed stats status [distributing sampling] test typo [distributed sampling] added JSON output with rate by service [distributed sampling] encapsulating response in a container [distributed sampling] handling distributed traces for real, sending feedback to client lib [distributed sampling] trusting client library info in by service sampler [distributed sampling] fixed agent tests [distributed sampling] adding metrics and visual output about internal sampling rates [distributed sampling] added sample rate feedback in -info command [distributed sampling] added test for ApplyRate funcs [distributed sampling] added test for service signature [distributed sampling] replaced sampling.priority by _sampling_priority_v1 As this is still experimental, replacing sampling.priority by _sampling_priority_v1, and also converting it from a meta to a metric. This makes code easier to handle and saves many string to number conversion, and additionnally, the _sampling_priority_v1 metric is naturally trimmed from front-end UI as it's: - a) a metric - b) it starts by "_" [distributed sampling] removed debug metric [distributed sampling] using genuine engine type as key in info hash [distributed samping] fixed sampling on services (algo and tests) [distributed tracing] DistributedSampler -> PrioritySampler [distributed sampling] removing generic constructor [distributed sampling] refactored samplers to share common code without hooks [distributed sampling] using defers in info publishing code [distributed sampling] choosing sampler depending on trace content [distributed sampling] updated receiver tests [distributed sampling] made sampler internal public again [distributed sampling] fixed expvar to avoid dashboard migration [distributed tracing] added metrics to follow sampling priority on receiver [distributed sampling] returning a meaningful value for the default sample rate [distributed sampling] returning something else than 1 for default sampling value [distributed sampling] removed debug message [distributed sampling] enabling priority sampling by default [distributed sampling] removing useless sample rate metric when priority sampling [distributed sampling] removed pointless code [distributed sampling] added docstring [distributed sampling] stats rework (using tags for sampling priority) [distributed sampling] typo fixes [distributed sampling] refined '-info' output This patch: - shows "Sample Rate" instead of "Rate" - removes the default sample rate which is a fallback and should not be used in most cases [distributed sampling] moved rate by service to config package in dynamic config [distributed sampling] using dynamic config to report rate by service [distributed sampling] refactored and rewrote tests
- Loading branch information
Showing
26 changed files
with
1,324 additions
and
315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.