Skip to content

Commit

Permalink
feat(pkg/traces): remove tests including removed jaeger exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
hainenber committed Oct 11, 2023
1 parent 9c065cb commit 38876f5
Showing 1 changed file with 0 additions and 124 deletions.
124 changes: 0 additions & 124 deletions pkg/traces/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1027,130 +1027,6 @@ service:
exporters: ["otlp/0"]
processors: ["service_graphs"]
receivers: ["push_receiver", "jaeger"]
`,
},
{
name: "jaeger exporter",
cfg: `
receivers:
jaeger:
protocols:
grpc:
remote_write:
- insecure: true
format: jaeger
endpoint: example.com:12345
`,
expectedConfig: `
receivers:
push_receiver: {}
jaeger:
protocols:
grpc:
exporters:
jaeger/0:
endpoint: example.com:12345
compression: gzip
tls:
insecure: true
retry_on_failure:
max_elapsed_time: 60s
processors: {}
extensions: {}
service:
pipelines:
traces:
exporters: ["jaeger/0"]
processors: []
receivers: ["push_receiver", "jaeger"]
`,
},
{
name: "jaeger exporter with basic auth",
cfg: `
receivers:
jaeger:
protocols:
grpc:
remote_write:
- insecure: true
format: jaeger
protocol: grpc
basic_auth:
username: test
password_file: ` + passwordFile.Name() + `
endpoint: example.com:12345
`,
expectedConfig: `
receivers:
push_receiver: {}
jaeger:
protocols:
grpc:
exporters:
jaeger/0:
endpoint: example.com:12345
compression: gzip
tls:
insecure: true
headers:
authorization: Basic dGVzdDpwYXNzd29yZF9pbl9maWxl
retry_on_failure:
max_elapsed_time: 60s
processors: {}
extensions: {}
service:
pipelines:
traces:
exporters: ["jaeger/0"]
processors: []
receivers: ["push_receiver", "jaeger"]
`,
},
{
name: "two exporters different format",
cfg: `
receivers:
jaeger:
protocols:
grpc:
remote_write:
- insecure: true
format: jaeger
endpoint: example.com:12345
- insecure: true
format: otlp
endpoint: something.com:123
`,
expectedConfig: `
receivers:
push_receiver: {}
jaeger:
protocols:
grpc:
exporters:
jaeger/0:
endpoint: example.com:12345
compression: gzip
tls:
insecure: true
retry_on_failure:
max_elapsed_time: 60s
otlp/1:
endpoint: something.com:123
compression: gzip
tls:
insecure: true
retry_on_failure:
max_elapsed_time: 60s
processors: {}
extensions: {}
service:
pipelines:
traces:
exporters: ["jaeger/0", "otlp/1"]
processors: []
receivers: ["push_receiver", "jaeger"]
`,
},
{
Expand Down

0 comments on commit 38876f5

Please sign in to comment.