Skip to content

Commit

Permalink
286 add applicationinsights library to project (#289)
Browse files Browse the repository at this point in the history
* chore: Add nuxt-applicationinsights package to dependencies

* fix: Enable public network access for query in appInsights module
  • Loading branch information
mlhaufe authored Jul 29, 2024
1 parent f840622 commit 51d30b8
Show file tree
Hide file tree
Showing 5 changed files with 1,159 additions and 23 deletions.
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ AUTH_SECRET: e792b76a-2573-45d4-a39b-3b8db5712f9c
AUTH_ORIGIN: https://localhost:3000
SLACK_ADMIN_MEMBER_ID: ***
SLACK_BOT_TOKEN: ***
SLACK_SIGNING_SECRET: ***
SLACK_SIGNING_SECRET: ***
APPINSIGHTS_CONNECTIONSTRING: ***
APPINSIGHTS_INSTRUMENTATIONKEY: ***
2 changes: 1 addition & 1 deletion azure/bicep/modules/appInsights.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resource workspace 'Microsoft.OperationalInsights/workspaces@2023-09-01' = {
}
retentionInDays: 30
publicNetworkAccessForIngestion: 'Enabled'
publicNetworkAccessForQuery: 'Disabled'
publicNetworkAccessForQuery: 'Enabled'
workspaceCapping: {
dailyQuotaGb: 1
}
Expand Down
3 changes: 2 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export default defineNuxtConfig({
"@vite-pwa/nuxt",
"@sidebase/nuxt-auth",
"nuxt-security",
"nuxt-typed-router"
"nuxt-typed-router",
'nuxt-applicationinsights'
],
// https://sidebase.io/nuxt-auth/configuration/nuxt-config
auth: {
Expand Down
Loading

0 comments on commit 51d30b8

Please sign in to comment.