Leonardo
Leonardo

Reputation: 11387

ApplicationInsigths.config being ignored

It looks like that the ApplicationInsights.config file in my application is being ignored because:

Is 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

Answers (1)

awh112
awh112

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

Related Questions