mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-25 04:34:13 +00:00
Initial Move from Azure DevOps to GitHub
This commit is contained in:
10
src/Shared/appInsights.ts
Normal file
10
src/Shared/appInsights.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { ApplicationInsights } from "@microsoft/applicationinsights-web";
|
||||
const appInsights = new ApplicationInsights({
|
||||
config: {
|
||||
instrumentationKey: "fa645d97-6237-4656-9559-0ee0cb55ee49"
|
||||
}
|
||||
});
|
||||
appInsights.loadAppInsights();
|
||||
appInsights.trackPageView(); // Manually call trackPageView to establish the current user/session/pageview
|
||||
|
||||
export { appInsights };
|
||||
Reference in New Issue
Block a user