Meter.CreateHistogram メソッド

定義

オーバーロード

CreateHistogram<T>(String, String, String)

ヒストグラムを作成します。これは、統計的に意味のある可能性が高い任意の値を報告するために使用できる計測器です。 これは、ヒストグラム、概要、パーセンタイルなどの統計を対象としています。

CreateHistogram<T>(String, String, String, IEnumerable<KeyValuePair<String,Object>>)

ヒストグラム インスタンスを作成します。これは、統計的に意味のある可能性が高い任意の値をレポートするために使用できる Instrument です。 これは、ヒストグラム、概要、パーセンタイルなどの統計を対象としています。

CreateHistogram<T>(String, String, String)

ソース:
Meter.cs
ソース:
Meter.cs
ソース:
Meter.cs

ヒストグラムを作成します。これは、統計的に意味のある可能性が高い任意の値を報告するために使用できる計測器です。 これは、ヒストグラム、概要、パーセンタイルなどの統計を対象としています。

public System.Diagnostics.Metrics.Histogram<T> CreateHistogram<T> (string name, string? unit = default, string? description = default) where T : struct;
member this.CreateHistogram : string * string * string -> System.Diagnostics.Metrics.Histogram<'T (requires 'T : struct)> (requires 'T : struct)
Public Function CreateHistogram(Of T As Structure) (name As String, Optional unit As String = Nothing, Optional description As String = Nothing) As Histogram(Of T)

型パラメーター

T

測定の数値型。

パラメーター

name
String

インストルメント名。 null にすることはできません。

unit
String

測定の任意器械の単位。

description
String

オプションのインストルメントの説明。

戻り値

新しいヒストグラム。

注釈

ヒストグラムの使用例: 要求の期間と応答ペイロードのサイズ。

適用対象

CreateHistogram<T>(String, String, String, IEnumerable<KeyValuePair<String,Object>>)

ソース:
Meter.cs
ソース:
Meter.cs

ヒストグラム インスタンスを作成します。これは、統計的に意味のある可能性が高い任意の値をレポートするために使用できる Instrument です。 これは、ヒストグラム、概要、パーセンタイルなどの統計を対象としています。

public:
generic <typename T>
 where T : value class System::Diagnostics::Metrics::Histogram<T> ^ CreateHistogram(System::String ^ name, System::String ^ unit, System::String ^ description, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ tags);
public System.Diagnostics.Metrics.Histogram<T> CreateHistogram<T> (string name, string? unit, string? description, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object?>> tags) where T : struct;
member this.CreateHistogram : string * string * string * seq<System.Collections.Generic.KeyValuePair<string, obj>> -> System.Diagnostics.Metrics.Histogram<'T (requires 'T : struct)> (requires 'T : struct)
Public Function CreateHistogram(Of T As Structure) (name As String, unit As String, description As String, tags As IEnumerable(Of KeyValuePair(Of String, Object))) As Histogram(Of T)

型パラメーター

T

測定の数値型。

パラメーター

name
String

インストルメント名。 null にすることはできません。

unit
String

測定の任意器械の単位。

description
String

オプションのインストルメントの説明。

tags
IEnumerable<KeyValuePair<String,Object>>

カウンターにアタッチするタグ。

戻り値

新しいヒストグラム。

注釈

ヒストグラムの使用例: 要求期間と応答ペイロードのサイズ。

適用対象