Click or drag to resize

IDriverMetricsProviderTimer Method

Creates a timer metric. bucket will contain the prefix configured with SetBucketPrefix(String), session name and node's address. Node's address will only be in the bucket name when metric is a NodeMetric. Implementations can call Equals(Object) to test if metric is a particular NodeMetric or SessionMetric.

Namespace:  Dse.Metrics.Abstractions
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
IDriverTimer Timer(
	string bucket,
	IMetric metric
)

Parameters

bucket
Type: SystemString
metric
Type: Dse.MetricsIMetric

Return Value

Type: IDriverTimer
See Also