Skip to content

Commit c3b8c5b

Browse files
committed
Change to standar name of env variable to connect to App Insights
1 parent 9442d66 commit c3b8c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/dotnetcore/Providers/OpenTelemetry/OpenTelemetryAzureMonitor/AzureAppInsights.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace GeneXus.OpenTelemetry.Azure
1313
public class AzureAppInsights : IOpenTelemetryProvider
1414
{
1515
private static readonly ILog log = LogManager.GetLogger(typeof(AzureAppInsights));
16-
private const string AZURE_OTEL_EXPORTER_CONNECTIONSTRING = "AZURE_OTEL_EXPORTER_CONNECTIONSTRING";
16+
private const string AZURE_OTEL_EXPORTER_CONNECTIONSTRING = "APPLICATIONINSIGHTS_CONNECTION_STRING";
1717
private const string ACTIVITY_SOURCE = "OTel.AzureMonitor.GXApp";
1818
private const string ACTIVITY_NAME = "GeneXusApplicationActivity";
1919

0 commit comments

Comments
 (0)