Table of Contents

Interface IHistogram

Namespace
DotCompute.Core.Telemetry
Assembly
DotCompute.Core.dll

Histogram metric interface.

public interface IHistogram

Properties

Count

Gets the count of observations.

long Count { get; }

Property Value

long

Sum

Gets the total sum of observed values.

double Sum { get; }

Property Value

double

Methods

Observe(double)

Observes a value.

void Observe(double value)

Parameters

value double

WithLabels(params string[])

Returns a histogram with the specified labels.

IHistogram WithLabels(params string[] labels)

Parameters

labels string[]

Returns

IHistogram