17 references to EnvironmentVariables
Aspire.Hosting.RemoteHost (4)
Diagnostics\RemoteHostProfilingTelemetry.cs (4)
119return IsTruthy(configuration?[EnvironmentVariables.Enabled]) || 313var traceParent = GetConfigurationValue(configuration, EnvironmentVariables.TraceParent, KnownConfigNames.Legacy.StartupTraceParent); 314var traceState = GetConfigurationValue(configuration, EnvironmentVariables.TraceState, KnownConfigNames.Legacy.StartupTraceState); 327return GetConfigurationValue(configuration, EnvironmentVariables.SessionId, KnownConfigNames.Legacy.StartupOperationId);
Aspire.Hosting.RemoteHost.Tests (13)
AssemblyLoaderTests.cs (1)
178[RemoteHostProfilingTelemetry.EnvironmentVariables.Enabled] = "true",
RemoteHostProfilingTelemetryTests.cs (12)
19(RemoteHostProfilingTelemetry.EnvironmentVariables.Enabled, "true"))); 69(RemoteHostProfilingTelemetry.EnvironmentVariables.Enabled, "true"), 70(RemoteHostProfilingTelemetry.EnvironmentVariables.SessionId, "session-1"), 71(RemoteHostProfilingTelemetry.EnvironmentVariables.TraceParent, traceParent), 72(RemoteHostProfilingTelemetry.EnvironmentVariables.TraceState, traceState))); 106(RemoteHostProfilingTelemetry.EnvironmentVariables.Enabled, "true"))); 133(RemoteHostProfilingTelemetry.EnvironmentVariables.Enabled, "true"))); 155(RemoteHostProfilingTelemetry.EnvironmentVariables.Enabled, "true"))); 183(RemoteHostProfilingTelemetry.EnvironmentVariables.Enabled, "true"), 184(RemoteHostProfilingTelemetry.EnvironmentVariables.SessionId, "session-1"))); 224(RemoteHostProfilingTelemetry.EnvironmentVariables.Enabled, "true"), 228(RemoteHostProfilingTelemetry.EnvironmentVariables.Enabled, "true"),