Reputation: 11387
It looks like that the ApplicationInsights.config
file in my application is being ignored because:
MaxTelemetryItemsPerSecond
to 1, yet, it's still floodingTelemetryChannel
to a custom one, and it's stopping at breakpoints, neither behaving as I expectedIs there something i'm missing? perhaps a reference to the file somewhere?
my goal is to implement: http://apmtips.com/blog/2015/05/06/diy-data-sampling/ (but not sampling, but filtering out some traces and etc)
Edit1: perhaps this is something that is supposed to be ignored on dev environment?
Upvotes: 1
Views: 155
Reputation: 1484
Have you tried looking at the /bin/
directory in the same directory and made sure that there is no "phantom" file there? I found something (actually on the same site as the one you linked above) that shows the search order looks there first.
Take a look here: http://apmtips.com/blog/2014/12/23/applicationinsights-dot-config-file-search-order/ for what I found.
Upvotes: 1