Azure Storage
Collect Azure Storage metrics
Configuration¶
Install Func¶
It is recommended to enable TrueWatch integration - extension - DataFlux Func (Automata): all prerequisites are automatically installed, please proceed with the 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 Readerrole to the application registration.
-
Log in to the Func console, click on 【Script Market】, and enter the TrueWatch script market, search for
integration_azure_storage. -
Click 【Install】, then input the corresponding parameters:
Azure Tenant ID,Azure Client ID,Azure Client Secret Value,Subscriptions. -
Click 【Deploy Startup Script】, the system will automatically create the
Startupscript set and configure the corresponding startup scripts. -
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¶
- In "Manage / Automatic Trigger Configuration", confirm whether the corresponding task has the corresponding automatic trigger configuration, and check the corresponding task records and logs for any exceptions.
- In TrueWatch, 「Infrastructure - Resource Catalog」, check if there is asset information.
- 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 |
container_blob_count_average |
Number of Blob objects in the storage account by container. | count |
container_used_size_average |
Storage account Blob service used capacity by container. | B |
migration_progress_average |
Progress percentage of storage redundancy type change requests. | % |
replication_lag_seconds_average |
Blob The time it takes for data to be asynchronously copied from the primary region to the secondary region. | s |
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 |
blob_provisioned_size_average |
The storage capacity provisioned for the storage account's Blob service. | B |
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 |
file_share_available_burst_credits_average |
IOPS burst quota available for file sharing. | count |
file_share_max_used_bandwidth_mi_bps_maximum |
The maximum used bandwidth of the file share at a minimum time granularity of 1 minute, in MiB/s. | MiB/s |
file_share_max_used_iops_maximum |
Maximum used IOPS for a file share within a minimum time granularity of 1 minute. | iops |
file_share_paid_bursting_bandwidth_total |
The total amount billed for the file sharing paid burst bandwidth. | B |
file_share_paid_bursting_ios_total |
The total number of billed file sharing payment bursts IO. | count |
file_share_provisioned_bandwidth_mi_bps_average |
Baseline bandwidth for file share provisioning, in MiB/s. | MiB/s |
file_share_provisioned_iops_average |
Baseline IOPS for file share provisioning, excluding burst portion. | iops |
percent_file_share_bandwidth_utilization_average |
The file share's used bandwidth as a percentage of the provisioned bandwidth. | % |
percent_file_share_iopsutilization_average |
File share used IOPS as a percentage of provisioned IOPS. | % |
percent_file_share_utilization_average |
The file share's used storage capacity as a percentage of its provisioned capacity. | % |
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 |