Can you please add a test in SmokeTests similar to SubmitLogs that would set OTEL_DOTNET_AUTO_LOGS_ENABLED_INSTRUMENTATIONS=none and assert that none logs are send using collector.AssertEmpty(5.Seconds());?
It would test the OTEL_DOTNET_AUTO_LOGS_ENABLED_INSTRUMENTATIONS env var.
Similar tests should be added for traces and metrics (as a separate PR).
I want to have this smoke test added as part of this PR to have any integration tests verifying the new functionality.
Originally posted by @pellared in #1475 (comment)
Can you please add a test in
SmokeTestssimilar toSubmitLogsthat would setOTEL_DOTNET_AUTO_LOGS_ENABLED_INSTRUMENTATIONS=noneand assert that none logs are send usingcollector.AssertEmpty(5.Seconds());?It would test the
OTEL_DOTNET_AUTO_LOGS_ENABLED_INSTRUMENTATIONSenv var.Similar tests should be added for traces and metrics (as a separate PR).
I want to have this smoke test added as part of this PR to have any integration tests verifying the new functionality.
Originally posted by @pellared in #1475 (comment)