Skip to content

Commit

Permalink
Test to ensure otlp ports in collector e2e (#945)
Browse files Browse the repository at this point in the history
* Add a simple test to ensure we are opening the correct ports for otlp receivers

Signed-off-by: Kevin Earls <[email protected]>

* Fixed typos, yaml formatting

Signed-off-by: Kevin Earls <[email protected]>

* Add otlp port checks to existing smoke test

Signed-off-by: Kevin Earls <[email protected]>
  • Loading branch information
kevinearls authored Jun 27, 2022
1 parent 359478c commit ce77f82
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
30 changes: 30 additions & 0 deletions tests/e2e/smoke-simplest/00-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,21 @@ spec:
port: 14250
protocol: TCP
targetPort: 14250
- appProtocol: grpc
name: otlp-grpc
port: 4317
protocol: TCP
targetPort: 4317
- appProtocol: http
name: otlp-http
port: 4318
protocol: TCP
targetPort: 4318
- appProtocol: http
name: otlp-http-legacy
port: 55681
protocol: TCP
targetPort: 4318

---

Expand All @@ -32,3 +47,18 @@ spec:
port: 14250
protocol: TCP
targetPort: 14250
- appProtocol: grpc
name: otlp-grpc
port: 4317
protocol: TCP
targetPort: 4317
- appProtocol: http
name: otlp-http
port: 4318
protocol: TCP
targetPort: 4318
- appProtocol: http
name: otlp-http-legacy
port: 55681
protocol: TCP
targetPort: 4318
6 changes: 5 additions & 1 deletion tests/e2e/smoke-simplest/00-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ spec:
jaeger:
protocols:
grpc:
otlp:
protocols:
grpc:
http:
processors:
exporters:
Expand All @@ -16,6 +20,6 @@ spec:
service:
pipelines:
traces:
receivers: [jaeger]
receivers: [jaeger,otlp]
processors: []
exporters: [logging]

0 comments on commit ce77f82

Please sign in to comment.