Skip to content

Azureインテグレーション - Azure Files

MackerelはAzureインテグレーションにてAzure Filesのメトリック取得や監視に対応しています。課金対象として 1 Files = 1マイクロホスト と換算します。またそれに加えて、取得されるメトリックの数に応じて、1マイクロホストあたりのメトリック数上限の超過による請求が行われる場合があります。

Azureインテグレーションの設定方法や対応Azureサービス一覧についてはこちらのページをご確認ください。
Azureインテグレーション

取得メトリック

AzureインテグレーションのAzure Files対応で取得できるメトリックはパフォーマンスによって異なります。 各パフォーマンスで取得できるメトリックは以下の通りです。 メトリック の説明に関してはAzureのドキュメントをご確認ください。

Standard

最大で 1 + 3 (行われるオペレーションの種類の数) + 2 (行われる認証の種類の数) + 5 (対象のAzure Filesのファイル共有の数) + 2 (Secondaryが有効な場合) + 1 (行われる応答の種類の数) 個[^1]のメトリックが取得されます。

グラフ名メトリックMackerel上のメトリック名単位Aggregation 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

最大で 1 + 3 (行われるオペレーションの種類の数) + 2 (行われる認証の種類の数) + 6 (対象のAzure Filesのファイル共有の数) + 2 (Secondaryが有効な場合) + 1 (行われる応答の種類の数) 個[^1]のメトリックが取得されます。

グラフ名メトリックMackerel上のメトリック名単位Aggregation 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

Mackerel上のメトリック名の「#」には、以下のいずれかが格納されます。

  • ApiName
    Azure Filesで定義されたAPI名を示します。

    • 該当グラフ
      • Availability (ApiName)
      • Success E2E Latency
      • Success Server Latency
  • Authentication
    Azure Filesとのトランザクションで使用される認証の種類を示します。

    • 該当グラフ
      • Availability (Authentication)
      • Transactions (Authentication)
  • FileShare
    Azure Filesで作成されたファイル共有名を示します。

    • 該当グラフ
      • File Capacity
      • File Count
      • File Share Capacity Quota
      • File Share Provisioned IOPS
      • File Share Snapshot Count
      • File Share Snapshot Size
  • GeoType
    Primary、またはSecondaryからのトランザクションであることを示します。

    • 該当グラフ
      • Ingress/Egress
  • ResponseType
    トランザクションに対するAzure Filesの応答の種類を示します。

    • 該当グラフ
      • Transactions (ResponseType)

監視ルールによって評価されないメトリック

Mackerel の監視ルールは、監視対象のメトリックのタイムスタンプが現在時刻よりも 20 分以上古い場合に動作しない仕様のため、取得するメトリックのサンプリング間隔(Time Grains)が 20 分以上の場合は、監視ルールを設定しても動作しません。該当するメトリックに関しては、下記の Azure Files のドキュメントを参照してください。

Azure Files monitoring data reference

[^1]: 最大メトリック数はご利用のAzure Filesによって異なります。詳しくはこちらをご覧ください。