Skip to content

Commit

Permalink
feat: support ApplicationInsights-JS v3
Browse files Browse the repository at this point in the history
feat: support ApplicationInsights-JS v3
Upgraded to ApplicationInsights-JS v3
.Net 8 and Blazor Web App Support
API has been updated to align more closely with the ApplicationInsights-JS
Added ability to update settings at runtime using UpdateCfg
BREAKING CHANGE
  • Loading branch information
IvanJosipovic authored Nov 25, 2023
1 parent 4f34feb commit c76f739
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,3 @@ public static async Task Main(string[] args)
}

```

2 changes: 1 addition & 1 deletion samples/BlazorApplicationInsights.Sample.Wasm/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static async Task Main(string[] args)
{
var telemetryItem = new TelemetryItem()
{
Tags = new Dictionary<string, object>()
Tags = new Dictionary<string, object?>()
{
{ "ai.cloud.role", "SPA" },
{ "ai.cloud.roleInstance", "Blazor Wasm" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<Nullable>enable</Nullable>
<PackageReadmeFile>README.md</PackageReadmeFile>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<IsTrimmable>true</IsTrimmable>
<IsTrimmable>false</IsTrimmable>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit c76f739

Please sign in to comment.