Application Insights - be able to sample or filter logged data
As a customer and implementation partner using DXP I would like either:
- a built-in tool somewhere, in the DXP portal, optimizely or Azure, to be able to filter out unwanted third party dependencies from being logged to the DXP Application Insights,
or
- the permissions to add our own sampling in Application Insights.
Optimizely DXP injects Application Insights (via required headers) and we cannot opt out of that. We don't have any way to sample the data logged to that Application Insights instance.
We get alerts about "DXC - Production Application Insight Daily cap reached" on logged data that is mainly third party dependencies injected from marketing tools that we have no control over.
There is no documentation or best practices at Optimizely on how to implement custom filtering of these.
We have implemented a custom browserside filter in Optimizely where we can filter out the logging if unwanted third party dependencies. And we need to look up such unwanted dependencies ourselves in App Insights at regular intervals.
This works well, the number of logged dependencies are now much lower.
However, it would give us a much better experience and value from the product if it was not forced upon every customer to implement their own filter.