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 test cases for Coralogix exporter #754

Closed
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
35 changes: 35 additions & 0 deletions terraform/testcases/coralogix_exporter_metric_mock/otconfig.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
extensions:
pprof:
endpoint: 0.0.0.0:1777
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:${grpc_port}

processors:
batch:

exporters:
logging:
loglevel: debug
coralogix:
endpoint: "${mock_endpoint}"
metrics:
endpoint: "${mock_endpoint}"
compression: none
tls:
insecure: true
private_key: "e83138ae-fe21-11ec-b939-0242ac120002"
application_name: "APP_NAME"
subsystem_name: "SUBSYSTEM"
service:
pipelines:
metrics:
receivers: [otlp]
processors: [batch]
exporters: [coralogix]
extensions: [pprof]
telemetry:
logs:
level: debug
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# data type will be emitted. Possible values: metric or trace
soaking_data_mode = "metric"

sample_app = "spark"

sample_app_image = "public.ecr.aws/aws-otel-test/aws-otel-java-spark:latest"

mocked_server = "grpc_metrics"
mock_endpoint = "mocked-server:55671"
35 changes: 35 additions & 0 deletions terraform/testcases/coralogix_exporter_trace_mock/otconfig.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
extensions:
pprof:
endpoint: 0.0.0.0:1777
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:${grpc_port}

processors:
batch:

exporters:
logging:
loglevel: debug
coralogix:
traces:
endpoint: "${mock_endpoint}"
tls:
insecure: true
metrics:
endpoint: "${mock_endpoint}"
private_key: "e83138ae-fe21-11ec-b939-0242ac120002"
application_name: "APP_NAME"
subsystem_name: "SUBSYSTEM"
service:
pipelines:
traces:
receivers: [otlp]
processors: [batch]
exporters: [coralogix]
extensions: [pprof]
telemetry:
logs:
level: debug
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
mocked_server = "grpc_trace"
# data type will be emitted. Possible values: metric or trace
soaking_data_mode = "trace"

sample_app = "spark"

sample_app_image = "public.ecr.aws/aws-otel-test/aws-otel-java-spark:latest"