Skip to content

Commit

Permalink
Removing logging exporter from testcases (#1483)
Browse files Browse the repository at this point in the history
* removed logging from testcases

* Remove logs from tests

* Remove otlp mustache file
  • Loading branch information
Danielzolty authored Nov 3, 2023
1 parent 51dc9c8 commit 053109d
Show file tree
Hide file tree
Showing 56 changed files with 45 additions and 156 deletions.
4 changes: 1 addition & 3 deletions terraform/testcases/configmap_provider_http/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ processors:
new_value: "${testing_id}"

exporters:
logging:
verbosity: detailed
awsemf:
region: '${region}'

Expand All @@ -30,7 +28,7 @@ service:
metrics:
receivers: [otlp]
processors: [metricstransform, batch]
exporters: [logging, awsemf]
exporters: [awsemf]
extensions: [pprof]
telemetry:
logs:
Expand Down
4 changes: 1 addition & 3 deletions terraform/testcases/configmap_provider_https/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ processors:
new_value: "${testing_id}"

exporters:
logging:
verbosity: detailed
awsemf:
region: '${region}'

Expand All @@ -30,7 +28,7 @@ service:
metrics:
receivers: [otlp]
processors: [metricstransform, batch]
exporters: [logging, awsemf]
exporters: [awsemf]
extensions: [pprof]
telemetry:
logs:
Expand Down
4 changes: 1 addition & 3 deletions terraform/testcases/configmap_provider_s3/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ processors:
new_value: "${testing_id}"

exporters:
logging:
verbosity: detailed
awsemf:
region: '${region}'

Expand All @@ -30,7 +28,7 @@ service:
metrics:
receivers: [otlp]
processors: [metricstransform, batch]
exporters: [logging, awsemf]
exporters: [awsemf]
extensions: [pprof]
telemetry:
logs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,6 @@ exporters:
metric_name_selectors:
- "^envoy_http_downstream_rq_xx$"

logging:
verbosity: detailed

service:
telemetry:
Expand Down
2 changes: 0 additions & 2 deletions terraform/testcases/datadog_exporter_metric_mock/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ processors:
batch:

exporters:
logging:
verbosity: detailed
datadog:
api:
key: testapikey
Expand Down
2 changes: 0 additions & 2 deletions terraform/testcases/datadog_exporter_trace_mock/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ processors:
batch:

exporters:
logging:
verbosity: detailed
datadog:
api:
key: testapikey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ processors:
batch:

exporters:
logging:
verbosity: detailed
dynatrace:
api_token: mytoken
endpoint: "https://${mock_endpoint}"
Expand Down
4 changes: 1 addition & 3 deletions terraform/testcases/ecs_instance_metrics/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,12 @@ exporters:
- instance_cpu_limit
- instance_memory_working_set
- instance_memory_limit
logging:
verbosity: detailed
service:
pipelines:
metrics:
receivers: [awscontainerinsightreceiver]
processors: [batch/metrics]
exporters: [awsemf,logging]
exporters: [awsemf]
telemetry:
logs:
level: ${log_level}
1 change: 0 additions & 1 deletion terraform/testcases/ecshealthcheck/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ receivers:
- targets: [ ${sample_app_listen_address_host}:${sample_app_listen_address_port} ]
exporters:
logging:
verbosity: detailed
service:
pipelines:
metrics:
Expand Down
4 changes: 1 addition & 3 deletions terraform/testcases/ecsmetrics/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,13 @@ exporters:
region: '${region}'
resource_to_telemetry_conversion:
enabled: true
logging:
verbosity: detailed

service:
pipelines:
metrics:
receivers: [awsecscontainermetrics]
processors: [filter, metricstransform, resource]
exporters: [awsemf,logging]
exporters: [awsemf]
extensions: [pprof]
telemetry:
logs:
Expand Down
4 changes: 1 addition & 3 deletions terraform/testcases/jaeger_mock/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ processors:
batch:

exporters:
logging:
verbosity: detailed
otlphttp:
traces_endpoint: "https://${mock_endpoint}"
tls:
Expand All @@ -24,7 +22,7 @@ service:
traces:
receivers: [jaeger]
processors: [batch]
exporters: [otlphttp, logging]
exporters: [otlphttp]
extensions: [pprof]
telemetry:
logs:
Expand Down
6 changes: 2 additions & 4 deletions terraform/testcases/kafka_otlp_metric_2_8_1/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ processors:
batch:

exporters:
logging:
verbosity: detailed
awsemf:
region: '${region}'
kafka/exporter:
Expand All @@ -39,10 +37,10 @@ service:
metrics:
receivers: [otlp]
processors: [batch]
exporters: [logging, kafka/exporter]
exporters: [kafka/exporter]
metrics/2:
receivers: [kafka/receiver]
exporters: [logging, awsemf]
exporters: [awsemf]
extensions: [pprof]
telemetry:
logs:
Expand Down
6 changes: 2 additions & 4 deletions terraform/testcases/kafka_otlp_metric_3_2_0/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ processors:
batch:

exporters:
logging:
verbosity: detailed
awsemf:
region: '${region}'
kafka/exporter:
Expand All @@ -39,10 +37,10 @@ service:
metrics:
receivers: [otlp]
processors: [batch]
exporters: [logging, kafka/exporter]
exporters: [kafka/exporter]
metrics/2:
receivers: [kafka/receiver]
exporters: [logging, awsemf]
exporters: [awsemf]
extensions: [pprof]
telemetry:
logs:
Expand Down
6 changes: 2 additions & 4 deletions terraform/testcases/kafka_otlp_metric_mock_2_8_1/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ processors:
batch:

exporters:
logging:
verbosity: detailed
awsemf:
region: '${region}'
endpoint: "https://${mock_endpoint}"
Expand All @@ -40,10 +38,10 @@ service:
metrics:
receivers: [otlp]
processors: [batch]
exporters: [logging, kafka/exporter]
exporters: [kafka/exporter]
metrics/2:
receivers: [kafka/receiver]
exporters: [logging, awsemf]
exporters: [awsemf]
extensions: [pprof]
telemetry:
logs:
Expand Down
6 changes: 2 additions & 4 deletions terraform/testcases/kafka_otlp_metric_mock_3_2_0/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ processors:
batch:

exporters:
logging:
verbosity: detailed
awsemf:
region: '${region}'
endpoint: "https://${mock_endpoint}"
Expand All @@ -40,10 +38,10 @@ service:
metrics:
receivers: [otlp]
processors: [batch]
exporters: [logging, kafka/exporter]
exporters: [kafka/exporter]
metrics/2:
receivers: [kafka/receiver]
exporters: [logging, awsemf]
exporters: [awsemf]
extensions: [pprof]
telemetry:
logs:
Expand Down
6 changes: 2 additions & 4 deletions terraform/testcases/kafka_otlp_mock_2_8_1/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ processors:
batch:

exporters:
logging:
verbosity: detailed
awsxray:
region: '${region}'
local_mode: true
Expand All @@ -41,11 +39,11 @@ service:
pipelines:
traces:
receivers: [otlp]
exporters: [logging,kafka/exporter]
exporters: [kafka/exporter]
traces/2:
receivers: [kafka/receiver]
processors: [batch]
exporters: [logging,awsxray]
exporters: [awsxray]
extensions: [pprof]
telemetry:
logs:
Expand Down
6 changes: 2 additions & 4 deletions terraform/testcases/kafka_otlp_mock_3_2_0/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ processors:
batch:

exporters:
logging:
verbosity: detailed
awsxray:
region: '${region}'
local_mode: true
Expand All @@ -41,11 +39,11 @@ service:
pipelines:
traces:
receivers: [otlp]
exporters: [logging,kafka/exporter]
exporters: [kafka/exporter]
traces/2:
receivers: [kafka/receiver]
processors: [batch]
exporters: [logging,awsxray]
exporters: [awsxray]
extensions: [pprof]
telemetry:
logs:
Expand Down
6 changes: 2 additions & 4 deletions terraform/testcases/kafka_otlp_trace_2_8_1/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ processors:
batch:

exporters:
logging:
verbosity: detailed
awsxray:
local_mode: true
region: '${region}'
Expand All @@ -39,11 +37,11 @@ service:
pipelines:
traces:
receivers: [otlp]
exporters: [logging,kafka/exporter]
exporters: [kafka/exporter]
traces/2:
receivers: [kafka/receiver]
processors: [batch]
exporters: [logging,awsxray]
exporters: [awsxray]
extensions: [pprof]
telemetry:
logs:
Expand Down
6 changes: 2 additions & 4 deletions terraform/testcases/kafka_otlp_trace_3_2_0/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ processors:
batch:

exporters:
logging:
verbosity: detailed
awsxray:
local_mode: true
region: '${region}'
Expand All @@ -39,11 +37,11 @@ service:
pipelines:
traces:
receivers: [otlp]
exporters: [logging,kafka/exporter]
exporters: [kafka/exporter]
traces/2:
receivers: [kafka/receiver]
processors: [batch]
exporters: [logging,awsxray]
exporters: [awsxray]
extensions: [pprof]
telemetry:
logs:
Expand Down
2 changes: 0 additions & 2 deletions terraform/testcases/logzio_exporter_trace_mock/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ processors:
batch:

exporters:
logging:
verbosity: detailed
logzio/traces:
account_token: testToken
endpoint: "https://${mock_endpoint}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ processors:
batch:

exporters:
logging:
verbosity: detailed
newrelic:
apikey: super-secret-api-key
traces:
Expand All @@ -25,7 +23,7 @@ service:
metrics:
receivers: [otlp]
processors: [batch]
exporters: [logging, newrelic]
exporters: [newrelic]
extensions: [pprof]
telemetry:
logs:
Expand Down
2 changes: 0 additions & 2 deletions terraform/testcases/newrelic_exporter_trace_mock/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ processors:
batch:

exporters:
logging:
verbosity: detailed
newrelic:
apikey: super-secret-api-key
traces:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ processors:
threshold_ms: 200

exporters:
logging:
verbosity: detailed
awsxray:
region: ${region}
local_mode: true
Expand Down
Loading

0 comments on commit 053109d

Please sign in to comment.