-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Jaeger Agent Configuration (#434)
* Added agent protocol config wiring. Removed agent http server Signed-off-by: Joe Elliott <[email protected]> * Conditionally start agent protocols based on config Signed-off-by: Joe Elliott <[email protected]> * Bail out of startAgent if nothing is configured Signed-off-by: Joe Elliott <[email protected]> * Updated readme Signed-off-by: Joe Elliott <[email protected]> * Added tests Signed-off-by: Joe Elliott <[email protected]> * Removed binary test because opencensus jaeger exporter doesn't support it Signed-off-by: Joe Elliott <[email protected]> * Corrected test to expect jaeger format and removed redundant test Signed-off-by: Joe Elliott <[email protected]> * Added independently configurable agent processors Signed-off-by: Joe Elliott <[email protected]> * Added config tests Signed-off-by: Joe Elliott <[email protected]> * Added support for http agent Signed-off-by: Joe Elliott <[email protected]> * Fixed testbed tests Signed-off-by: Joe Elliott <[email protected]> * Fixed imports Signed-off-by: Joe Elliott <[email protected]> * Improved coverage in factory.go Signed-off-by: Joe Elliott <[email protected]> * Added http proxy tests Signed-off-by: Joe Elliott <[email protected]> * Moved location of the testdata reference to show it refers to both agent and collector protocols Signed-off-by: Joe Elliott <[email protected]> * Replaced hardcoded port with dynamic Signed-off-by: Joe Elliott <[email protected]> * Synchronously stop processors Signed-off-by: Joe Elliott <[email protected]> * Added testutils method to wait for a port and used it to wait for the http server Signed-off-by: Joe Elliott <[email protected]> * Cleaned up gross wait function Signed-off-by: Joe Elliott <[email protected]> * Added WaitForPort Test Signed-off-by: Joe Elliott <[email protected]> * Fixed testutils error. Added baggageRestrictions test Signed-off-by: Joe Elliott <[email protected]> * Added tests for port in use and trace source Signed-off-by: Joe Elliott <[email protected]> * Pass logger to processors Signed-off-by: Joe Elliott <[email protected]> * Removed flaky tests Signed-off-by: Joe Elliott <[email protected]> * Added test to confirm binary thrift opens the right port Signed-off-by: Joe Elliott <[email protected]> * Added tests to to confirm invalid ports would not start Signed-off-by: Joe Elliott <[email protected]> * Only call startAgent to avoid startCollector race condition Signed-off-by: Joe Elliott <[email protected]> * Migrated assert.NoError Signed-off-by: Joe Elliott <[email protected]> * Consolidated similar code into a one function Signed-off-by: Joe Elliott <[email protected]>
- Loading branch information
1 parent
fe3782c
commit c897290
Showing
15 changed files
with
337 additions
and
91 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
Oops, something went wrong.