Table of Contents

Interface ICounter

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

Counter metric interface.

public interface ICounter

Properties

Value

Gets the current value.

double Value { get; }

Property Value

double

Methods

Inc(double)

Increments the counter.

void Inc(double increment = 1)

Parameters

increment double

WithLabels(params string[])

Returns a counter with the specified labels.

ICounter WithLabels(params string[] labels)

Parameters

labels string[]

Returns

ICounter