Skip to content

Save the appinsights connectionString in an environment variable #489

@Karlo-Emilo

Description

@Karlo-Emilo

so we set connectionString to process.env.APPINSIGHTS_CONNECT and define the environment variable in the Azure webapp environment.

By doing this, we can set the connectionString in the specific webapp instance and ensure that we only track data for that instance.

If the environment variable does not exist (e.g. in dev environments or test instances), appInsights should not be loaded.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions