<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Database capacity - used and empty only showing data for master database in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Database-capacity-used-and-empty-only-showing-data-for-master/m-p/285366#M6701</link>
    <description>&lt;P&gt;Thank you Phani, I'm actually a DBA so I'm not sure how the extension was configured.&amp;nbsp; Do you know how to update the extension to get these 2 information for all databases? What values do we need to add to the endpoints/extension please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Sep 2025 01:32:10 GMT</pubDate>
    <dc:creator>jedecastro</dc:creator>
    <dc:date>2025-09-04T01:32:10Z</dc:date>
    <item>
      <title>Database capacity - used and empty only showing data for master database</title>
      <link>https://community.dynatrace.com/t5/Extensions/Database-capacity-used-and-empty-only-showing-data-for-master/m-p/285361#M6699</link>
      <description>&lt;P&gt;Hi Team, we need to provide monthly report on SQL server database capacity - (current size, used size, %free).&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm looking at these 3 metrics: sql-server.databases.file.size, sql-server.databases.file.usedSpace, sql-server.databases.file.emptySpace&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue is only sql-server.databases.file.size shows data for all databases.&amp;nbsp; The other 2 are only showing data for the "master" database and nothing else.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone know how to get all databases data from sql-server.databases.file.usedSpace and sql-server.databases.file.emptySpace ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Extension version is&amp;nbsp;&amp;nbsp;Microsoft SQL Server&amp;nbsp;&lt;SPAN&gt;2.2.2&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 06:13:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Database-capacity-used-and-empty-only-showing-data-for-master/m-p/285361#M6699</guid>
      <dc:creator>jedecastro</dc:creator>
      <dc:date>2025-09-08T06:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Database capacity - used and empty only showing data for master database</title>
      <link>https://community.dynatrace.com/t5/Extensions/Database-capacity-used-and-empty-only-showing-data-for-master/m-p/285365#M6700</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/80490"&gt;@jedecastro&lt;/a&gt;&amp;nbsp;How are the endpoints configured in the extension?&lt;/P&gt;&lt;P&gt;usedSpace and emptySpace is only reported for the database that the extension is currently connected to, if you want this metric for other databases , you need to have the config updated&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p_devulapalli_0-1756948889464.png" style="width: 591px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29944i510BEA8202BD1DCD/image-dimensions/591x206?v=v2" width="591" height="206" role="button" title="p_devulapalli_0-1756948889464.png" alt="p_devulapalli_0-1756948889464.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 01:27:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Database-capacity-used-and-empty-only-showing-data-for-master/m-p/285365#M6700</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2025-09-04T01:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Database capacity - used and empty only showing data for master database</title>
      <link>https://community.dynatrace.com/t5/Extensions/Database-capacity-used-and-empty-only-showing-data-for-master/m-p/285366#M6701</link>
      <description>&lt;P&gt;Thank you Phani, I'm actually a DBA so I'm not sure how the extension was configured.&amp;nbsp; Do you know how to update the extension to get these 2 information for all databases? What values do we need to add to the endpoints/extension please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 01:32:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Database-capacity-used-and-empty-only-showing-data-for-master/m-p/285366#M6701</guid>
      <dc:creator>jedecastro</dc:creator>
      <dc:date>2025-09-04T01:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Database capacity - used and empty only showing data for master database</title>
      <link>https://community.dynatrace.com/t5/Extensions/Database-capacity-used-and-empty-only-showing-data-for-master/m-p/285367#M6702</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/80490"&gt;@jedecastro&lt;/a&gt;&amp;nbsp;You need someone who has access to Dynatrace and has permissions to update the extension configuration. Below link has details around how to update the endpoint details , hope this helps&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/extend-microsoft-sql#define-endpoints" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/extend-microsoft-sql#define-endpoints&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 01:47:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Database-capacity-used-and-empty-only-showing-data-for-master/m-p/285367#M6702</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2025-09-04T01:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Database capacity - used and empty only showing data for master database</title>
      <link>https://community.dynatrace.com/t5/Extensions/Database-capacity-used-and-empty-only-showing-data-for-master/m-p/285368#M6703</link>
      <description>&lt;P&gt;Thank you Phani for the link.&amp;nbsp; I do have access to the extension and I can add endpoints.&amp;nbsp; But just to confirm that I understand correctly, if my SQL instance has 100 databases, in order for us to get the used/free space, we need to create 100 endpoints in the extension for each of those databases?&lt;/P&gt;&lt;P&gt;If yes, then this is not very efficient as we support 100s of instances with 10s/100s databases.. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you know if Dynatrace has a plan to fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 01:54:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Database-capacity-used-and-empty-only-showing-data-for-master/m-p/285368#M6703</guid>
      <dc:creator>jedecastro</dc:creator>
      <dc:date>2025-09-04T01:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Database capacity - used and empty only showing data for master database</title>
      <link>https://community.dynatrace.com/t5/Extensions/Database-capacity-used-and-empty-only-showing-data-for-master/m-p/285438#M6704</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/80490"&gt;@jedecastro&lt;/a&gt;&amp;nbsp;From what I see its not really a limitation of Dynatrace but the way SQL server exposes the views .&amp;nbsp;sys.allocation_units from where the space metrics are calculated exists inside each database unlike&amp;nbsp;sys.master_files which is server wide&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/relational-databases/system-catalog-views/sys-master-files-transact-sql?view=sql-server-ver17" target="_blank"&gt;https://learn.microsoft.com/en-us/sql/relational-databases/system-catalog-views/sys-master-files-transact-sql?view=sql-server-ver17&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/relational-databases/system-catalog-views/sys-allocation-units-transact-sql?view=sql-server-ver17" target="_blank"&gt;https://learn.microsoft.com/en-us/sql/relational-databases/system-catalog-views/sys-allocation-units-transact-sql?view=sql-server-ver17&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is a idea which is open for the same and some context around why its the way it is currently&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/Product-ideas/Database-file-usage-monitor-for-all-Databases/idi-p/248011" target="_blank"&gt;https://community.dynatrace.com/t5/Product-ideas/Database-file-usage-monitor-for-all-Databases/idi-p/248011&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 23:51:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Database-capacity-used-and-empty-only-showing-data-for-master/m-p/285438#M6704</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2025-09-04T23:51:16Z</dc:date>
    </item>
  </channel>
</rss>

