30 Oct 2025 05:58 AM
I’m trying to get file count metrics and create alerts when a certain number of files exist in an Azure SFTP storage account.
Here’s what I’ve done so far:
The storage account has multiple containers within a file share.
I’ve connected Dynatrace to Azure and added the Azure Storage File Service.
I’ve added the File Count metric to the service, and I’m receiving data.
However, I’ve noticed a few issues:
The File Count metric seems to report the total number of files across all containers, not per individual container.
The data points are spaced 1 hour apart, even though the polling interval is set to 5 minutes.
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.
Has anyone worked with this before or found a way to get accurate, per-container file counts 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.
Thanks in advance for any insights!