Skip to content

Commit

Permalink
swapped applicationInsights for openTelemetry (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlhaufe authored Jul 30, 2024
1 parent 77b8b50 commit d69fdd7
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 121 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ AUTH_ORIGIN: https://localhost:3000
# SLACK_ADMIN_MEMBER_ID: ***
# SLACK_BOT_TOKEN: ***
# SLACK_SIGNING_SECRET: ***
# APPINSIGHTS_CONNECTIONSTRING: ***
# APPLICATIONINSIGHTS_CONNECTION_STRING: ***
# APPINSIGHTS_INSTRUMENTATIONKEY: ***
4 changes: 2 additions & 2 deletions azure/bicep/modules/appService.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ resource appService 'Microsoft.Web/sites@2023-12-01' = {
http20Enabled: true
appSettings: [
{
name: 'APPINSIGHTS_INSTRUMENTATIONKEY'
name: 'APPLICATIONINSIGHTS_INSTRUMENTATIONKEY'
value: appInsightsInstrumentationKey
}
{
name: 'APPINSIGHTS_CONNECTIONSTRING'
name: 'APPLICATIONINSIGHTS_CONNECTION_STRING'
value: appInsightsConnectionString
}
{
Expand Down
149 changes: 51 additions & 98 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
"orm-seed-roles": "mikro-orm-esm seeder:run -c AppRoleSeeder"
},
"dependencies": {
"@azure/monitor-opentelemetry": "^1.6.0",
"@mikro-orm/core": "^6.3.0",
"@mikro-orm/postgresql": "^6.3.0",
"@mikro-orm/reflection": "^6.3.0",
"@mikro-orm/seeder": "^6.3.0",
"@sidebase/nuxt-auth": "^0.8.1",
"@slack/web-api": "^7.3.1",
"@vite-pwa/nuxt": "^0.9.1",
"applicationinsights": "^3.2.1",
"mermaid": "^10.9.1",
"nuxt": "^3.12.4",
"nuxt-primevue": "^3.0.0",
Expand Down
19 changes: 0 additions & 19 deletions plugins/appInsights.server.ts

This file was deleted.

Loading

0 comments on commit d69fdd7

Please sign in to comment.