Skip to content

Azure Integration - Azure Files

Mackerel supports obtaining and monitoring Azure Files metrics in Azure Integration. Billable targets are determined using the conversion 1 File = 1 Micro Host. Depending on the number of metrics retrieved, additional charges may be incurred for exceeding the maximum number of metrics per micro host.

Please refer to the following page for Azure Integration configuration methods and a list of supported Azure services.
Azure Integration

Obtaining metrics

The metrics available with Azure Integration's Azure Files support vary by peformance tier. The metrics that can be obtained at each tier are as follows. For Metric explanations, please refer to the Azure documentation.

Standard

The maximum number of obtainable metrics can be calculated using the formula 1 + 3 (number of operation types) + 2 (number of authentication types) + 5 (number of target Azure Files file shares) + 2 (if Secondary is enabled) + 1 (number of response types)[^1].

Graph nameMetricMetric name in MackerelUnitAggregation Type
Availability (ApiName)Availabilityazure.files.availability_apiname.#.percentpercentageAverage
Availability (Authentication)Availabilityazure.files.availability_authentication.#.percentpercentageAverage
File CapacityFileCapacityazure.files.file_capacity.#.bytesbytesAverage
File CountFileCountazure.files.file_count.#.countfloatAverage
File Share Capacity QuotaFileShareCapacityQuotaazure.files.file_share_capacity_quota.#.bytesbytesAverage
File Share CountFileShareCountazure.files.file_share_count.countfloatAverage
File Share Snapshot CountFileShareSnapshotCountazure.files.file_share_snapshot_count.#.countfloatAverage
File Share Snapshot SizeFileShareSnapshotSizeazure.files.file_share_snapshot_size.#.bytesbytesAverage
Ingress/EgressIngress
Egress
azure.files.ingress_egress.#.ingress
azure.files.ingress_egress.#.egress
bytesTotal
Success E2E LatencySuccessE2ELatencyazure.files.success_e2e_latency.#.millisecondsfloatAverage
Success Server LatencySuccessServerLatencyazure.files.success_server_latency.#.millisecondsfloatAverage
Transactions (Authentication)Transactionsazure.files.transactions_authentication.#.countintegerTotal
Transactions (ResponseType)Transactionsazure.files.transactions_responsetype.#.countintegerTotal

Premium

The maximum number of obtainable metrics can be calculated using the formula 1 + 3 (number of operation types) + 2 (number of authentication types) + 6 (number of target Azure Files file shares) + 2 (if Secondary is enabled) + 1 (number of response types)[^1].

Graph nameMetricMetric name in MackerelUnitAggregation Type
Availability (ApiName)Availabilityazure.files.availability_apiname.#.percentpercentageAverage
Availability (Authentication)Availabilityazure.files.availability_authentication.#.percentpercentageAverage
File CapacityFileCapacityazure.files.file_capacity.#.bytesbytesAverage
File CountFileCountazure.files.file_count.#.countfloatAverage
File Share Capacity QuotaFileShareCapacityQuotaazure.files.file_share_capacity_quota.#.bytesbytesAverage
File Share CountFileShareCountazure.files.file_share_count.countfloatAverage
File Share Provisioned IOPSFileShareProvisionedIOPSazure.files.file_share_provisioned_iops.#.bytesbytesAverage
File Share Snapshot CountFileShareSnapshotCountazure.files.file_share_snapshot_count.#.countfloatAverage
File Share Snapshot SizeFileShareSnapshotSizeazure.files.file_share_snapshot_size.#.bytesbytesAverage
Ingress/EgressIngress
Egress
azure.files.ingress_egress.#.ingress
azure.files.ingress_egress.#.egress
bytesTotal
Success E2E LatencySuccessE2ELatencyazure.files.success_e2e_latency.#.millisecondsfloatAverage
Success Server LatencySuccessServerLatencyazure.files.success_server_latency.#.millisecondsfloatAverage
Transactions (Authentication)Transactionsazure.files.transactions_authentication.#.countintegerTotal
Transactions (ResponseType)Transactionsazure.files.transactions_responsetype.#.countintegerTotal

The "#" in 'Metric name in Mackerel' is a placeholder for one of the following.

  • ApiName
    Indicates the API name defined in Azure Files.

    • Corresponding graphs
      • Availability (ApiName)
      • Success E2E Latency
      • Success Server Latency
  • Authentication
    Indicates the type of authentication used for transactions with Azure Files.

    • Corresponding graphs
      • Availability (Authentication)
      • Transactions (Authentication)
  • FileShare
    Indicates the file share name created with Azure Files.

    • Corresponding graphs
      • File Capacity
      • File Count
      • File Share Capacity Quota
      • File Share Provisioned IOPS
      • File Share Snapshot Count
      • File Share Snapshot Size
  • GeoType
    Indicates a transaction from either Primary or Secondary.

    • Corresponding graphs
      • Ingress/Egress
  • ResponseType
    Indicates the type of Azure Files response for transactions.

    • Corresponding graphs
      • Transactions (ResponseType)

Metrics for which monitors do not work

Mackerel's monitor do not work if the timestamp of the metric being monitored is more than 20 minutes old. Therefore, even if you set a monitor for a metric with a sampling interval (Time Grains) of 20 minutes or more, it will not work. For information about the sampling interval for metrics, see the following Azure Files documentation.

Azure Files monitoring data reference

[^1]: The maximum number of metrics can differ depending on your Azure Files. Refer here for more information.