diff --git a/tools/stress-cluster/services/otelcollector/otel-collector-config.yml b/tools/stress-cluster/services/otelcollector/otel-collector-config.yml index fe7a2e088d7..b2aa5e64a3e 100644 --- a/tools/stress-cluster/services/otelcollector/otel-collector-config.yml +++ b/tools/stress-cluster/services/otelcollector/otel-collector-config.yml @@ -19,10 +19,10 @@ service: logs: receivers: [otlp] processors: [batch] - exporters: [azuremonitor] + exporters: [logging, azuremonitor] exporters: logging: - verbosity: normal + verbosity: detailed azuremonitor: -# connection_string: "%APPLICATIONINSIGHTS_CONNECTION_STRING%" + connection_string: "${env:APPLICATIONINSIGHTS_CONNECTION_STRING}" diff --git a/tools/stress-cluster/services/otelcollector/startup.sh b/tools/stress-cluster/services/otelcollector/startup.sh index 3abd8e7db03..377c00b12f7 100755 --- a/tools/stress-cluster/services/otelcollector/startup.sh +++ b/tools/stress-cluster/services/otelcollector/startup.sh @@ -3,5 +3,4 @@ set -ex source $ENV_FILE -echo " connection_string: \"$APPLICATIONINSIGHTS_CONNECTION_STRING\"" >> /otel-collector-config.yml /otelcol-contrib --config otel-collector-config.yml $@