-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not possible to register WebApp name/key properly when using WebRequestTrackingFilter in Spring boot #359
Comments
I managed to fix that by implementing wrappers for |
Yes, I'm getting the same error. It's not an enhancement IMO. Seems like a bug (e.g. if I used a modern .NET app and AppInsights failed to register, it'd probably be assumed to be a bug) |
@tomaszglinski What was the work around that you did? |
@twsouthwick I think I extended the mentioned classes to pass required parameter. Cannot say exactly, cause I removed that (I was only playing, I resigned from App insights because of those troubles) |
Hi,
When using the WebRequestTrackingFilter with a Spring boot application on the root context path the filter cannot register the web app name/key properly:
This seem to be due to dependencies to either having a (non-root) servlet context path set for the app or that the app is found under a class-loading path containing "WEB-INF", which is not the case for this Spring boot app.
Would be good if the initialisation config could read either the spring boot app name or to have some external configuration value to set for the web app name/key.
Thanks in advance
The text was updated successfully, but these errors were encountered: