Skip to content

Azure Storage

Collect Azure Storage metrics

Configuration

Install Func

It is recommended to activate TrueWatch integration - extension - DataFlux Func (Automata): all prerequisites are automatically installed, please proceed with script installation.

If deploying Func manually, refer to Manual Func Deployment

Install Script

Note: Please prepare the required Azure application registration information in advance and assign the Monitoring Reader role to the application registration.

  1. Log in to the Func console, click on 【Script Market】, and enter the TrueWatch script market, search for integration_azure_storage.

  2. Click 【Install】, then input the corresponding parameters: Azure Tenant ID, Azure Client ID, Azure Client Secret Value, Subscriptions.

  3. Click 【Deploy Startup Script】, the system will automatically create the Startup script set and configure the corresponding startup scripts.

  4. After enabling, you can see the corresponding automatic trigger configuration in 「Manage / Automatic Trigger Configuration」. Click 【Execute】 to immediately execute once without waiting for the scheduled time. Wait a moment, and you can view the execution task records and corresponding logs.

Verification

  1. In 「Manage / Automatic Trigger Configuration」, confirm whether the corresponding task has the automatic trigger configuration, and check the task records and logs for any exceptions.
  2. In TrueWatch, check if asset information exists in 「Infrastructure - Resource Catalog」.
  3. In TrueWatch, check if there are corresponding monitoring data in 「Metrics」.

Metrics

Collect Azure Storage metrics, more metrics can be collected through configuration:

Microsoft.ClassicStorage/storageAccounts supported metrics

Microsoft.ClassicStorage/storageAccounts/blobServices supported metrics

Microsoft.ClassicStorage/storageAccounts/fileServices supported metrics

Microsoft.ClassicStorage/storageAccounts/queueServices supported metrics

Microsoft.ClassicStorage/storageAccounts/tableServices supported metrics

Under the Microsoft.Storage/storageAccounts namespace, the following metrics are included:

Metric Name Description Unit
availability_average Availability %
egress_total Data Egress Bytes
ingress_total Data Ingress Bytes
success_e_2_elatency_average Success E2E Latency ms
success_server_latency_average Success Server Latency ms
transactions_total Number of requests made to the storage service or the specified API operation Count
used_capacity_average Used Capacity Bytes

Under the Microsoft.Storage/storageAccounts/blobServices namespace, the following metrics are included:

Metric Name Description Unit
availability_average Availability %
egress_total Data Egress Bytes
ingress_total Data Ingress Bytes
blob_capacity_average Blob Capacity Bytes
blob_count_average Blob Count Count
container_count_average Blob Container Count Count
index_capacity_average Index Capacity Bytes
success_e_2_elatency_average Success E2E Latency ms
success_server_latency_average Success Server Latency ms
transactions_total Number of requests made to the storage service or the specified API operation Count

Under the Microsoft.Storage/storageAccounts/fileServices namespace, the following metrics are included:

Metric Name Description Unit
availability_average Availability %
egress_total Data Egress Bytes
ingress_total Data Ingress Bytes
file_capacity_average File Capacity Bytes
file_count_average File Count Count
file_share_capacity_quota_average File Share Quota Size Bytes
file_share_snapshot_count_average File Share Count Count
file_share_snapshot_size_average File Share Snapshot Size Bytes
file_share_snapshot_count_average File Share Snapshot Count Count
success_e_2_elatency_average Success E2E Latency ms
success_server_latency_average Success Server Latency ms
transactions_total Number of requests made to the storage service or the specified API operation Count

Under the Microsoft.Storage/storageAccounts/queueServices namespace, the following metrics are included:

Metric Name Description Unit
availability_average Availability %
egress_total Data Egress Bytes
ingress_total Data Ingress Bytes
queue_capacity_average Queue Capacity Bytes
queue_count_average Queue Count Count
queue_message_count_average Queue Message Count Count
success_e_2_elatency_average Success E2E Latency ms
success_server_latency_average Success Server Latency ms
transactions_total Number of requests made to the storage service or the specified API operation Count

Under the Microsoft.Storage/storageAccounts/tableServices namespace, the following metrics are included:

Metric Name Description Unit
availability_average Availability %
egress_total Data Egress Bytes
ingress_total Data Ingress Bytes
table_capacity_average Table Capacity Bytes
table_count_average Table Count Count
table_entity_count_average Table Entity Count Count
success_e_2_elatency_average Success E2E Latency ms
success_server_latency_average Success Server Latency ms
transactions_total Number of requests made to the storage service or the specified API operation Count