Skip to content

Commit 1f5dcf4

Browse files
committed
Update telemetry configuration to use ConnectionString instead of InstrumentationKey
1 parent 407d563 commit 1f5dcf4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Convey.Logging/src/Convey.Logging/Extensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ [new Uri(elkOptions.Url)],
193193

194194
if (!string.IsNullOrEmpty(azureOptions.InstrumentationKey))
195195
{
196-
telemetryConfiguration.InstrumentationKey = azureOptions.InstrumentationKey;
196+
telemetryConfiguration.ConnectionString = azureOptions.InstrumentationKey;
197197
}
198198

199199
switch (azureOptions.LogType)

0 commit comments

Comments
 (0)