microsoft / microsoft/aspire.dev

Issues with app insights configuration

Open
#763 1 comment 0 reactions 1 assignee Claimed by @IEvangelist View on GitHub
Dominant language
MDX
Stars
193
Forks
87
Avg merge
1d 22h
Merged PRs (30d)
73

Description

I think option 1 is missing `builder.UseAzureMonitor()`:

https://github.com/microsoft/aspire.dev/blob/acb4c3412099eb37d6aa314befd4275d1993a501/src/frontend/src/content/docs/integrations/cloud/azure/azure-application-insights.mdx?plain=1#L237-L240

Also option 2 (`GetConnectionString`) won't work because app insights uses the environment variable `APPLICATIONINSIGHTS_CONNECTION_STRING` and not `ConnectionStrings_`:

https://github.com/microsoft/aspire.dev/blob/acb4c3412099eb37d6aa314befd4275d1993a501/src/frontend/src/content/docs/integrations/cloud/azure/azure-application-insights.mdx?plain=1#L244-L254

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.