# Explain the relations for database monitoring

**URL:** <https://community.dynatrace.com/t/explain-the-relations-for-database-monitoring/44686>\
**Category:** Open Q&A\
**Tags:** databases\
**Created:** [March 15, 2024, 11:20am UTC](https://community.dynatrace.com/t/explain-the-relations-for-database-monitoring/44686 "2024-03-15T11:20:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [March 15, 2024, 11:20am UTC](https://community.dynatrace.com/t/explain-the-relations-for-database-monitoring/44686/1 "2024-03-15T11:20:09Z")

</div>

Hello,

As an example mssql has 3 ways it is detected:

1- When a service does a query, dynatrace creates a “Database service”

2- (When running on the same host) the oneAgent detects a process running the database service

3- An extension (2.0) uses an end-point in its configuration

I notice that Dynatrace knows that 1 and 2 belong together, how does this work?

And how do I add 3 to the same?

KR Henk

---

<div class="post-metadata">

**Author:** ![rastislav\_danis](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@rastislav\_danis](https://community.dynatrace.com/u/rastislav_danis)\
**Post date:** [March 15, 2024, 12:08pm UTC](https://community.dynatrace.com/t/explain-the-relations-for-database-monitoring/44686/2 "2024-03-15T12:08:48Z")

</div>

I hoped for same at latest database extensions but unfortunately it seems still remained splitted. 1 & 2 can be joined via PG instance connections, but 3 - db extensions produces completely different entity types (f.e. for oracle: sql:com\_dynatrace\_extension\_sql-oracle\_instance), not connected (actually) to agent monitored hosts, PGs or db services.
