Meter.CreateUpDownCounter Método

Definição

Sobrecargas

Name Description
CreateUpDownCounter<T>(String, String, String)

Crie um objeto UpDownCounter de métricas.

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

Crie um objeto UpDownCounter de métricas.

CreateUpDownCounter<T>(String, String, String)

Origem:
Meter.cs
Origem:
Meter.cs
Origem:
Meter.cs
Origem:
Meter.cs
Origem:
Meter.cs
Origem:
Meter.cs
Origem:
Meter.cs

Crie um objeto UpDownCounter de métricas.

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

Parâmetros de Tipo Genérico

T

O tipo numérico da medição.

Parâmetros

name
String

O nome do instrumento. Não pode ser null.

unit
String

Unidade de medida opcional do instrumento.

description
String

Descrição opcional do instrumento.

Devoluções

Um novo balcão de baixo para baixo.

Observações

UpDownCounter é um instrumento que suporta o reporte de valores positivos ou negativos de métricas. Exemplos de utilizações para o UpDownCounter: reportar a alteração nos pedidos ativos ou no tamanho da fila.

Aplica-se a

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

Origem:
Meter.cs
Origem:
Meter.cs
Origem:
Meter.cs
Origem:
Meter.cs
Origem:
Meter.cs
Origem:
Meter.cs

Crie um objeto UpDownCounter de métricas.

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

Parâmetros de Tipo Genérico

T

O tipo numérico da medição.

Parâmetros

name
String

O nome do instrumento. Não pode ser null.

unit
String

Unidade de medida opcional do instrumento.

description
String

Descrição opcional do instrumento.

tags
IEnumerable<KeyValuePair<String,Object>>

etiquetas para colar ao balcão.

Devoluções

Um novo balcão de baixo para baixo.

Observações

UpDownCounter é um instrumento que suporta o reporte de valores positivos ou negativos de métricas. Exemplos de utilizações para o UpDownCounter: reportar a alteração nos pedidos ativos ou no tamanho da fila.

Aplica-se a