# Capture the performance counters of an ADO.NET based application

**URL:** <https://community.dynatrace.com/t/capture-the-performance-counters-of-an-ado-net-based-application/32084>\
**Category:** Open Q&A\
**Tags:** activegate, oneagent, dotnet\
**Created:** [July 13, 2021, 1:20am UTC](https://community.dynatrace.com/t/capture-the-performance-counters-of-an-ado-net-based-application/32084 "2021-07-13T01:20:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![raviteja](https://avatars.discourse-cdn.com/v4/letter/r/bc79bd/32.png) [@raviteja](https://community.dynatrace.com/u/raviteja)\
**Post date:** [July 13, 2021, 1:20am UTC](https://community.dynatrace.com/t/capture-the-performance-counters-of-an-ado-net-based-application/32084/1 "2021-07-13T01:20:24Z")

</div>

I have [ADO.NET](http://ADO.NET) based application which will make a call for the database. I need to capture the details of performance counters (NumberofActiveConnectionpools, NumberofInactiveConnections…etc) from application side. OneAgents are installed on both application and database layers. Will Dynatrace automatically capture those details. If not I want to capture those details form [ADO.NET](http://ADO.NET) based application and send the details as custom metrics to Dynatrace using oneAgent/ActiveGate plugin with python.&nbsp; What will be the appropriate solution for this scenario.

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [August 3, 2021, 2:04pm UTC](https://community.dynatrace.com/t/capture-the-performance-counters-of-an-ado-net-based-application/32084/2 "2021-08-03T14:04:27Z")

</div>

If you have the Oneagent on both sides they you should have the data you are looking for. If you need more data you can always test out an extension
