diff --git a/terraform/testcases/otlp_http_exporter_metric_mock/otconfig.tpl b/terraform/testcases/otlp_http_exporter_metric_mock/otconfig.tpl new file mode 100644 index 000000000..febf921e1 --- /dev/null +++ b/terraform/testcases/otlp_http_exporter_metric_mock/otconfig.tpl @@ -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] \ No newline at end of file diff --git a/terraform/testcases/otlp_http_exporter_metric_mock/parameters.tfvars b/terraform/testcases/otlp_http_exporter_metric_mock/parameters.tfvars new file mode 100644 index 000000000..5a28e765b --- /dev/null +++ b/terraform/testcases/otlp_http_exporter_metric_mock/parameters.tfvars @@ -0,0 +1,2 @@ +# data type will be emitted. Possible values: metric or trace +soaking_data_mode = "metric" diff --git a/terraform/testcases/otlp_http_exporter_trace_mock/otconfig.tpl b/terraform/testcases/otlp_http_exporter_trace_mock/otconfig.tpl new file mode 100644 index 000000000..cef409240 --- /dev/null +++ b/terraform/testcases/otlp_http_exporter_trace_mock/otconfig.tpl @@ -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] \ No newline at end of file diff --git a/terraform/testcases/otlp_http_exporter_trace_mock/parameters.tfvars b/terraform/testcases/otlp_http_exporter_trace_mock/parameters.tfvars new file mode 100644 index 000000000..795ba36a0 --- /dev/null +++ b/terraform/testcases/otlp_http_exporter_trace_mock/parameters.tfvars @@ -0,0 +1,2 @@ +# data type will be emitted. Possible values: metric or trace +soaking_data_mode = "trace"