IDriverMetricsProviderGauge Method |
Creates a gauge 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 IDriverGauge Gauge(
string bucket,
IMetric metric,
Func<Nullable<double>> valueProvider
)
Parameters
- bucket
- Type: SystemString
- metric
- Type: Dse.MetricsIMetric
- valueProvider
- Type: SystemFuncNullableDouble
Return Value
Type:
IDriverGaugeSee Also