Comments (2)
I think you would need to use a TelemetryInitializer to do this. This library only has basic integration with this API and doesn't support filtering at this point.
See example here, https://learn.microsoft.com/en-us/azure/azure-monitor/app/api-filtering-sampling?tabs=javascriptwebsdkloaderscript#javascript-web-applications
At this point, this can be done manually by adding the TelemetryInitializer to your startup scripts.
from blazorapplicationinsights.
TelemetryInitializer will not fully be supported because the call is synchronous and JSInterop must be async.
from blazorapplicationinsights.
Related Issues (20)
- Dependency Dashboard
- Could not find 'appInsights.updateCfg' (Blazor Web Assembly stand-alone) HOT 4
- ConnectionString from server to client with v3.0.0 HOT 1
- Blazor Server -- updated to latest package, how to initialize... HOT 3
- Improve the error message when the SetAuthenticatedUserContext called too early
- Question: Is ASP.NET Core Hosted model supported for .NET 8? HOT 1
- Ingestion Endpoint in Connection String not respected in WASM standalone mode HOT 2
- Error after upgrading to 3.0.3 HOT 6
- Confusion about how to configure the application in a Blazor WASM Standalone application HOT 1
- NuGet Package 3.0.4 Application cannot start HOT 3
- Blazor Web App with Telemetry Initializer: Could not find 'blazorApplicationInsights.addTelemetryInitializer' ('blazorApplicationInsights' was undefined). HOT 2
- Script issues and vulnerabilities HOT 2
- Bug when combining Serilog HOT 1
- Missing "sampleRate" property on ITelemetryItem HOT 1
- FireFox: Could not find 'appInsights.updateCfg' ('updateCfg' was undefined). HOT 11
- Injection of the _content/BlazorApplicationInsights script fails when app is configured to serve static files from a folder
- Configure minimum LogLevel HOT 2
- Pass `IServiceProvider` to the `applicationInsights` lambda in order to make it more effective
- No telemetry after upgrading from 2.2.0 with dotnet 7 to 3.0.5 with dotnet 8 HOT 2
- Support the `addTelemetryInitializer` boolean delegate HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blazorapplicationinsights.