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

Enable otlp http exporter integration test cases for all the testing platforms #90

Merged
merged 1 commit into from
Nov 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions terraform/testcases/otlp_http_exporter_metric_mock/otconfig.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:${grpc_port}

processors:
batch/metrics:
timeout: 60s

exporters:
logging:
loglevel: debug
otlphttp:
metrics_endpoint: "https://${mock_endpoint}"
insecure: true

service:
pipelines:
metrics:
receivers: [otlp]
exporters: [otlphttp]
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# data type will be emitted. Possible values: metric or trace
soaking_data_mode = "metric"
22 changes: 22 additions & 0 deletions terraform/testcases/otlp_http_exporter_trace_mock/otconfig.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:${grpc_port}

processors:
batch/metrics:
timeout: 60s

exporters:
logging:
loglevel: debug
otlphttp:
traces_endpoint: "https://${mock_endpoint}"
insecure: true

service:
pipelines:
traces:
receivers: [otlp]
exporters: [otlphttp]
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# data type will be emitted. Possible values: metric or trace
soaking_data_mode = "trace"