<?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 Resolve Azure SFTP File Count Metric Issues Across Containers in Cloud platforms</title>
    <link>https://community.dynatrace.com/t5/Cloud-platforms/Resolve-Azure-SFTP-File-Count-Metric-Issues-Across-Containers/m-p/288831#M2164</link>
    <description>&lt;P&gt;I’m trying to get file count metrics and create alerts when a certain number of files exist in an Azure SFTP storage account.&lt;/P&gt;
&lt;P&gt;Here’s what I’ve done so far:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;The storage account has multiple containers within a file share.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;I’ve connected Dynatrace to Azure and added the &lt;STRONG&gt;Azure Storage File Service&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;I’ve added the &lt;STRONG&gt;File Count&lt;/STRONG&gt; metric to the service, and I’m receiving data.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;However, I’ve noticed a few issues:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;The &lt;STRONG&gt;File Count&lt;/STRONG&gt; metric seems to report the &lt;STRONG&gt;total number of files across all containers&lt;/STRONG&gt;, not per individual container.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;The data points are spaced &lt;STRONG&gt;1 hour apart&lt;/STRONG&gt;, even though the polling interval is set to &lt;STRONG&gt;5 minutes&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;The file count doesn’t update when adding or removing files within the 5–60 minute range, it only seems to refresh every few hours.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Has anyone worked with this before or found a way to get &lt;STRONG&gt;accurate, per-container file counts&lt;/STRONG&gt; for Azure SFTP in Dynatrace? Ideally, I’d like to alert when a container has files that remain beyond a certain threshold or time period.&lt;/P&gt;
&lt;P&gt;Thanks in advance for any insights!&lt;/P&gt;</description>
    <pubDate>Tue, 16 Dec 2025 08:24:34 GMT</pubDate>
    <dc:creator>john_schell_avo</dc:creator>
    <dc:date>2025-12-16T08:24:34Z</dc:date>
    <item>
      <title>Resolve Azure SFTP File Count Metric Issues Across Containers</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Resolve-Azure-SFTP-File-Count-Metric-Issues-Across-Containers/m-p/288831#M2164</link>
      <description>&lt;P&gt;I’m trying to get file count metrics and create alerts when a certain number of files exist in an Azure SFTP storage account.&lt;/P&gt;
&lt;P&gt;Here’s what I’ve done so far:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;The storage account has multiple containers within a file share.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;I’ve connected Dynatrace to Azure and added the &lt;STRONG&gt;Azure Storage File Service&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;I’ve added the &lt;STRONG&gt;File Count&lt;/STRONG&gt; metric to the service, and I’m receiving data.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;However, I’ve noticed a few issues:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;The &lt;STRONG&gt;File Count&lt;/STRONG&gt; metric seems to report the &lt;STRONG&gt;total number of files across all containers&lt;/STRONG&gt;, not per individual container.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;The data points are spaced &lt;STRONG&gt;1 hour apart&lt;/STRONG&gt;, even though the polling interval is set to &lt;STRONG&gt;5 minutes&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;The file count doesn’t update when adding or removing files within the 5–60 minute range, it only seems to refresh every few hours.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Has anyone worked with this before or found a way to get &lt;STRONG&gt;accurate, per-container file counts&lt;/STRONG&gt; for Azure SFTP in Dynatrace? Ideally, I’d like to alert when a container has files that remain beyond a certain threshold or time period.&lt;/P&gt;
&lt;P&gt;Thanks in advance for any insights!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 08:24:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Resolve-Azure-SFTP-File-Count-Metric-Issues-Across-Containers/m-p/288831#M2164</guid>
      <dc:creator>john_schell_avo</dc:creator>
      <dc:date>2025-12-16T08:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Resolve Azure SFTP File Count Metric Issues Across Containers</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Resolve-Azure-SFTP-File-Count-Metric-Issues-Across-Containers/m-p/291534#M2200</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/94094"&gt;@john_schell_avo&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;SPAN&gt;I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you!&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what works best for you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 08:24:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Resolve-Azure-SFTP-File-Count-Metric-Issues-Across-Containers/m-p/291534#M2200</guid>
      <dc:creator>IzabelaRokita</dc:creator>
      <dc:date>2025-12-16T08:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Resolve Azure SFTP File Count Metric Issues Across Containers</title>
      <link>https://community.dynatrace.com/t5/Cloud-platforms/Resolve-Azure-SFTP-File-Count-Metric-Issues-Across-Containers/m-p/298106#M2310</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/94094"&gt;@john_schell_avo&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;See responses inline:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;1. The&amp;nbsp;&lt;STRONG&gt;File Count&lt;/STRONG&gt;&amp;nbsp;metric seems to report the&amp;nbsp;&lt;STRONG&gt;total number of files across all containers&lt;/STRONG&gt;, not per individual container.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I would just like to clarify: in your original question, you reference both Azure Files and Blob Storage. Are you referring to this Blob storage feature -&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/storage/blobs/secure-file-transfer-protocol-support" target="_blank" rel="noopener"&gt;SFTP support for Azure Blob Storage - Azure Storage | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I believe the backing store for this Azure feature is Blob storage, and with this in mind, I can confirm that the Azure Monitor&amp;nbsp;&lt;A style="background-color: #ffffff;" href="https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-storage-storageaccounts-blobservices-metrics?source=recommendations#category-capacity" target="_blank" rel="noopener"&gt;BlobCount&lt;/A&gt;&amp;nbsp;metric does not have a dimension that would allow us to split by blob container.&lt;SPAN&gt;&amp;nbsp;Conversely, in Azure File Shares, the &lt;A href="https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-storage-storageaccounts-fileservices-metrics?source=recommendations#category-capacity" target="_self"&gt;FileCount&lt;/A&gt; metric does support a dimension "FileShare," which would allow us to do this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;The data points are spaced&amp;nbsp;&lt;STRONG&gt;1 hour apart&lt;/STRONG&gt;, even though the polling interval is set to&amp;nbsp;&lt;STRONG&gt;5 minutes&lt;/STRONG&gt;.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Microsoft decides the minimum time granualrity for each metric, in the case of FileCount and BlobCount they are emitted with hourly granularity&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;3.&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;The file count doesn’t update when adding or removing files within the 5–60 minute range, it only seems to refresh every few hours.&lt;BR /&gt;&lt;/EM&gt;According to the Microsoft documentation some of the storage metrics are produced by a &lt;STRONG&gt;background aggregation job&lt;/STRONG&gt; that runs on an hourly cadence and emits the metric value &lt;STRONG&gt;retrospectively&lt;/STRONG&gt;, meaning the data point is written with a timestamp in the past (this could be 1+ hours behind wall clock time).&lt;BR /&gt;&lt;STRONG&gt;"The Blob Capacity and Blob Count metric are emitted hourly. A background process computes these metrics and updates them multiple times a day" -&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/storage/blobs/monitor-blob-storage-reference#category-transaction" target="_blank" rel="noopener"&gt;Monitoring data reference for Azure Blob Storage | Microsoft Learn&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Hope this clarifies things for you?&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Gareth&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 08:35:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Cloud-platforms/Resolve-Azure-SFTP-File-Count-Metric-Issues-Across-Containers/m-p/298106#M2310</guid>
      <dc:creator>GarethE</dc:creator>
      <dc:date>2026-04-22T08:35:42Z</dc:date>
    </item>
  </channel>
</rss>

