Skip to content

Commit edc21e2

Browse files
authored
AzureMonitorTraceExporter
instrumentationKey is not working; have to change it to connectionString
1 parent 9af99a5 commit edc21e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-monitor/app/opentelemetry-enable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ provider.register();
228228

229229
// Create an exporter instance.
230230
const exporter = new AzureMonitorTraceExporter({
231-
instrumentationKey: "<Your Connection String>"
231+
connectionString: "<Your Connection String>"
232232
});
233233

234234
// Add the exporter to the provider.

0 commit comments

Comments
 (0)