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:  Cassandra.Metrics.Abstractions
Assembly:  Cassandra (in Cassandra.dll) Version: 3.12.0
Syntax
C#
IDriverTimer Timer(
	string bucket,
	IMetric metric
)

Parameters

bucket
Type: SystemString
metric
Type: Cassandra.MetricsIMetric

Return Value

Type: IDriverTimer
See Also