Skip to content

Commit

Permalink
use debug exporter in place of logging exporter (#1667)
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony J Mirabella <[email protected]>
  • Loading branch information
Aneurysm9 authored Sep 26, 2024
1 parent 87365f0 commit db31a5d
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ tools/batchTestGenerator/batchTestGenerator
# ignore any generated test-case-batch files
test-case-batch

# ignore java validator bin
# ignore java project bin dirs
validator/bin
load-generator/bin
trace-java-client/bin

.vscode

Expand Down
4 changes: 2 additions & 2 deletions terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ an example:
receivers:
awsecscontainermetrics:
exporters:
logging:
debug:
verbosity: detailed
awsemf:
namespace: '${otel_service_namespace}/${otel_service_name}'
Expand All @@ -68,7 +68,7 @@ service:
pipelines:
metrics:
receivers: [awsecscontainermetrics]
exporters: [logging, awsemf]
exporters: [debug, awsemf]
```
#### 3.2 ecs task definition
Expand Down
4 changes: 2 additions & 2 deletions terraform/eks/container-insights-agent/config_map_fargate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ data:
- pod_network_rx_bytes
- pod_network_tx_bytes
logging:
debug:
verbosity: detailed
extensions:
Expand All @@ -440,5 +440,5 @@ data:
metrics:
receivers: [prometheus]
processors: [metricstransform/label_1, resourcedetection, metricstransform/rename, filter, cumulativetodelta, deltatorate, experimental_metricsgeneration/1, experimental_metricsgeneration/2, metricstransform/label_2, batch]
exporters: [logging, awsemf]
exporters: [debug, awsemf]
extensions: [health_check]
6 changes: 3 additions & 3 deletions terraform/templates/defaults/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ processors:
timeout: 60s

exporters:
logging:
debug:
verbosity: detailed
awsxray:
local_mode: true
Expand All @@ -33,11 +33,11 @@ service:
traces:
receivers: [otlp, awsxray]
processors: [batch/traces]
exporters: [logging, awsxray]
exporters: [debug, awsxray]
metrics:
receivers: [otlp]
processors: [batch/metrics]
exporters: [logging, awsemf]
exporters: [debug, awsemf]
telemetry:
logs:
level: debug
4 changes: 2 additions & 2 deletions terraform/testcases/ecshealthcheck/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ receivers:
static_configs:
- targets: [ ${sample_app_listen_address_host}:${sample_app_listen_address_port} ]
exporters:
logging:
debug:
service:
pipelines:
metrics:
receivers: [prometheus]
exporters: [logging]
exporters: [debug]
extensions: [health_check]
telemetry:
logs:
Expand Down
2 changes: 1 addition & 1 deletion terraform/testcases/otlp_trace_loadbalancing/otconfig.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ processors:


exporters:
logging:
debug:
loadbalancing:
protocol:
otlp:
Expand Down

0 comments on commit db31a5d

Please sign in to comment.