Skip to content

Commit

Permalink
add coralogix metric mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasv committed Jul 22, 2022
1 parent 3486dd6 commit d7c536f
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
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"

0 comments on commit d7c536f

Please sign in to comment.