Share via


IVSHistogram<T> Interface

Definition

A Histogram with exposed Statistics + Buckets

public interface IVSHistogram<T> : Microsoft.VisualStudio.Telemetry.Metrics.IHistogram<T> where T : struct
type IVSHistogram<'T (requires 'T : struct)> = interface
    interface IInstrument
    interface IHistogram<'T (requires 'T : struct)>
Public Interface IVSHistogram(Of T)
Implements IHistogram(Of T)

Type Parameters

T

The counter type. Supported types: Byte, Int16, Int32, Int64, Double, Single, and Decimal.

Implements

Properties

Buckets

Gets the buckets for the histogram with associated statistical data.

Description

Gets the instrument description.

(Inherited from IInstrument)
Enabled

Gets a value indicating whether there are any listeners for this instrument.

(Inherited from IInstrument)
IsObservable

Gets a value indicating whether the instrument is an observable instrument.

(Inherited from IInstrument)
Meter

Gets the Meter that created the instrument.

(Inherited from IInstrument)
Name

Gets the instrument name.

(Inherited from IInstrument)
Statistics

Gets the summary-level statistics for the full Histogram.

Unit

Gets the instrument unit of measurements.

(Inherited from IInstrument)

Methods

Record(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>, KeyValuePair<String,Object>)

Records a measurement value.

(Inherited from IHistogram<T>)
Record(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>)

Records a measurement value.

(Inherited from IHistogram<T>)
Record(T, KeyValuePair<String,Object>)

Records a measurement value.

(Inherited from IHistogram<T>)
Record(T, KeyValuePair<String,Object>[])

Records a measurement value.

(Inherited from IHistogram<T>)
Record(T, ReadOnlySpan<KeyValuePair<String,Object>>)

Records a measurement value.

(Inherited from IHistogram<T>)
Record(T)

Records a measurement value.

(Inherited from IHistogram<T>)

Applies to