Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Jaeger Agent Configuration #434

Merged
merged 29 commits into from Dec 4, 2019
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
6640ea1
Added agent protocol config wiring. Removed agent http server
joe-elliott Nov 22, 2019
46dbf35
Conditionally start agent protocols based on config
joe-elliott Nov 22, 2019
c705302
Bail out of startAgent if nothing is configured
joe-elliott Nov 22, 2019
fd4799f
Updated readme
joe-elliott Nov 22, 2019
b131c9b
Added tests
joe-elliott Nov 23, 2019
88a60d0
Removed binary test because opencensus jaeger exporter doesn't suppor…
joe-elliott Nov 23, 2019
c030827
Corrected test to expect jaeger format and removed redundant test
joe-elliott Nov 23, 2019
5b284b7
Added independently configurable agent processors
joe-elliott Nov 25, 2019
8c024bc
Added config tests
joe-elliott Nov 25, 2019
c945fce
Added support for http agent
joe-elliott Nov 25, 2019
a734960
Fixed testbed tests
joe-elliott Nov 25, 2019
073410c
Fixed imports
joe-elliott Nov 25, 2019
96a6fd9
Improved coverage in factory.go
joe-elliott Nov 25, 2019
12937ff
Added http proxy tests
joe-elliott Nov 25, 2019
dd99d1e
Moved location of the testdata reference to show it refers to both ag…
joe-elliott Nov 26, 2019
1e2623e
Replaced hardcoded port with dynamic
joe-elliott Nov 26, 2019
78dcc94
Synchronously stop processors
joe-elliott Nov 26, 2019
5a3ce04
Added testutils method to wait for a port and used it to wait for the…
joe-elliott Nov 26, 2019
8657535
Cleaned up gross wait function
joe-elliott Nov 27, 2019
3a10dfb
Added WaitForPort Test
joe-elliott Nov 27, 2019
651ea96
Fixed testutils error. Added baggageRestrictions test
joe-elliott Nov 27, 2019
787d867
Added tests for port in use and trace source
joe-elliott Nov 27, 2019
899a22c
Pass logger to processors
joe-elliott Nov 27, 2019
c9a1e78
Removed flaky tests
joe-elliott Nov 27, 2019
18b41d6
Added test to confirm binary thrift opens the right port
joe-elliott Nov 27, 2019
234fdb5
Added tests to to confirm invalid ports would not start
joe-elliott Nov 27, 2019
511ead5
Only call startAgent to avoid startCollector race condition
joe-elliott Nov 27, 2019
ca2d038
Migrated assert.NoError
joe-elliott Dec 4, 2019
37dae1d
Consolidated similar code into a one function
joe-elliott Dec 4, 2019
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Added config tests

Signed-off-by: Joe Elliott <number101010@gmail.com>
  • Loading branch information
joe-elliott committed Nov 25, 2019
commit 8c024bc39300d0490790c53b8d07613bcc7dc5f2
@@ -65,6 +65,16 @@ func TestLoadConfig(t *testing.T) {
Endpoint: "0.0.0.0:123",
},
},
"thrift-compact": {
ReceiverSettings: configmodels.ReceiverSettings{
Endpoint: "0.0.0.0:456",
},
},
"thrift-binary": {
ReceiverSettings: configmodels.ReceiverSettings{
Endpoint: "0.0.0.0:789",
},
},
},
})

@@ -15,6 +15,10 @@ receivers:
endpoint: ":3456"
thrift-tchannel:
endpoint: "0.0.0.0:123"
thrift-compact:
endpoint: "0.0.0.0:456"
thrift-binary:
endpoint: "0.0.0.0:789"

# The following demonstrates disabling the receiver.
# All of the protocols need to be disabled for the receiver to be disabled.
@@ -30,6 +34,10 @@ receivers:
disabled: true
thrift-tchannel:
disabled: true
thrift-compact:
disabled: true
thrift-binary:
disabled: true

# The following demonstrates specifying different endpoints.
# The Jaeger receiver connects to ports on all available network interfaces.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.