> Source: https://www.ymotongpoo.com/works/otel-specs-ja/semconv/dotnet/dotnet-aspnetcore-metrics/


# ASP.NET Coreメトリクスに関するセマンティック規約

**ステータス**: [Stable][DocumentStatus]

この記事では、ASP.NET Coreメトリクスに関するセマンティック規約を定義します。

## サーバー

## ルーティング

すべてのルーティングメトリクスは、`Microsoft.AspNetCore.Routing` Meterによって報告されます。

### メトリクス: `aspnetcore.routing.match_attempts`

<!-- semconv metric.aspnetcore.routing.match_attempts -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.routing.match_attempts` | Counter | `{match_attempt}` | エンドポイントとのマッチングが試行されたリクエスト数。[1] | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Routing`; 追加されたバージョン: ASP.NET Core 8.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.routing.match_status`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Required` | string | マッチング結果（成功または失敗）。 | `success`; `failure` |
| [`aspnetcore.routing.is_fallback`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if a route was successfully matched. | boolean | マッチしたルートがフォールバックルートかどうかを示す値。 | `true` |
| [`http.route`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/http/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if a route was successfully matched. | string | リクエストにマッチしたルートテンプレート。これは低カーディナリティでなければならず（MUST）、すべての静的パスセグメントを含み、動的パスセグメントはプレースホルダーで表現されなければなりません（MUST）。[1] | `/users/:userID?`; `my-controller/my-action/{id?}` |

**[1] `http.route`:** HTTPサーバーフレームワークがこれをサポートしていない場合、設定してはなりません（MUST NOT）。route属性は低カーディナリティであるべきであり、URIパスで代替することはできません。
利用可能であれば、[アプリケーションのルート](/works/otel-specs-ja/semconv/http/http-spans/#httpサーバーの定義)を含めるべきです（SHOULD）。

静的パスセグメントは、固定の低カーディナリティな値を持つルートテンプレートの一部です。これには、`/users/`のようなリテラル文字列や、`{controller}`や`{action}`のように有限の事前定義された値の集合に制約されたプレースホルダーが含まれます。

動的パスセグメントは、高いカーディナリティを持つ可能性があり、静的パスセグメントのように事前定義された一覧に制約されない値のためのプレースホルダーです。

計装は、対応するWebフレームワークが提供するルーティング情報を使用すべきです（SHOULD）。最も正確なルーティング情報の出典を選ぶべきであり（SHOULD）、カスタムのルート形式をサポートしてもかまいません（MAY）。計装は、使用する形式とルート文字列を取得するために使用するAPIを文書化すべきです（SHOULD）。

---

`aspnetcore.routing.match_status`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `failure` | マッチングが失敗しました。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |
| `success` | マッチングが成功しました。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

## 例外

例外メトリクスは、`Microsoft.AspNetCore.Diagnostics` Meterによって報告されます。

### メトリクス: `aspnetcore.diagnostics.exceptions`

<!-- semconv metric.aspnetcore.diagnostics.exceptions -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.diagnostics.exceptions` | Counter | `{exception}` | 例外処理ミドルウェアによって捕捉された例外数。[1] | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Diagnostics`; 追加されたバージョン: ASP.NET Core 8.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.diagnostics.exception.result`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Required` | string | ASP.NET Coreの例外ミドルウェアによる処理結果。 | `handled`; `unhandled` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Required` | string | 例外型の完全な名前。 | `System.OperationCanceledException`; `Contoso.MyException` |
| [`aspnetcore.diagnostics.handler.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` [1] | string | その例外を処理した[`IExceptionHandler`](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler)実装の完全な型名。 | `Contoso.MyHandler` |

**[1] `aspnetcore.diagnostics.handler.type`:** その例外がこのハンドラーによって処理された場合に限ります。

---

`aspnetcore.diagnostics.exception.result`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `aborted` | リクエストがアボートされたため、例外処理は実行されませんでした。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |
| `handled` | 例外は例外処理ミドルウェアによって処理されました。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |
| `skipped` | レスポンスが開始されていたため、例外処理はスキップされました。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |
| `unhandled` | 例外は例外処理ミドルウェアによって処理されませんでした。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

## レート制限

すべてのレート制限メトリクスは、`Microsoft.AspNetCore.RateLimiting` Meterによって報告されます。

### メトリクス: `aspnetcore.rate_limiting.active_request_leases`

<!-- semconv metric.aspnetcore.rate_limiting.active_request_leases -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.rate_limiting.active_request_leases` | UpDownCounter | `{request}` | レート制限リースを保持し、現在サーバー上でアクティブなリクエスト数。[1] | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.RateLimiting`; 追加されたバージョン: ASP.NET Core 8.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.rate_limiting.policy`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` [1] | string | レート制限ポリシー名。 | `fixed`; `sliding`; `token` |

**[1] `aspnetcore.rate_limiting.policy`:** そのリクエストにマッチしたエンドポイントにレート制限ポリシーが設定されていた場合。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.rate_limiting.request_lease.duration`

このメトリクスは、`[ 0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1, 2.5, 5, 7.5, 10 ]` の[`ExplicitBucketBoundaries` advisoryパラメータ](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.59.0/specification/metrics/api.md#instrument-advisory-parameters)を指定すべきです（SHOULD）。

<!-- semconv metric.aspnetcore.rate_limiting.request_lease.duration -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.rate_limiting.request_lease.duration` | Histogram | `s` | サーバー上でリクエストが保持するレート制限リースの持続時間。[1] | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.RateLimiting`; 追加されたバージョン: ASP.NET Core 8.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.rate_limiting.policy`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` [1] | string | レート制限ポリシー名。 | `fixed`; `sliding`; `token` |

**[1] `aspnetcore.rate_limiting.policy`:** そのリクエストにマッチしたエンドポイントにレート制限ポリシーが設定されていた場合。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.rate_limiting.queued_requests`

<!-- semconv metric.aspnetcore.rate_limiting.queued_requests -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.rate_limiting.queued_requests` | UpDownCounter | `{request}` | 現在キューに入っており、レート制限リースの取得を待っているリクエスト数。[1] | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.RateLimiting`; 追加されたバージョン: ASP.NET Core 8.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.rate_limiting.policy`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` [1] | string | レート制限ポリシー名。 | `fixed`; `sliding`; `token` |

**[1] `aspnetcore.rate_limiting.policy`:** そのリクエストにマッチしたエンドポイントにレート制限ポリシーが設定されていた場合。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.rate_limiting.request.time_in_queue`

このメトリクスは、`[ 0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1, 2.5, 5, 7.5, 10 ]` の[`ExplicitBucketBoundaries` advisoryパラメータ](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.59.0/specification/metrics/api.md#instrument-advisory-parameters)を指定すべきです（SHOULD）。

<!-- semconv metric.aspnetcore.rate_limiting.request.time_in_queue -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.rate_limiting.request.time_in_queue` | Histogram | `s` | リクエストが、レート制限リースの取得を待ってキューに滞在した時間。[1] | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.RateLimiting`; 追加されたバージョン: ASP.NET Core 8.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.rate_limiting.result`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Required` | string | レート制限の結果。リースが取得されたかどうか、または拒否理由を示します。 | `acquired`; `request_canceled` |
| [`aspnetcore.rate_limiting.policy`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` [1] | string | レート制限ポリシー名。 | `fixed`; `sliding`; `token` |

**[1] `aspnetcore.rate_limiting.policy`:** そのリクエストにマッチしたエンドポイントにレート制限ポリシーが設定されていた場合。

---

`aspnetcore.rate_limiting.result`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `acquired` | リースが取得されました。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |
| `endpoint_limiter` | リースリクエストがエンドポイントのリミッターによって拒否されました。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |
| `global_limiter` | リースリクエストがグローバルリミッターによって拒否されました。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |
| `request_canceled` | リースリクエストがキャンセルされました。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.rate_limiting.requests`

<!-- markdownlint-disable -->
<!-- semconv metric.aspnetcore.rate_limiting.requests -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.rate_limiting.requests` | Counter | `{request}` | レート制限リースの取得を試みたリクエスト数。[1] | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | |

**[1]:** リクエストには、次のような場合が考えられます。

* グローバルまたはエンドポイントのレート制限ポリシーによって拒否された。
* リースを待っている間にキャンセルされた。

Meterの名前: `Microsoft.AspNetCore.RateLimiting`; 追加されたバージョン: ASP.NET Core 8.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.rate_limiting.result`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Required` | string | レート制限の結果。リースが取得されたかどうか、または拒否理由を示します。 | `acquired`; `request_canceled` |
| [`aspnetcore.rate_limiting.policy`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` [1] | string | レート制限ポリシー名。 | `fixed`; `sliding`; `token` |

**[1] `aspnetcore.rate_limiting.policy`:** そのリクエストにマッチしたエンドポイントにレート制限ポリシーが設定されていた場合。

---

`aspnetcore.rate_limiting.result`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `acquired` | リースが取得されました。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |
| `endpoint_limiter` | リースリクエストがエンドポイントのリミッターによって拒否されました。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |
| `global_limiter` | リースリクエストがグローバルリミッターによって拒否されました。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |
| `request_canceled` | リースリクエストがキャンセルされました。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->
<!-- markdownlint-restore -->

## メモリプール

すべてのメモリプールメトリクスは、`Microsoft.AspNetCore.MemoryPool` Meterによって報告されます。

### メトリクス: `aspnetcore.memory_pool.pooled`

<!-- semconv metric.aspnetcore.memory_pool.pooled -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.memory_pool.pooled` | UpDownCounter | `By` | 現在プールされ、再利用可能なバイト数。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.MemoryPool`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.memory_pool.owner`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` [1] | string | メモリプールインスタンスを使用しているライブラリまたはサブシステムの名前。 | `kestrel`; `iis` |

**[1] `aspnetcore.memory_pool.owner`:** メモリプールの作成時にownerが指定されている場合。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.memory_pool.evicted`

<!-- semconv metric.aspnetcore.memory_pool.evicted -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.memory_pool.evicted` | Counter | `By` | メモリプールから追い出された（evicted）バイト数の合計。追い出しは、アイドル状態のプールされたメモリが回収される際に発生します。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.MemoryPool`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.memory_pool.owner`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` [1] | string | メモリプールインスタンスを使用しているライブラリまたはサブシステムの名前。 | `kestrel`; `iis` |

**[1] `aspnetcore.memory_pool.owner`:** メモリプールの作成時にownerが指定されている場合。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.memory_pool.allocated`

<!-- semconv metric.aspnetcore.memory_pool.allocated -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.memory_pool.allocated` | Counter | `By` | メモリプールによって割り当てられたバイト数の合計。割り当ては、メモリのレンタルリクエストが利用可能なプールされたメモリを超えた場合に発生します。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.MemoryPool`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.memory_pool.owner`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` [1] | string | メモリプールインスタンスを使用しているライブラリまたはサブシステムの名前。 | `kestrel`; `iis` |

**[1] `aspnetcore.memory_pool.owner`:** メモリプールの作成時にownerが指定されている場合。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.memory_pool.rented`

<!-- semconv metric.aspnetcore.memory_pool.rented -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.memory_pool.rented` | Counter | `By` | メモリプールからレンタルされたバイト数の合計。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.MemoryPool`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.memory_pool.owner`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` [1] | string | メモリプールインスタンスを使用しているライブラリまたはサブシステムの名前。 | `kestrel`; `iis` |

**[1] `aspnetcore.memory_pool.owner`:** メモリプールの作成時にownerが指定されている場合。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

## 認証

すべての認証メトリクスは、`Microsoft.AspNetCore.Authentication` Meterによって報告されます。

### メトリクス: `aspnetcore.authentication.authenticate.duration`

<!-- semconv metric.aspnetcore.authentication.authenticate.duration -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.authentication.authenticate.duration` | Histogram | `s` | リクエストの認証にかかった時間。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Authentication`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.authentication.result`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | 認証操作の結果。 | `success`; `failure` |
| [`aspnetcore.authentication.scheme`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if a scheme is specified during authentication. | string | 特定の認証ハンドラーに名前を付ける識別子。 | `Cookies`; `Bearer`; `Identity.Application` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前。 | `System.OperationCanceledException` |

---

`aspnetcore.authentication.result`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `failure` | 認証が失敗しました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `none` | 認証情報が返されませんでした。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `success` | 認証が成功しました。 | ![Development](https://img.shields.io/badge/-development-blue) |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.authentication.challenges`

<!-- semconv metric.aspnetcore.authentication.challenges -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.authentication.challenges` | Counter | `{challenge}` | スキームがチャレンジされた回数の合計。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Authentication`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.authentication.scheme`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if a scheme is specified during authentication. | string | 特定の認証ハンドラーに名前を付ける識別子。 | `Cookies`; `Bearer`; `Identity.Application` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前。 | `System.OperationCanceledException` |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.authentication.forbids`

<!-- semconv metric.aspnetcore.authentication.forbids -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.authentication.forbids` | Counter | `{forbid}` | 認証済みユーザーが、アクセスを許可されていないリソースへのアクセスを試みた回数の合計。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Authentication`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.authentication.scheme`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if a scheme is specified during authentication. | string | 特定の認証ハンドラーに名前を付ける識別子。 | `Cookies`; `Bearer`; `Identity.Application` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前。 | `System.OperationCanceledException` |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.authentication.sign_ins`

<!-- semconv metric.aspnetcore.authentication.sign_ins -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.authentication.sign_ins` | Counter | `{sign_in}` | プリンシパルが、あるスキームでサインインした回数の合計。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Authentication`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.authentication.scheme`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if a scheme is specified during authentication. | string | 特定の認証ハンドラーに名前を付ける識別子。 | `Cookies`; `Bearer`; `Identity.Application` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前。 | `System.OperationCanceledException` |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.authentication.sign_outs`

<!-- semconv metric.aspnetcore.authentication.sign_outs -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.authentication.sign_outs` | Counter | `{sign_out}` | プリンシパルが、あるスキームでサインアウトした回数の合計。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Authentication`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.authentication.scheme`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if a scheme is specified during authentication. | string | 特定の認証ハンドラーに名前を付ける識別子。 | `Cookies`; `Bearer`; `Identity.Application` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前。 | `System.OperationCanceledException` |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

## 認可

すべての認可メトリクスは、`Microsoft.AspNetCore.Authorization` Meterによって報告されます。

### メトリクス: `aspnetcore.authorization.attempts`

<!-- semconv metric.aspnetcore.authorization.attempts -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.authorization.attempts` | Counter | `{attempt}` | 認可試行の合計数。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Authorization`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.user.is_authenticated`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Required` | boolean | ユーザーが認証済みかどうかを示す値。 | `true` |
| [`aspnetcore.authorization.policy`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if a policy is specified. | string | 認可ポリシーの名前。 | `RequireAdminRole` |
| [`aspnetcore.authorization.result`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if no exception was thrown. | string | 認可サービス呼び出しの結果。 | `success`; `failure` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前。 | `System.OperationCanceledException` |

---

`aspnetcore.authorization.result`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `failure` | 認可が失敗しました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `success` | 認可が成功しました。 | ![Development](https://img.shields.io/badge/-development-blue) |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

## Identity

ASP.NET Core Identityのすべてのメトリクスは、`Microsoft.AspNetCore.Identity` Meterによって報告されます。

### メトリクス: `aspnetcore.identity.user.create.duration`

<!-- semconv metric.aspnetcore.identity.user.create.duration -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.identity.user.create.duration` | Histogram | `s` | ユーザー作成操作の実行時間。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Identity`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.identity.user_type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | Identityユーザー型の完全な名前。 | `Contoso.ContosoUser` |
| [`aspnetcore.identity.error_code`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if an error was set on a failed identity result. | string | 失敗したIdentity操作のエラーコード。 | `DefaultError`; `PasswordMismatch` |
| [`aspnetcore.identity.result`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if no exception was thrown. | string | Identity操作の結果。 | `success`; `failure` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前、またはIdentityエラーコード。 | `System.OperationCanceledException`; `PasswordMismatch` |

---

`aspnetcore.identity.result`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `failure` | Identity操作が失敗しました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `success` | Identity操作が成功しました。 | ![Development](https://img.shields.io/badge/-development-blue) |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.identity.user.update.duration`

<!-- semconv metric.aspnetcore.identity.user.update.duration -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.identity.user.update.duration` | Histogram | `s` | ユーザー更新操作の実行時間。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Identity`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.identity.user.update_type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | ユーザー更新の種類。 | `update`; `user_name`; `reset_password` |
| [`aspnetcore.identity.user_type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | Identityユーザー型の完全な名前。 | `Contoso.ContosoUser` |
| [`aspnetcore.identity.error_code`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if an error was set on a failed identity result. | string | 失敗したIdentity操作のエラーコード。 | `DefaultError`; `PasswordMismatch` |
| [`aspnetcore.identity.result`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if no exception was thrown. | string | Identity操作の結果。 | `success`; `failure` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前、またはIdentityエラーコード。 | `System.OperationCanceledException`; `PasswordMismatch` |

---

`aspnetcore.identity.result`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `failure` | Identity操作が失敗しました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `success` | Identity操作が成功しました。 | ![Development](https://img.shields.io/badge/-development-blue) |

---

`aspnetcore.identity.user.update_type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が事前に知らない更新の種類。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `access_failed` | Identityユーザーのアクセス失敗が記録されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `add_claims` | Identityユーザーのクレームが追加されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `add_login` | Identityユーザーのログインが追加されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `add_password` | Identityユーザーのパスワードが追加されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `add_to_roles` | Identityユーザーがロールに追加されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `change_email` | Identityユーザーのメールアドレスが変更されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `change_password` | Identityユーザーのパスワードが変更されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `change_phone_number` | Identityユーザーの電話番号が変更されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `confirm_email` | Identityユーザーのメールアドレスが確認されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `generate_new_two_factor_recovery_codes` | Identityユーザーの新しい二要素リカバリーコードが生成されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `password_rehash` | Identityユーザーのパスワードが再ハッシュされました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `redeem_two_factor_recovery_code` | Identityユーザーの二要素リカバリーコードが使用されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `remove_authentication_token` | Identityユーザーの認証トークンが削除されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `remove_claims` | Identityユーザーのクレームが削除されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `remove_from_roles` | Identityユーザーがロールから削除されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `remove_login` | Identityユーザーのログインが削除されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `remove_passkey` | Identityユーザーのパスキーが削除されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `remove_password` | Identityユーザーのパスワードが削除されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `replace_claim` | Identityユーザーのクレームが置き換えられました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `reset_access_failed_count` | Identityユーザーのアクセス失敗回数がリセットされました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `reset_authenticator_key` | Identityユーザーの認証キーがリセットされました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `reset_password` | Identityユーザーのパスワードがリセットされました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `security_stamp` | Identityユーザーのセキュリティスタンプが更新されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `set_authentication_token` | Identityユーザーの認証トークンが設定されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `set_email` | Identityユーザーのメールアドレスが設定されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `set_lockout_enabled` | Identityユーザーのロックアウトが有効・無効化されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `set_lockout_end_date` | Identityユーザーのロックアウト終了日が設定されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `set_passkey` | Identityユーザーのパスキーが設定されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `set_phone_number` | Identityユーザーの電話番号が設定されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `set_two_factor_enabled` | Identityユーザーの二要素認証が有効・無効化されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `update` | Identityユーザーが更新されました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `user_name` | Identityのユーザー名が更新されました。 | ![Development](https://img.shields.io/badge/-development-blue) |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.identity.user.delete.duration`

<!-- semconv metric.aspnetcore.identity.user.delete.duration -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.identity.user.delete.duration` | Histogram | `s` | ユーザー削除操作の実行時間。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Identity`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.identity.user_type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | Identityユーザー型の完全な名前。 | `Contoso.ContosoUser` |
| [`aspnetcore.identity.error_code`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if an error was set on a failed identity result. | string | 失敗したIdentity操作のエラーコード。 | `DefaultError`; `PasswordMismatch` |
| [`aspnetcore.identity.result`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if no exception was thrown. | string | Identity操作の結果。 | `success`; `failure` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前、またはIdentityエラーコード。 | `System.OperationCanceledException`; `PasswordMismatch` |

---

`aspnetcore.identity.result`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `failure` | Identity操作が失敗しました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `success` | Identity操作が成功しました。 | ![Development](https://img.shields.io/badge/-development-blue) |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.identity.user.check_password_attempts`

<!-- semconv metric.aspnetcore.identity.user.check_password_attempts -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.identity.user.check_password_attempts` | Counter | `{attempt}` | パスワードチェック試行数。パスワードが有効かどうかのみを確認し、ユーザーアカウントがログイン可能な状態かどうかは確認しません。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Identity`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.identity.user_type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | Identityユーザー型の完全な名前。 | `Contoso.ContosoUser` |
| [`aspnetcore.identity.password_check_result`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if no exception was thrown. | string | パスワードチェックの結果。 | `success`; `failure` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前。 | `System.OperationCanceledException` |

---

`aspnetcore.identity.password_check_result`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `failure` | パスワードチェックが失敗しました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `password_missing` | ユーザーにパスワードが設定されていなかったため、パスワードチェックを続行できませんでした。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `success` | パスワードチェックが成功しました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `success_rehash_needed` | パスワードチェックは成功しましたが、パスワードが非推奨のアルゴリズムでエンコードされていたため、再ハッシュして更新すべきです。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `user_missing` | ユーザーが存在しなかったため、パスワードチェックを続行できませんでした。 | ![Development](https://img.shields.io/badge/-development-blue) |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.identity.user.generated_tokens`

<!-- semconv metric.aspnetcore.identity.user.generated_tokens -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.identity.user.generated_tokens` | Counter | `{count}` | トークン生成の合計数。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Identity`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.identity.token_purpose`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | トークンの用途。 | `success`; `failure` |
| [`aspnetcore.identity.user_type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | Identityユーザー型の完全な名前。 | `Contoso.ContosoUser` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前。 | `System.OperationCanceledException` |

---

`aspnetcore.identity.token_purpose`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が事前に知らないトークンの用途。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `change_email` | メールアドレスの変更のためのトークン。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `change_phone_number` | 電話番号の変更のためのトークン。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `email_confirmation` | メールアドレスの確認のためのトークン。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `reset_password` | パスワードのリセットのためのトークン。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `two_factor` | 二要素設定の変更のためのトークン。 | ![Development](https://img.shields.io/badge/-development-blue) |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.identity.user.verify_token_attempts`

<!-- semconv metric.aspnetcore.identity.user.verify_token_attempts -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.identity.user.verify_token_attempts` | Counter | `{attempt}` | トークン検証試行の合計数。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Identity`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.identity.token_purpose`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | トークンの用途。 | `success`; `failure` |
| [`aspnetcore.identity.user_type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | Identityユーザー型の完全な名前。 | `Contoso.ContosoUser` |
| [`aspnetcore.identity.token_verified`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if no exception was thrown. | string | トークン検証の結果。 | `success`; `failure` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前。 | `System.OperationCanceledException` |

---

`aspnetcore.identity.token_purpose`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が事前に知らないトークンの用途。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `change_email` | メールアドレスの変更のためのトークン。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `change_phone_number` | 電話番号の変更のためのトークン。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `email_confirmation` | メールアドレスの確認のためのトークン。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `reset_password` | パスワードのリセットのためのトークン。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `two_factor` | 二要素設定の変更のためのトークン。 | ![Development](https://img.shields.io/badge/-development-blue) |

---

`aspnetcore.identity.token_verified`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `failure` | トークン検証が失敗しました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `success` | トークン検証が成功しました。 | ![Development](https://img.shields.io/badge/-development-blue) |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.identity.sign_in.authenticate.duration`

<!-- semconv metric.aspnetcore.identity.sign_in.authenticate.duration -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.identity.sign_in.authenticate.duration` | Histogram | `s` | 認証試行の実行時間。この認証メトリクスは、`PasswordSignInAsync`や`TwoFactorSignInAsync`などのサインインメソッドによって記録されます。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Identity`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.authentication.scheme`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | 特定の認証ハンドラーに名前を付ける識別子。 | `Cookies`; `Bearer`; `Identity.Application` |
| [`aspnetcore.identity.sign_in.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | 認証の種類。 | `password`; `two_factor` |
| [`aspnetcore.identity.user_type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | Identityユーザー型の完全な名前。 | `Contoso.ContosoUser` |
| [`aspnetcore.identity.sign_in.result`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if no exception was thrown. | string | サインイン結果が成功だったか失敗だったか。 | `password`; `two_factor` |
| [`aspnetcore.sign_in.is_persistent`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if no exception was thrown. | boolean | サインインが永続的かどうかを示すフラグ。 | |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前。 | `System.OperationCanceledException` |

---

`aspnetcore.identity.sign_in.result`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `failure` | サインインが失敗しました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `locked_out` | ユーザーがロックアウトされています。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `not_allowed` | ユーザーはサインインを許可されていません。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `requires_two_factor` | ユーザーはサインインに二要素認証を必要としています。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `success` | サインインが成功しました。 | ![Development](https://img.shields.io/badge/-development-blue) |

---

`aspnetcore.identity.sign_in.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `external` | 事前に登録済みのサードパーティログインでサインイン。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `passkey` | パスキーでサインイン。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `password` | パスワードでサインイン。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `two_factor` | 二要素プロバイダーでサインイン。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `two_factor_authenticator` | 二要素認証アプリでサインイン。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `two_factor_recovery_code` | 二要素リカバリーコードでサインイン。 | ![Development](https://img.shields.io/badge/-development-blue) |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.identity.sign_in.check_password_attempts`

<!-- semconv metric.aspnetcore.identity.sign_in.check_password_attempts -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.identity.sign_in.check_password_attempts` | Counter | `{attempt}` | パスワードチェック試行の合計数。`UserManager.CheckPasswordAsync`メソッドを使い、アカウントがログイン可能な状態かどうかと、パスワードが有効かどうかを確認します。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Identity`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.identity.user_type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | Identityユーザー型の完全な名前。 | `Contoso.ContosoUser` |
| [`aspnetcore.identity.sign_in.result`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if no exception was thrown. | string | サインイン結果が成功だったか失敗だったか。 | `password`; `two_factor` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前。 | `System.OperationCanceledException` |

---

`aspnetcore.identity.sign_in.result`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `failure` | サインインが失敗しました。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `locked_out` | ユーザーがロックアウトされています。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `not_allowed` | ユーザーはサインインを許可されていません。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `requires_two_factor` | ユーザーはサインインに二要素認証を必要としています。 | ![Development](https://img.shields.io/badge/-development-blue) |
| `success` | サインインが成功しました。 | ![Development](https://img.shields.io/badge/-development-blue) |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.identity.sign_in.sign_ins`

<!-- semconv metric.aspnetcore.identity.sign_in.sign_ins -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.identity.sign_in.sign_ins` | Counter | `{sign_in}` | ユーザープリンシパルをサインインさせる呼び出しの合計数。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Identity`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.authentication.scheme`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | 特定の認証ハンドラーに名前を付ける識別子。 | `Cookies`; `Bearer`; `Identity.Application` |
| [`aspnetcore.identity.user_type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | Identityユーザー型の完全な名前。 | `Contoso.ContosoUser` |
| [`aspnetcore.sign_in.is_persistent`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` if no exception was thrown. | boolean | サインインが永続的かどうかを示すフラグ。 | |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前。 | `System.OperationCanceledException` |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.identity.sign_in.sign_outs`

<!-- semconv metric.aspnetcore.identity.sign_in.sign_outs -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.identity.sign_in.sign_outs` | Counter | `{sign_out}` | ユーザープリンシパルをサインアウトさせる呼び出しの合計数。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Identity`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.authentication.scheme`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | 特定の認証ハンドラーに名前を付ける識別子。 | `Cookies`; `Bearer`; `Identity.Application` |
| [`aspnetcore.identity.user_type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | Identityユーザー型の完全な名前。 | `Contoso.ContosoUser` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前。 | `System.OperationCanceledException` |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.identity.sign_in.two_factor_clients_remembered`

<!-- semconv metric.aspnetcore.identity.sign_in.two_factor_clients_remembered -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.identity.sign_in.two_factor_clients_remembered` | Counter | `{client}` | 記憶された二要素クライアントの合計数。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Identity`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.authentication.scheme`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | 特定の認証ハンドラーに名前を付ける識別子。 | `Cookies`; `Bearer`; `Identity.Application` |
| [`aspnetcore.identity.user_type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | Identityユーザー型の完全な名前。 | `Contoso.ContosoUser` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前。 | `System.OperationCanceledException` |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `aspnetcore.identity.sign_in.two_factor_clients_forgotten`

<!-- semconv metric.aspnetcore.identity.sign_in.two_factor_clients_forgotten -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `aspnetcore.identity.sign_in.two_factor_clients_forgotten` | Counter | `{client}` | 忘却された二要素クライアントの合計数。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** Meterの名前: `Microsoft.AspNetCore.Identity`; 追加されたバージョン: ASP.NET Core 10.0

**Attributes:**

| Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`aspnetcore.authentication.scheme`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | 特定の認証ハンドラーに名前を付ける識別子。 | `Cookies`; `Bearer`; `Identity.Application` |
| [`aspnetcore.identity.user_type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/aspnetcore/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | Identityユーザー型の完全な名前。 | `Contoso.ContosoUser` |
| [`error.type`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/error/) | ![Stable](https://img.shields.io/badge/-stable-lightgreen) | `Conditionally Required` if and only if an error has occurred. | string | 例外型の完全な名前。 | `System.OperationCanceledException` |

---

`error.type`には、次のよく知られた値の一覧があります。これらのいずれかが該当する場合は、対応する値を使用しなければなりません（MUST）。そうでない場合は、独自の値を使用してもかまいません（MAY）。

| Value | Description | Stability |
| --- | --- | --- |
| `_OTHER` | 計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。 | ![Stable](https://img.shields.io/badge/-stable-lightgreen) |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

[DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status

