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
Methods
Inc(double)
Increments the counter.
void Inc(double increment = 1)
Parameters
incrementdouble
WithLabels(params string[])
Returns a counter with the specified labels.
ICounter WithLabels(params string[] labels)
Parameters
labelsstring[]