Code Monkey home page Code Monkey logo

Comments (11)

sanjeevp avatar sanjeevp commented on May 17, 2024

Or allow the proxy settings to be specifiable in the ApplicationInsights.xml config file.

from applicationinsights-java.

shamiwillms avatar shamiwillms commented on May 17, 2024

Our company (Synopsys) is needing to decide on what product to use for gathering metrics soon and I think App Insights offers a very compelling product for us to use. Unfortunately this is a blocker issue for us (as mentioned above).

Getting it fixed soon would help unblock us from potentially using App Insights in our products and allow us to do a full evaluation of the product.

What is the expected timeframe for getting this fixed?

from applicationinsights-java.

dhaval24 avatar dhaval24 commented on May 17, 2024

@shamiwillms really excited for Synopsys to try Application Insights. If you don't mind can you please elaborate on describing the problem which is blocking you and what all features are you considering most important in deciding the product for gathering metrics. We would be more than happy to talk and know your opinion. As far as this particular problem is concerned we will try to get it addressed as soon as possible and more the details you provide the quicker we might be able to resolve it.

from applicationinsights-java.

sanjeevp avatar sanjeevp commented on May 17, 2024

@dhaval24 To be more precise, we have some micro services that need to communicate with each other. They do this over HTTP using the Apache http clients. This environment is closed to the internet and only a few privileged connections are allowed to go though using a proxy. We whitelisted the App Insights servers in the proxy, but because of the global nature of the proxy configuration, ALL http connections were being routed through the proxy, unfortunately this meant our services could no longer talk to each other as the proxy is meant only for connections to the internet.

If the proxy settings were namespaced, then our Apache clients would continue to connect to our services without going through the proxy and the App Insights client can connect to the App Insights server through the proxy.

Hope that makes our problem clearer.

from applicationinsights-java.

dhaval24 avatar dhaval24 commented on May 17, 2024

@sanjeevp thanks for the detailed explanation. We will try to look into it and update the time frame when we believe this would roll out. In the mean while if you have any suggestions on how we can best accomplish this, you are most welcomed to let us know or even create a pull request.

from applicationinsights-java.

dhaval24 avatar dhaval24 commented on May 17, 2024

@sanjeevp have you given this (https://github.com/Microsoft/ApplicationInsights-Java/wiki/Using-an-HTTP-Proxy) a try? Does it solve your problem.

from applicationinsights-java.

sanjeevp avatar sanjeevp commented on May 17, 2024

@dhaval24 That is precisely the nature of the problem, those settings apply to every client, not just the ApplicationInsights client.

from applicationinsights-java.

dhaval24 avatar dhaval24 commented on May 17, 2024

@sanjeevp got it. So that means that if you use the above settings it will set the proxy for every other client running in the web application and not just for the application insights client and you would like to have a seperate namespaced proxy to be used only for application insights client and similarly all your other clients also have their own proxy. Is that correct? If this is the problem it might not be addressed atleast in the next upcoming versions. We will try to resolve it in 1.0.11 if possible. We might even move to native clients instead of apache and we would need to make that decision before we address this problem.

from applicationinsights-java.

sanjeevp avatar sanjeevp commented on May 17, 2024

Yes, that is correct.

from applicationinsights-java.

littleaj avatar littleaj commented on May 17, 2024

@trask @AlexKlimovMS This still seems relevant

from applicationinsights-java.

trask avatar trask commented on May 17, 2024

Addressed in 3.0 Preview: https://docs.microsoft.com/en-us/azure/azure-monitor/app/java-standalone-config#http-proxy

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.