Comments (11)
Or allow the proxy settings to be specifiable in the ApplicationInsights.xml config file.
from applicationinsights-java.
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.
@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.
@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.
@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.
@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.
@dhaval24 That is precisely the nature of the problem, those settings apply to every client, not just the ApplicationInsights client.
from applicationinsights-java.
@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.
Yes, that is correct.
from applicationinsights-java.
@trask @AlexKlimovMS This still seems relevant
from applicationinsights-java.
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)
- Azure Security reports CVE-2018-1000011 HOT 4
- General Availability target for sampling overrides HOT 5
- in the latest JAR 3.4.18, there are two HIGH Vulnerabilities CVE-2023-6378 with ch.qos.logback:logback-classic and ch.qos.logback:logback-core HOT 2
- Classic SDK TelemetryClient not capturing any data HOT 4
- Add ability to disable reactor instrumentation HOT 3
- Allow connectionString to be overridden multiple times without restarting the AppInsights Agent HOT 5
- 3.4.19 + Ktor OpenTelemetry - ClassCastException HOT 5
- Possibly incorrect mapping of Trace ID and Span ID HOT 8
- Unable to suppress dependencies using java agent HOT 12
- Java log4j2: Log messages go missing sporadically, especially in multi-threaded scenarios HOT 1
- how to turn off customMetrics, performanceCounters and metrics HOT 8
- TimeoutException when ingesting logs into AI HOT 13
- Help to ignore InProc sampling dependencies HOT 5
- Problem to configure sampling override HOT 6
- Auto-instrumentation support for Pekko 1.0.0 in Java agent HOT 2
- Q: regarding agent not being able to attach. HOT 5
- TRACE log level causes an application to fail HOT 10
- [Question] Why relocate logback packages and configuration files HOT 2
- How to add a Prefix to the names of the default captured metrics HOT 4
- Azure function app integration to Dynatrace in Linux with Open telemetry HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from applicationinsights-java.