Coder Social home page Coder Social logo

Not possible to register WebApp name/key properly when using WebRequestTrackingFilter in Spring boot about applicationinsights-java HOT 5 CLOSED

microsoft avatar microsoft commented on May 27, 2024 2
Not possible to register WebApp name/key properly when using WebRequestTrackingFilter in Spring boot

from applicationinsights-java.

Comments (5)

tomaszglinski avatar tomaszglinski commented on May 27, 2024

I managed to fix that by implementing wrappers for WebRequestTrackingFilter, FilterContext and ServletContext classes, but that was a dirty hack...
Strange that such parameter has not been added from the very beginning...

from applicationinsights-java.

ericis avatar ericis commented on May 27, 2024

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)

from applicationinsights-java.

twsouthwick avatar twsouthwick commented on May 27, 2024

@tomaszglinski What was the work around that you did?

from applicationinsights-java.

tomaszglinski avatar tomaszglinski commented on May 27, 2024

@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)

from applicationinsights-java.

dhaval24 avatar dhaval24 commented on May 27, 2024

fixed in #449 with a public constructor to register the name of spring boot application. Later we will take the approach of #461 for better SpringBoot Integration.

from applicationinsights-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.