Click or drag to resize

IDriverMetricsProviderCounter Method

Creates a counter 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#
IDriverCounter Counter(
	string bucket,
	IMetric metric
)

Parameters

bucket
Type: SystemString
metric
Type: Dse.MetricsIMetric

Return Value

Type: IDriverCounter
See Also