microsoft / ApplicationInsights-SDK-Labs

Application Insights experimental projects repository
MIT License
61 stars 48 forks source link

[AzureWeAppCounters] Trace UserActionable trace message if counter is not supported so it will be easier to troubleshoot #60

Closed SergeyKanzhelev closed 7 years ago

SergeyKanzhelev commented 8 years ago
  1. Create an EventSource like this: https://github.com/Microsoft/ApplicationInsights-SDK-Labs/blob/customCounters/AggregateMetrics/AggregateMetrics/AggregateMetricsEventSource.cs Keep Microsoft-ApplicationInsights-Extensibility prefix
  2. Define Error-level event marked as UserActionable that will say something like "Counter {0} is not supported by Azure Web App" and pass the counters name
  3. Report this error from Module