# HTTP and JDBC connectionPool Stats

**URL:** <https://discuss.elastic.co/t/http-and-jdbc-connectionpool-stats/177154>\
**Category:** APM\
**Created:** [April 16, 2019, 9:15pm UTC](https://discuss.elastic.co/t/http-and-jdbc-connectionpool-stats/177154 "2019-04-16T21:15:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rdhanpal](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/32.png) [@rdhanpal](https://discuss.elastic.co/u/rdhanpal)\
**Post date:** [April 16, 2019, 9:15pm UTC](https://discuss.elastic.co/t/http-and-jdbc-connectionpool-stats/177154/1 "2019-04-16T21:15:09Z")

</div>

Hello,  
I would like to know if java apm agent supports/captures http and jdbc connection pool metrics for application running on websphere Liberty or tomcat container. Please advise.

Kibana version:6.7

Elasticsearch version:6.7

APM Server version:6.6

APM Agent language and version:Java APM agent v1.4.0

Thanks  
Rahul.

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [April 17, 2019, 6:06am UTC](https://discuss.elastic.co/t/http-and-jdbc-connectionpool-stats/177154/2 "2019-04-17T06:06:33Z")

</div>

Hi and welcome to the forum 🎉

Currently that is not supported. We have an open issue about capturing for JMX metrics: [https://github.com/elastic/apm-agent-java/issues/469](https://github.com/elastic/apm-agent-java/issues/469)

If your application server and connection pool (which one are you using?) publish JMX metrics, you will be able to configure that those metrics should be captured by the agent.

Feel free to upvote that issue.

Thanks,  
Felix

---

<div class="post-metadata">

**Author:** ![rdhanpal](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/32.png) [@rdhanpal](https://discuss.elastic.co/u/rdhanpal)\
**Post date:** [April 17, 2019, 1:30pm UTC](https://discuss.elastic.co/t/http-and-jdbc-connectionpool-stats/177154/3 "2019-04-17T13:30:23Z")

</div>

Thanks for the response Felix.  
Can you tell if HTTP and JDBC connectionpool stats will be part of a future java-apm release ?

Thanks  
Rahul

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [April 17, 2019, 1:49pm UTC](https://discuss.elastic.co/t/http-and-jdbc-connectionpool-stats/177154/4 "2019-04-17T13:49:15Z")

</div>

Your best bet would be to create a [feature request in the GitHub repo](https://github.com/elastic/apm-agent-java/issues/new?template=Feature_request.md). I think it would be a great feature to have out-of-the-box.

---

<div class="post-metadata">

**Author:** ![rdhanpal](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/32.png) [@rdhanpal](https://discuss.elastic.co/u/rdhanpal)\
**Post date:** [April 17, 2019, 1:50pm UTC](https://discuss.elastic.co/t/http-and-jdbc-connectionpool-stats/177154/5 "2019-04-17T13:50:24Z")

</div>

Will do. Thank You

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 8, 2019, 9:50am UTC](https://discuss.elastic.co/t/http-and-jdbc-connectionpool-stats/177154/6 "2019-05-08T09:50:29Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
