語言

Meter.CreateHistogram 方法

定義

多載

名稱 Description
CreateHistogram<T>(String, String, String, IEnumerable<KeyValuePair<String,Object>>, InstrumentAdvice<T>)

直方圖是一種工具,可用來報告可能具有統計意義的任意數值。 它主要用於統計數據,例如直方圖、摘要和百分位。

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

建立一個直方圖實例,這是一種可用來報告可能具有統計意義的任意值的工具。 它主要用於統計數據,例如直方圖、摘要和百分位。

CreateHistogram<T>(String)

直方圖是一種工具,可用來報告可能具有統計意義的任意數值。 它主要用於統計數據,例如直方圖、摘要和百分位。

CreateHistogram<T>(String, String, String)

建立直方圖,這是一種可用來報告可能具有統計意義的任意數值的工具。 它主要用於統計數據,如直方圖、摘要和百分位數。

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

來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs

直方圖是一種工具,可用來報告可能具有統計意義的任意數值。 它主要用於統計數據,例如直方圖、摘要和百分位。

public System.Diagnostics.Metrics.Histogram<T> CreateHistogram<T>(string name, string? unit = default, string? description = default, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object?>>? tags = default, System.Diagnostics.Metrics.InstrumentAdvice<T>? advice = default) where T : struct;
member this.CreateHistogram : string * string * string * seq<System.Collections.Generic.KeyValuePair<string, obj>> * System.Diagnostics.Metrics.InstrumentAdvice<'T (requires 'T : struct)> -> 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, Optional tags As IEnumerable(Of KeyValuePair(Of String, Object)) = Nothing, Optional advice As InstrumentAdvice(Of T) = Nothing) As Histogram(Of T)

類型參數

T

參數

name
String

樂器名稱。 不可以是 null。

unit
String

可選的儀器計量單位。

description
String

可選的儀器說明。

tags
IEnumerable<KeyValuePair<String,Object>>

可選附加標籤於直方圖。

advice
InstrumentAdvice<T>

可選擇 InstrumentAdvice<T> 附加於直方圖上。

傳回

備註

直方圖的例子:請求長度與回應有效載荷大小。

適用於

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

來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs

建立一個直方圖實例,這是一種可用來報告可能具有統計意義的任意值的工具。 它主要用於統計數據,例如直方圖、摘要和百分位。

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;
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>>

標籤要貼在櫃檯上。

傳回

一個新的直方圖。

備註

直方圖的例子:請求長度與回應有效載荷大小。

適用於

CreateHistogram<T>(String)

來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs

直方圖是一種工具,可用來報告可能具有統計意義的任意數值。 它主要用於統計數據,例如直方圖、摘要和百分位。

public:
generic <typename T>
 where T : value class System::Diagnostics::Metrics::Histogram<T> ^ CreateHistogram(System::String ^ name);
public System.Diagnostics.Metrics.Histogram<T> CreateHistogram<T>(string name) where T : struct;
member this.CreateHistogram : string -> System.Diagnostics.Metrics.Histogram<'T (requires 'T : struct)> (requires 'T : struct)
Public Function CreateHistogram(Of T As Structure) (name As String) As Histogram(Of T)

類型參數

T

參數

name
String

樂器名稱。 不可以是 null。

傳回

備註

直方圖的例子:請求長度與回應有效載荷大小。

適用於

CreateHistogram<T>(String, String, String)

來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs
來源:
Meter.cs

建立直方圖,這是一種可用來報告可能具有統計意義的任意數值的工具。 它主要用於統計數據,如直方圖、摘要和百分位數。

public:
generic <typename T>
 where T : value class System::Diagnostics::Metrics::Histogram<T> ^ CreateHistogram(System::String ^ name, System::String ^ unit, System::String ^ description);
public System.Diagnostics.Metrics.Histogram<T> CreateHistogram<T>(string name, string? unit, string? description) where T : struct;
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, unit As String, description As String) As Histogram(Of T)
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

可選的儀器說明。

傳回

一個新的直方圖。

備註

直方圖的應用範例:請求時長與回應有效載荷大小。

適用於