Azure / Azure/data-api-builder
Create Custom Events for Application Insights
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 370
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 8
Description
Custom events in Azure Application Insights are used to track and visualize custom scenarios or occurrences in the application that aren't automatically captured by Application Insights. They can be used to track business events or user interactions that are specific to an application.
Adding custom events can provide valuable insights into how users are interacting with an application, which features are being used the most, and where potential issues or bottlenecks might be occurring. They can help us understand user behavior, measure the effectiveness of features, and identify areas for improvement.
### Custom events ideas:
1. Error
1. Transient DB error
2. 500 error
3. bad request (these may be numerous, so allow dev to subscribe/unsubscribe)
4. database connection issue
5. config issue (validation issue/ or value results in engine startup failure)
2. Request Received
- REST
- GraphQL
- Identify popular endpoints/entities and sort by data source/database type.
3. Start/Stop/Reload for DAB engine
4. Config file events
1. Loaded
2. Hot-Reloaded
3. Merged
4. Config Found
5. Feature usage (allow dev to see feature usage, not Microsoft)
1. Multiple Mutations
2. Caching (also can emit events to show cache hits/misses to allow devs to optimize their dab config cache settings)
3. Role usage across requests
Contributor guide
Assessment
This issue has not been assessed yet.