Skip to content

Commit

Permalink
Change config for logging and remove from web
Browse files Browse the repository at this point in the history
  • Loading branch information
Bron N Thulke committed Jun 30, 2024
1 parent b989635 commit 96ef422
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 185 deletions.
3 changes: 1 addition & 2 deletions api/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
"isEnabled": true
}
}
}
Expand Down
172 changes: 2 additions & 170 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"servelocal": "npm run build && swa start dist --api api"
},
"dependencies": {
"@microsoft/applicationinsights-web": "^3.2.2",
"bootstrap": "^4.6.0",
"bootstrap-vue": "^2.21.2",
"core-js": "^3.6.4",
Expand Down
12 changes: 0 additions & 12 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
import Vue from 'vue'
import App from './App.vue'
import { ApplicationInsights } from '@microsoft/applicationinsights-web'

import 'bootstrap/dist/css/bootstrap.css'
import '@/styles.css'

Vue.config.productionTip = false

const appInsights = new ApplicationInsights({
config: {
connectionString: "process.env.VUE_APP_APPINSIGHTS_CONNECTION_KEY"
/* …Other Configuration Options… */
}
});

appInsights.loadAppInsights();

appInsights.trackPageView();

new Vue({
render: h => h(App),
}).$mount('#app')

0 comments on commit 96ef422

Please sign in to comment.