Exclude Azure´s AlwaysOn calls
Is your feature request related to a problem? Using Azure´s "Always On" feature pings "/" every 5 minutes. This fills up my applications insights with messages that has no use to me. It also shows up in the application map, which then gives me a false number for the amount of requests.
This path cannot be excluded in the OPENCENSUS EXCLUDELIST_PATHS, is it is using a string.startswith() https://github.com/census-instrumentation/opencensus-python/blob/d63d295851e7361657d714c5cd0835e7cd7d0847/opencensus/trace/utils.py#L45-L70
Describe the solution you'd like. I would like some sort of pattern to exclude the Azure AlwaysOn feature. Eg. ["!!AzureAlwaysOn"].
Describe alternatives you've considered. I would be able to use [""] as a EXCLUDELIST_PATHS, but that would exclude everything.
Additional context. Using Django.
The Azure AlwaysOn call example: http://localhost:8000/ eg. GET /
Hi, any progress on this?
At work we are using the FastAPI extension to log to Azure Insights and the Azure pings to “/“ are really cluttering our logs.
I would be very grateful for a solution or workaround on this.