# Microsft SQL Server Extension - Best Practices

**URL:** <https://community.dynatrace.com/t/microsft-sql-server-extension-best-practices/53575>\
**Category:** Extensions\
**Tags:** databases, sql, mssql, extensions\
**Created:** [October 1, 2025, 8:55am UTC](https://community.dynatrace.com/t/microsft-sql-server-extension-best-practices/53575 "2025-10-01T08:55:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Joao1](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@Joao1](https://community.dynatrace.com/u/Joao1)\
**Post date:** [October 1, 2025, 8:55am UTC](https://community.dynatrace.com/t/microsft-sql-server-extension-best-practices/53575/1 "2025-10-01T08:55:06Z")

</div>

Hello,

I’m currently implementing a solution to monitor various Microsoft SQL Server Instances and Databases in a client. I’m currently having trouble with some metrics not having information about some databases. I was reading the documentation and i found this:

## Limitations

### Aggregated metrics for database files

The two metrics below

- sql-server.databases.file.usedSpace
- sql-server.databases.file.emptySpace

are only reported for the database the extension is currently connected to. This is due to&nbsp;sys.allocation\_units&nbsp;only containing information about used pages of the database that is currently used inside the connection.

That got me wondering about this part “are only reported for the database the extension is currently connected to”.

Now the question:

Does that mean that if a certain instance has 30 databases, when defining the endpoint, instead of just having the instance defined and only 1 endpoint, i need to define 30 endpoints with each having its own database explicited?

Thanks in advance,

João

---

_[View the full topic](https://community.dynatrace.com/t/microsft-sql-server-extension-best-practices/53575)._
