-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
YAAAAS - Yet Another Attempt At Adaptive Sampling (#2966)
* Original PR Signed-off-by: Joe Elliott <number101010@gmail.com> Co-authored-by: Ashmita Bohara ashmita.bohara152@gmail.com * cleaned up tests and config factory logic Signed-off-by: Joe Elliott <number101010@gmail.com> * Wire up lock/samplingstore Signed-off-by: Joe Elliott <number101010@gmail.com> * changelog Signed-off-by: Joe Elliott <number101010@gmail.com> * lint Signed-off-by: Joe Elliott <number101010@gmail.com> * Added method for conditionally instantiating the lock and sampling store Signed-off-by: Joe Elliott <number101010@gmail.com> * Additional tests Signed-off-by: Joe Elliott <number101010@gmail.com> * Passed appropriate settings and added override hostname Signed-off-by: Joe Elliott <number101010@gmail.com> * pass hostname to lock Signed-off-by: Joe Elliott <number101010@gmail.com> * First pass cassandra tables Signed-off-by: Joe Elliott <number101010@gmail.com> * schema cleanup. start electionParticipant Signed-off-by: Joe Elliott <number101010@gmail.com> * revert cqlsh path Signed-off-by: Joe Elliott <number101010@gmail.com> * compose updates Signed-off-by: Joe Elliott <number101010@gmail.com> * Pass in processspan Signed-off-by: Joe Elliott <number101010@gmail.com> * Rearranged hotrod startup to allow env override Signed-off-by: Joe Elliott <number101010@gmail.com> * call aggregator.Stop() Signed-off-by: Joe Elliott <number101010@gmail.com> * Made aggregator make sense Signed-off-by: Joe Elliott <number101010@gmail.com> * Added additional processors test Signed-off-by: Joe Elliott <number101010@gmail.com> * Added CreateLockAndSamplingStore tests Signed-off-by: Joe Elliott <number101010@gmail.com> * remove overrideHostname in favor of a short random postfix Signed-off-by: Joe Elliott <number101010@gmail.com> * added hostname Signed-off-by: Joe Elliott <number101010@gmail.com> * Update storage/factory.go Co-authored-by: Juraci Paixão Kröhling <juraci.github@kroehling.de> Signed-off-by: Joe Elliott <number101010@gmail.com> * lint really wants crypto/rand Signed-off-by: Joe Elliott <number101010@gmail.com> * logger to last param Signed-off-by: Joe Elliott <number101010@gmail.com> * io.Closer Signed-off-by: Joe Elliott <number101010@gmail.com> * log error on aggregator close Signed-off-by: Joe Elliott <number101010@gmail.com> * Added mocks to test that the right values are returned Signed-off-by: Joe Elliott <number101010@gmail.com> * Improved unique name logging Signed-off-by: Joe Elliott <number101010@gmail.com> * make fmt Signed-off-by: Joe Elliott <number101010@gmail.com> * Additional testing Signed-off-by: Joe Elliott <number101010@gmail.com> * lint Signed-off-by: Joe Elliott <number101010@gmail.com> * fix test Signed-off-by: Joe Elliott <number101010@gmail.com> * tests Signed-off-by: Joe Elliott <number101010@gmail.com> * getParam => samplerParamToFloat Signed-off-by: Joe Elliott <number101010@gmail.com> * Removed requirelockandsamplingstore Signed-off-by: Joe Elliott <number101010@gmail.com> * use constants for constants Signed-off-by: Joe Elliott <number101010@gmail.com> * Split out sampling store interface Signed-off-by: Joe Elliott <number101010@gmail.com> * lint Signed-off-by: Joe Elliott <number101010@gmail.com> * tests Signed-off-by: Joe Elliott <number101010@gmail.com> * Move changelog entry Signed-off-by: Yuri Shkuro <github@ysh.us> Co-authored-by: Juraci Paixão Kröhling <juraci.github@kroehling.de> Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de> Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Co-authored-by: Yuri Shkuro <github@ysh.us>
- Loading branch information
1 parent
6685913
commit e345aa7
Showing
42 changed files
with
1,010 additions
and
401 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
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
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
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
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.