From c39e8e484e80f49a1df400195d09c55bbf7261b8 Mon Sep 17 00:00:00 2001 From: RassK Date: Fri, 16 Feb 2024 13:10:57 +0200 Subject: [PATCH] Condition fix --- ....AutoInstrumentation.AdditionalDeps.csproj | 2 +- .../Properties/launchSettings.json | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 test/test-applications/integrations/TestApplication.Smoke/Properties/launchSettings.json diff --git a/src/OpenTelemetry.AutoInstrumentation.AdditionalDeps/OpenTelemetry.AutoInstrumentation.AdditionalDeps.csproj b/src/OpenTelemetry.AutoInstrumentation.AdditionalDeps/OpenTelemetry.AutoInstrumentation.AdditionalDeps.csproj index 5bb70ce2b9..f4e28aacfe 100644 --- a/src/OpenTelemetry.AutoInstrumentation.AdditionalDeps/OpenTelemetry.AutoInstrumentation.AdditionalDeps.csproj +++ b/src/OpenTelemetry.AutoInstrumentation.AdditionalDeps/OpenTelemetry.AutoInstrumentation.AdditionalDeps.csproj @@ -21,7 +21,7 @@ x64 $(StoreOutputBasePath) - + arm64 $(StoreOutputBasePath) diff --git a/test/test-applications/integrations/TestApplication.Smoke/Properties/launchSettings.json b/test/test-applications/integrations/TestApplication.Smoke/Properties/launchSettings.json new file mode 100644 index 0000000000..7c15db8f95 --- /dev/null +++ b/test/test-applications/integrations/TestApplication.Smoke/Properties/launchSettings.json @@ -0,0 +1,34 @@ +{ + "profiles": { + "TestApplication.Smoke": { + "commandName": "Project", + "environmentVariables": { + "CORECLR_ENABLE_PROFILING": "1", + "CORECLR_PROFILER": "{918728DD-259F-4A6A-AC2B-B85E1B658318}", + "CORECLR_PROFILER_PATH": "F:\\Dev\\forks\\rassk\\opentelemetry-dotnet-instrumentation\\bin\\tracer-home\\win-x64\\OpenTelemetry.AutoInstrumentation.Native.dll", + "CORECLR_PROFILER_PATH_32": "F:\\Dev\\forks\\rassk\\opentelemetry-dotnet-instrumentation\\bin\\tracer-home\\win-x86\\OpenTelemetry.AutoInstrumentation.Native.dll", + "CORECLR_PROFILER_PATH_64": "F:\\Dev\\forks\\rassk\\opentelemetry-dotnet-instrumentation\\bin\\tracer-home\\win-x64\\OpenTelemetry.AutoInstrumentation.Native.dll", + "COR_ENABLE_PROFILING": "1", + "COR_PROFILER": "{918728DD-259F-4A6A-AC2B-B85E1B658318}", + "COR_PROFILER_PATH": "F:\\Dev\\forks\\rassk\\opentelemetry-dotnet-instrumentation\\bin\\tracer-home\\win-x64\\OpenTelemetry.AutoInstrumentation.Native.dll", + "COR_PROFILER_PATH_32": "F:\\Dev\\forks\\rassk\\opentelemetry-dotnet-instrumentation\\bin\\tracer-home\\win-x86\\OpenTelemetry.AutoInstrumentation.Native.dll", + "COR_PROFILER_PATH_64": "F:\\Dev\\forks\\rassk\\opentelemetry-dotnet-instrumentation\\bin\\tracer-home\\win-x64\\OpenTelemetry.AutoInstrumentation.Native.dll", + "DOTNET_ADDITIONAL_DEPS": "F:\\Dev\\forks\\rassk\\opentelemetry-dotnet-instrumentation\\bin\\tracer-home\\AdditionalDeps", + "DOTNET_SHARED_STORE": "F:\\Dev\\forks\\rassk\\opentelemetry-dotnet-instrumentation\\bin\\tracer-home\\store", + "DOTNET_STARTUP_HOOKS": "F:\\Dev\\forks\\rassk\\opentelemetry-dotnet-instrumentation\\bin\\tracer-home\\net\\OpenTelemetry.AutoInstrumentation.StartupHook.dll", + "OTEL_DOTNET_AUTO_HOME": "F:\\Dev\\forks\\rassk\\opentelemetry-dotnet-instrumentation\\bin\\tracer-home\\", + "OTEL_DOTNET_AUTO_TRACES_CONSOLE_EXPORTER_ENABLED": "true", + "OTEL_DOTNET_AUTO_METRICS_CONSOLE_EXPORTER_ENABLED": "true", + "OTEL_DOTNET_AUTO_METRICS_ENABLED": "false", + "OTEL_LOG_LEVEL": "debug", + "OTEL_SECRET_STUFF": "my-secret-here", + "OTEL_RANDOM_STUFF": "my-random-here", + "OTEL_DOTNET_AUTO_RULE_ENGINE_ENABLED": "true", + "OTEL_TRACES_EXPORTER": "none", + "OTEL_METRICS_EXPORTER": "none", + "OTEL_DOTNET_AUTO_FAIL_FAST_ENABLED": "true" + }, + "nativeDebugging": true + } + } +} \ No newline at end of file