• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Oliver E. · Jan 23, 2015 at 01:12 AM · plugins

Apache HTTPClient Monitoring

The Apache HTTPClient 4.3 is using a Connection Pool. We would like to Monitor the available Connection Pool Stats.

The Code is is using the org.apache.impl.conn.PoolingHttpClientConectionManager. With getTotalStats() or getStats(HttpRoute route) you can get an org.apache.http.pool.PoolStats class containing available, leased, max and pending connections. All this values are int values.

Is there a plugin or extension available?

Is there another way to monitor the pool with allready available Dynatrace features?

 

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

4 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Andreas G. · Jan 23, 2015 at 01:34 AM

I assume/hope there is a JMX Metric that you can poll. Create a new Custom JMX MEtric and then use the Metric Browser available in that Metric Definition to see which JMX Metrics are avaiable and whether you can find one for that connection Pool

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Oliver E. · Jan 23, 2015 at 01:49 AM

 

I did open the new Custom JMX Measure and than used the Metric Browser.  I selected an agent with the application using the apache httpclient connection pool. But sadly there are no JMX Metric available for this connection pool. 

 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Jan 23, 2015 at 02:03 AM

Just found this on github: https://github.com/pqian/httpclient-jmx

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Oliver E. · Jan 28, 2015 at 11:43 PM

Just looked at the github "httpclient-jmx". It is not working with httpclient 4.3.4 PoolingHttpClientConnectionManager. (sad)
We try to adjust the code to our needs. I will post if we have a solution.

One big disadvantage is, that the programmers need to change the applications and include the "httpclient-jmx". Is there a other possibility to montior the Connection Pools with out the need to change the applications?     

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

interface to close incidents?

meaning of SNMP message

Plugin Development - Packaging Of Plugin

Can I use the plugin-Log file scraper to monitor the Weblogic on AIX ?

Any plugin/way to see vmware hardware parameters like battery, fan, processors?

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A