この記事は英語の原文を日本語に翻訳したものです。原文: https://opentelemetry.io/docs/specs/semconv/azure/azure-events/
翻訳元: open-telemetry/semantic-conventions v1.44.0(コミット e10a930)
Azureリソースログイベントに関するセマンティック規約
ステータス: Development
この文書では、Azure Resource Logイベントを発行する計装のためのセマンティック規約を定義します。
Azure Resource Log
Status:
イベント名は azure.resource.log でなければなりません(MUST)。
Azure Resource Logイベントについて説明します。詳細はAzure Resource Logの最上位スキーマを参照してください。
Attributes:
| Key | Stability | Requirement Level | Value Type | Description | Example Values |
|---|---|---|---|---|---|
azure.service.request.id | Recommended | string | サービスリクエストの一意の識別子。Azureサービスによって生成され、レスポンスとともに返されます。 | 00000000-0000-0000-0000-000000000000 | |
cloud.resource_id | Recommended | string | ログの発行元である完全修飾Azureリソース ID。 | arn:aws:lambda:REGION:ACCOUNT_ID:function:my-function; //run.googleapis.com/projects/PROJECT_ID/locations/LOCATION_ID/services/SERVICE_ID; /subscriptions/<SUBSCRIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC> |
Body fields:
:warning: セマンティック規約のツールが複合属性をサポートするようになったら、Body fieldsは複合属性へ移行される予定です(#1870を参照)。
| Field Name | Stability | Requirement Level | Value Type | Description | Example Values |
|---|---|---|---|---|---|
category | Recommended | string | ログエントリのAzureカテゴリー。 | AuditEvent; GatewayLogs; ApplicationGatewayAccessLog | |
correlation.id | Recommended | string | ログエントリの会話ID。 | 607964b6-41a5-4e24-a5db-db7aab3b9b34 | |
duration | Recommended | int | 操作の実行時間(ミリ秒単位)。 | 1000 | |
identity | Opt-In | undefined | “操作を実行したユーザーまたはアプリケーションのアイデンティティを記述するJSON blob。” [1] | ||
operation.name | Recommended | string | 操作の名前。 | SecretGet; Microsoft.ApiManagement/GatewayLogs; ApplicationGatewayAccess | |
operation.version | Recommended | string | 操作のバージョン。 | 1.0 | |
properties | Recommended | undefined | Azure Resource Logで提供されるプロパティ。 | ||
result.description | Recommended | string | 結果の説明。 | The operation was successful; The operation failed | |
result.signature | Recommended | string | 記録されたイベントに関連付けられたサブステータス。 | OK | |
result.type | Recommended | string | 記録されたイベントに関連付けられたステータス。 | Succeeded; Failed; Started | |
tenant.id | Conditionally Required [2] | string | このイベントが紐づけられているActive Directoryテナントのテナント ID。 | 00000000-0000-0000-0000-000000000000 |
[1]: 通常、このフィールドにはActive Directoryからの認可情報とクレームまたはJWTトークンが含まれます。
[!Warning] このフィールドには機密(PII)情報が含まれます。
[2] tenant.id: イベントがActive Directoryテナントに紐づけられている場合。