この記事は英語の原文を日本語に翻訳したものです。原文: https://opentelemetry.io/docs/specs/semconv/dotnet/dotnet-aspnetcore-metrics/

翻訳元: open-telemetry/semantic-conventions v1.44.0(コミット e10a930

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

ステータス: Stable

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

サーバー

ルーティング

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

メトリクス: aspnetcore.routing.match_attempts

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.routing.match_attemptsCounter{match_attempt}エンドポイントとのマッチングが試行されたリクエスト数。[1]Stable

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.routing.match_statusStableRequiredstringマッチング結果(成功または失敗)。success; failure
aspnetcore.routing.is_fallbackStableConditionally Required if and only if a route was successfully matched.booleanマッチしたルートがフォールバックルートかどうかを示す値。true
http.routeStableConditionally 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パスで代替することはできません。 利用可能であれば、アプリケーションのルートを含めるべきです(SHOULD)。

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

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

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


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

ValueDescriptionStability
failureマッチングが失敗しました。Stable
successマッチングが成功しました。Stable

例外

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

メトリクス: aspnetcore.diagnostics.exceptions

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.diagnostics.exceptionsCounter{exception}例外処理ミドルウェアによって捕捉された例外数。[1]Stable

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.diagnostics.exception.resultStableRequiredstringASP.NET Coreの例外ミドルウェアによる処理結果。handled; unhandled
error.typeStableRequiredstring例外型の完全な名前。System.OperationCanceledException; Contoso.MyException
aspnetcore.diagnostics.handler.typeStableConditionally Required [1]stringその例外を処理したIExceptionHandler実装の完全な型名。Contoso.MyHandler

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


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

ValueDescriptionStability
abortedリクエストがアボートされたため、例外処理は実行されませんでした。Stable
handled例外は例外処理ミドルウェアによって処理されました。Stable
skippedレスポンスが開始されていたため、例外処理はスキップされました。Stable
unhandled例外は例外処理ミドルウェアによって処理されませんでした。Stable

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

レート制限

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

メトリクス: aspnetcore.rate_limiting.active_request_leases

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.rate_limiting.active_request_leasesUpDownCounter{request}レート制限リースを保持し、現在サーバー上でアクティブなリクエスト数。[1]Stable

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.rate_limiting.policyStableConditionally Required [1]stringレート制限ポリシー名。fixed; sliding; token

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

メトリクス: 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パラメータを指定すべきです(SHOULD)。

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.rate_limiting.request_lease.durationHistogramsサーバー上でリクエストが保持するレート制限リースの持続時間。[1]Stable

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.rate_limiting.policyStableConditionally Required [1]stringレート制限ポリシー名。fixed; sliding; token

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

メトリクス: aspnetcore.rate_limiting.queued_requests

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.rate_limiting.queued_requestsUpDownCounter{request}現在キューに入っており、レート制限リースの取得を待っているリクエスト数。[1]Stable

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.rate_limiting.policyStableConditionally Required [1]stringレート制限ポリシー名。fixed; sliding; token

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

メトリクス: 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パラメータを指定すべきです(SHOULD)。

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.rate_limiting.request.time_in_queueHistogramsリクエストが、レート制限リースの取得を待ってキューに滞在した時間。[1]Stable

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.rate_limiting.resultStableRequiredstringレート制限の結果。リースが取得されたかどうか、または拒否理由を示します。acquired; request_canceled
aspnetcore.rate_limiting.policyStableConditionally Required [1]stringレート制限ポリシー名。fixed; sliding; token

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


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

ValueDescriptionStability
acquiredリースが取得されました。Stable
endpoint_limiterリースリクエストがエンドポイントのリミッターによって拒否されました。Stable
global_limiterリースリクエストがグローバルリミッターによって拒否されました。Stable
request_canceledリースリクエストがキャンセルされました。Stable

メトリクス: aspnetcore.rate_limiting.requests

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.rate_limiting.requestsCounter{request}レート制限リースの取得を試みたリクエスト数。[1]Stable

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

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

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.rate_limiting.resultStableRequiredstringレート制限の結果。リースが取得されたかどうか、または拒否理由を示します。acquired; request_canceled
aspnetcore.rate_limiting.policyStableConditionally Required [1]stringレート制限ポリシー名。fixed; sliding; token

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


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

ValueDescriptionStability
acquiredリースが取得されました。Stable
endpoint_limiterリースリクエストがエンドポイントのリミッターによって拒否されました。Stable
global_limiterリースリクエストがグローバルリミッターによって拒否されました。Stable
request_canceledリースリクエストがキャンセルされました。Stable

メモリプール

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

メトリクス: aspnetcore.memory_pool.pooled

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.memory_pool.pooledUpDownCounterBy現在プールされ、再利用可能なバイト数。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.memory_pool.ownerDevelopmentConditionally Required [1]stringメモリプールインスタンスを使用しているライブラリまたはサブシステムの名前。kestrel; iis

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

メトリクス: aspnetcore.memory_pool.evicted

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.memory_pool.evictedCounterByメモリプールから追い出された(evicted)バイト数の合計。追い出しは、アイドル状態のプールされたメモリが回収される際に発生します。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.memory_pool.ownerDevelopmentConditionally Required [1]stringメモリプールインスタンスを使用しているライブラリまたはサブシステムの名前。kestrel; iis

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

メトリクス: aspnetcore.memory_pool.allocated

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.memory_pool.allocatedCounterByメモリプールによって割り当てられたバイト数の合計。割り当ては、メモリのレンタルリクエストが利用可能なプールされたメモリを超えた場合に発生します。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.memory_pool.ownerDevelopmentConditionally Required [1]stringメモリプールインスタンスを使用しているライブラリまたはサブシステムの名前。kestrel; iis

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

メトリクス: aspnetcore.memory_pool.rented

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.memory_pool.rentedCounterByメモリプールからレンタルされたバイト数の合計。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.memory_pool.ownerDevelopmentConditionally Required [1]stringメモリプールインスタンスを使用しているライブラリまたはサブシステムの名前。kestrel; iis

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

認証

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

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

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.authentication.authenticate.durationHistogramsリクエストの認証にかかった時間。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.authentication.resultDevelopmentRequiredstring認証操作の結果。success; failure
aspnetcore.authentication.schemeDevelopmentConditionally Required if a scheme is specified during authentication.string特定の認証ハンドラーに名前を付ける識別子。Cookies; Bearer; Identity.Application
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前。System.OperationCanceledException

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

ValueDescriptionStability
failure認証が失敗しました。Development
none認証情報が返されませんでした。Development
success認証が成功しました。Development

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

メトリクス: aspnetcore.authentication.challenges

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.authentication.challengesCounter{challenge}スキームがチャレンジされた回数の合計。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.authentication.schemeDevelopmentConditionally Required if a scheme is specified during authentication.string特定の認証ハンドラーに名前を付ける識別子。Cookies; Bearer; Identity.Application
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前。System.OperationCanceledException

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

メトリクス: aspnetcore.authentication.forbids

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.authentication.forbidsCounter{forbid}認証済みユーザーが、アクセスを許可されていないリソースへのアクセスを試みた回数の合計。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.authentication.schemeDevelopmentConditionally Required if a scheme is specified during authentication.string特定の認証ハンドラーに名前を付ける識別子。Cookies; Bearer; Identity.Application
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前。System.OperationCanceledException

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

メトリクス: aspnetcore.authentication.sign_ins

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.authentication.sign_insCounter{sign_in}プリンシパルが、あるスキームでサインインした回数の合計。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.authentication.schemeDevelopmentConditionally Required if a scheme is specified during authentication.string特定の認証ハンドラーに名前を付ける識別子。Cookies; Bearer; Identity.Application
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前。System.OperationCanceledException

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

メトリクス: aspnetcore.authentication.sign_outs

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.authentication.sign_outsCounter{sign_out}プリンシパルが、あるスキームでサインアウトした回数の合計。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.authentication.schemeDevelopmentConditionally Required if a scheme is specified during authentication.string特定の認証ハンドラーに名前を付ける識別子。Cookies; Bearer; Identity.Application
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前。System.OperationCanceledException

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

認可

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

メトリクス: aspnetcore.authorization.attempts

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.authorization.attemptsCounter{attempt}認可試行の合計数。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.user.is_authenticatedStableRequiredbooleanユーザーが認証済みかどうかを示す値。true
aspnetcore.authorization.policyDevelopmentConditionally Required if a policy is specified.string認可ポリシーの名前。RequireAdminRole
aspnetcore.authorization.resultDevelopmentConditionally Required if no exception was thrown.string認可サービス呼び出しの結果。success; failure
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前。System.OperationCanceledException

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

ValueDescriptionStability
failure認可が失敗しました。Development
success認可が成功しました。Development

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

Identity

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

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

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.identity.user.create.durationHistogramsユーザー作成操作の実行時間。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.identity.user_typeDevelopmentRequiredstringIdentityユーザー型の完全な名前。Contoso.ContosoUser
aspnetcore.identity.error_codeDevelopmentConditionally Required if an error was set on a failed identity result.string失敗したIdentity操作のエラーコード。DefaultError; PasswordMismatch
aspnetcore.identity.resultDevelopmentConditionally Required if no exception was thrown.stringIdentity操作の結果。success; failure
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前、またはIdentityエラーコード。System.OperationCanceledException; PasswordMismatch

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

ValueDescriptionStability
failureIdentity操作が失敗しました。Development
successIdentity操作が成功しました。Development

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

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

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.identity.user.update.durationHistogramsユーザー更新操作の実行時間。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.identity.user.update_typeDevelopmentRequiredstringユーザー更新の種類。update; user_name; reset_password
aspnetcore.identity.user_typeDevelopmentRequiredstringIdentityユーザー型の完全な名前。Contoso.ContosoUser
aspnetcore.identity.error_codeDevelopmentConditionally Required if an error was set on a failed identity result.string失敗したIdentity操作のエラーコード。DefaultError; PasswordMismatch
aspnetcore.identity.resultDevelopmentConditionally Required if no exception was thrown.stringIdentity操作の結果。success; failure
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前、またはIdentityエラーコード。System.OperationCanceledException; PasswordMismatch

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

ValueDescriptionStability
failureIdentity操作が失敗しました。Development
successIdentity操作が成功しました。Development

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

ValueDescriptionStability
_OTHER計装が事前に知らない更新の種類。Development
access_failedIdentityユーザーのアクセス失敗が記録されました。Development
add_claimsIdentityユーザーのクレームが追加されました。Development
add_loginIdentityユーザーのログインが追加されました。Development
add_passwordIdentityユーザーのパスワードが追加されました。Development
add_to_rolesIdentityユーザーがロールに追加されました。Development
change_emailIdentityユーザーのメールアドレスが変更されました。Development
change_passwordIdentityユーザーのパスワードが変更されました。Development
change_phone_numberIdentityユーザーの電話番号が変更されました。Development
confirm_emailIdentityユーザーのメールアドレスが確認されました。Development
generate_new_two_factor_recovery_codesIdentityユーザーの新しい二要素リカバリーコードが生成されました。Development
password_rehashIdentityユーザーのパスワードが再ハッシュされました。Development
redeem_two_factor_recovery_codeIdentityユーザーの二要素リカバリーコードが使用されました。Development
remove_authentication_tokenIdentityユーザーの認証トークンが削除されました。Development
remove_claimsIdentityユーザーのクレームが削除されました。Development
remove_from_rolesIdentityユーザーがロールから削除されました。Development
remove_loginIdentityユーザーのログインが削除されました。Development
remove_passkeyIdentityユーザーのパスキーが削除されました。Development
remove_passwordIdentityユーザーのパスワードが削除されました。Development
replace_claimIdentityユーザーのクレームが置き換えられました。Development
reset_access_failed_countIdentityユーザーのアクセス失敗回数がリセットされました。Development
reset_authenticator_keyIdentityユーザーの認証キーがリセットされました。Development
reset_passwordIdentityユーザーのパスワードがリセットされました。Development
security_stampIdentityユーザーのセキュリティスタンプが更新されました。Development
set_authentication_tokenIdentityユーザーの認証トークンが設定されました。Development
set_emailIdentityユーザーのメールアドレスが設定されました。Development
set_lockout_enabledIdentityユーザーのロックアウトが有効・無効化されました。Development
set_lockout_end_dateIdentityユーザーのロックアウト終了日が設定されました。Development
set_passkeyIdentityユーザーのパスキーが設定されました。Development
set_phone_numberIdentityユーザーの電話番号が設定されました。Development
set_two_factor_enabledIdentityユーザーの二要素認証が有効・無効化されました。Development
updateIdentityユーザーが更新されました。Development
user_nameIdentityのユーザー名が更新されました。Development

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

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

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.identity.user.delete.durationHistogramsユーザー削除操作の実行時間。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.identity.user_typeDevelopmentRequiredstringIdentityユーザー型の完全な名前。Contoso.ContosoUser
aspnetcore.identity.error_codeDevelopmentConditionally Required if an error was set on a failed identity result.string失敗したIdentity操作のエラーコード。DefaultError; PasswordMismatch
aspnetcore.identity.resultDevelopmentConditionally Required if no exception was thrown.stringIdentity操作の結果。success; failure
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前、またはIdentityエラーコード。System.OperationCanceledException; PasswordMismatch

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

ValueDescriptionStability
failureIdentity操作が失敗しました。Development
successIdentity操作が成功しました。Development

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

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

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.identity.user.check_password_attemptsCounter{attempt}パスワードチェック試行数。パスワードが有効かどうかのみを確認し、ユーザーアカウントがログイン可能な状態かどうかは確認しません。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.identity.user_typeDevelopmentRequiredstringIdentityユーザー型の完全な名前。Contoso.ContosoUser
aspnetcore.identity.password_check_resultDevelopmentConditionally Required if no exception was thrown.stringパスワードチェックの結果。success; failure
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前。System.OperationCanceledException

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

ValueDescriptionStability
failureパスワードチェックが失敗しました。Development
password_missingユーザーにパスワードが設定されていなかったため、パスワードチェックを続行できませんでした。Development
successパスワードチェックが成功しました。Development
success_rehash_neededパスワードチェックは成功しましたが、パスワードが非推奨のアルゴリズムでエンコードされていたため、再ハッシュして更新すべきです。Development
user_missingユーザーが存在しなかったため、パスワードチェックを続行できませんでした。Development

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

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

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.identity.user.generated_tokensCounter{count}トークン生成の合計数。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.identity.token_purposeDevelopmentRequiredstringトークンの用途。success; failure
aspnetcore.identity.user_typeDevelopmentRequiredstringIdentityユーザー型の完全な名前。Contoso.ContosoUser
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前。System.OperationCanceledException

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

ValueDescriptionStability
_OTHER計装が事前に知らないトークンの用途。Development
change_emailメールアドレスの変更のためのトークン。Development
change_phone_number電話番号の変更のためのトークン。Development
email_confirmationメールアドレスの確認のためのトークン。Development
reset_passwordパスワードのリセットのためのトークン。Development
two_factor二要素設定の変更のためのトークン。Development

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

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

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.identity.user.verify_token_attemptsCounter{attempt}トークン検証試行の合計数。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.identity.token_purposeDevelopmentRequiredstringトークンの用途。success; failure
aspnetcore.identity.user_typeDevelopmentRequiredstringIdentityユーザー型の完全な名前。Contoso.ContosoUser
aspnetcore.identity.token_verifiedDevelopmentConditionally Required if no exception was thrown.stringトークン検証の結果。success; failure
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前。System.OperationCanceledException

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

ValueDescriptionStability
_OTHER計装が事前に知らないトークンの用途。Development
change_emailメールアドレスの変更のためのトークン。Development
change_phone_number電話番号の変更のためのトークン。Development
email_confirmationメールアドレスの確認のためのトークン。Development
reset_passwordパスワードのリセットのためのトークン。Development
two_factor二要素設定の変更のためのトークン。Development

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

ValueDescriptionStability
failureトークン検証が失敗しました。Development
successトークン検証が成功しました。Development

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

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

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.identity.sign_in.authenticate.durationHistograms認証試行の実行時間。この認証メトリクスは、PasswordSignInAsyncTwoFactorSignInAsyncなどのサインインメソッドによって記録されます。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.authentication.schemeDevelopmentRequiredstring特定の認証ハンドラーに名前を付ける識別子。Cookies; Bearer; Identity.Application
aspnetcore.identity.sign_in.typeDevelopmentRequiredstring認証の種類。password; two_factor
aspnetcore.identity.user_typeDevelopmentRequiredstringIdentityユーザー型の完全な名前。Contoso.ContosoUser
aspnetcore.identity.sign_in.resultDevelopmentConditionally Required if no exception was thrown.stringサインイン結果が成功だったか失敗だったか。password; two_factor
aspnetcore.sign_in.is_persistentDevelopmentConditionally Required if no exception was thrown.booleanサインインが永続的かどうかを示すフラグ。
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前。System.OperationCanceledException

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

ValueDescriptionStability
failureサインインが失敗しました。Development
locked_outユーザーがロックアウトされています。Development
not_allowedユーザーはサインインを許可されていません。Development
requires_two_factorユーザーはサインインに二要素認証を必要としています。Development
successサインインが成功しました。Development

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

ValueDescriptionStability
external事前に登録済みのサードパーティログインでサインイン。Development
passkeyパスキーでサインイン。Development
passwordパスワードでサインイン。Development
two_factor二要素プロバイダーでサインイン。Development
two_factor_authenticator二要素認証アプリでサインイン。Development
two_factor_recovery_code二要素リカバリーコードでサインイン。Development

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

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

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.identity.sign_in.check_password_attemptsCounter{attempt}パスワードチェック試行の合計数。UserManager.CheckPasswordAsyncメソッドを使い、アカウントがログイン可能な状態かどうかと、パスワードが有効かどうかを確認します。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.identity.user_typeDevelopmentRequiredstringIdentityユーザー型の完全な名前。Contoso.ContosoUser
aspnetcore.identity.sign_in.resultDevelopmentConditionally Required if no exception was thrown.stringサインイン結果が成功だったか失敗だったか。password; two_factor
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前。System.OperationCanceledException

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

ValueDescriptionStability
failureサインインが失敗しました。Development
locked_outユーザーがロックアウトされています。Development
not_allowedユーザーはサインインを許可されていません。Development
requires_two_factorユーザーはサインインに二要素認証を必要としています。Development
successサインインが成功しました。Development

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

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

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.identity.sign_in.sign_insCounter{sign_in}ユーザープリンシパルをサインインさせる呼び出しの合計数。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.authentication.schemeDevelopmentRequiredstring特定の認証ハンドラーに名前を付ける識別子。Cookies; Bearer; Identity.Application
aspnetcore.identity.user_typeDevelopmentRequiredstringIdentityユーザー型の完全な名前。Contoso.ContosoUser
aspnetcore.sign_in.is_persistentDevelopmentConditionally Required if no exception was thrown.booleanサインインが永続的かどうかを示すフラグ。
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前。System.OperationCanceledException

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

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

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.identity.sign_in.sign_outsCounter{sign_out}ユーザープリンシパルをサインアウトさせる呼び出しの合計数。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.authentication.schemeDevelopmentRequiredstring特定の認証ハンドラーに名前を付ける識別子。Cookies; Bearer; Identity.Application
aspnetcore.identity.user_typeDevelopmentRequiredstringIdentityユーザー型の完全な名前。Contoso.ContosoUser
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前。System.OperationCanceledException

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

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

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.identity.sign_in.two_factor_clients_rememberedCounter{client}記憶された二要素クライアントの合計数。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.authentication.schemeDevelopmentRequiredstring特定の認証ハンドラーに名前を付ける識別子。Cookies; Bearer; Identity.Application
aspnetcore.identity.user_typeDevelopmentRequiredstringIdentityユーザー型の完全な名前。Contoso.ContosoUser
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前。System.OperationCanceledException

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable

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

NameInstrument TypeUnit (UCUM)DescriptionStabilityEntity Associations
aspnetcore.identity.sign_in.two_factor_clients_forgottenCounter{client}忘却された二要素クライアントの合計数。[1]Development

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

Attributes:

KeyStabilityRequirement LevelValue TypeDescriptionExample Values
aspnetcore.authentication.schemeDevelopmentRequiredstring特定の認証ハンドラーに名前を付ける識別子。Cookies; Bearer; Identity.Application
aspnetcore.identity.user_typeDevelopmentRequiredstringIdentityユーザー型の完全な名前。Contoso.ContosoUser
error.typeStableConditionally Required if and only if an error has occurred.string例外型の完全な名前。System.OperationCanceledException

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

ValueDescriptionStability
_OTHER計装が独自の値を定義していない場合に使用するフォールバック用のエラー値。Stable