Apache HTTP client instrumentation
See original GitHub issueIt looks like there is already OkHttp instrumentation (which isn’t documented as far as I can tell). It would be nice if there were also instrumentation for the Apache HTTP client. This would help achieve HTTP client instrumentation in cases where people are using the HTTP client directly (instead of through RestTemplate
in a Spring application) or for things like the Elasticsearch Java Low Level REST.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:19
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Instrumenting Apache HttpClient - Dropwizard Metrics
InstrumentedHttpClients follows the HttpClients builder pattern and adds per-HTTP method timers for HTTP requests. Metric naming strategies. The default per- ...
Read more >Apache HTTP Client Instrumentation | OpenTelemetry
This library provides a Apache HTTP Client instrumentation to track requests through OpenTelemetry.
Read more >HttpClient Overview - Apache HttpComponents
Supports encryption with HTTPS (HTTP over SSL) protocol. Pluggable socket factories and TLS strategies. Transparent message exchanges through HTTP/1.1 and HTTP/ ...
Read more >opentelemetry-apache-httpclient-4.3 : 1.5.2-alpha
Instrumentation of Java libraries using OpenTelemetry. Licenses. The Apache License, Version 2.0. Home page, https://github.com/open-telemetry/opentelemetry ...
Read more >MicrometerHttpRequestExecutor (micrometer-core 1.2.0 API)
Use this method to create an instance of MicrometerHttpRequestExecutor . org.apache.http.HttpResponse, execute(org.apache.http.HttpRequest request, org.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Would be great to also have metrics for monitoring the connection pools of the
PoolingHttpClientConnectionManager
.When enabling
DEBUG
output fororg.apache.http.impl.conn.PoolingHttpClientConnectionManager
, you can see numbers such as this line in your log file:[total kept alive: 2; route allocated: 2 of 10; total allocated: 2 of 50]
. It would be very helpful, if we could monitor these numbes using Micrometer/Prometheus.Just want to inform you, that we have a solution for monitoring the connection pools here at @willhaben. I’ll contribute it as soon as we tested it with one of our applications.