Click or drag to resize

DriverMetricsOptionsSetEnabledSessionMetrics Method

Enables specific session metrics. The available session metrics can be found as static readonly properties in the SessionMetric class, e.g., BytesSent. There is also a property that returns a collection with the default session metrics (DefaultSessionMetrics) and one with all session metrics (AllSessionMetrics).

Namespace:  Dse.Metrics
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public DriverMetricsOptions SetEnabledSessionMetrics(
	IEnumerable<SessionMetric> enabledSessionMetrics
)

Parameters

enabledSessionMetrics
Type: System.Collections.GenericIEnumerableSessionMetric

Return Value

Type: DriverMetricsOptions
This instance.
See Also