SamplingStatisticsDocument class

Request sampling results for a single rule from a service. Results are for the last 10 seconds unless the service has been assigned a longer reporting interval after a previous call to GetSamplingTargets.

Constructors

SamplingStatisticsDocument({required String clientID, required int requestCount, required String ruleName, required int sampledCount, required DateTime timestamp, int? borrowCount})

Properties

borrowCount int?
The number of requests recorded with borrowed reservoir quota.
final
clientID String
A unique identifier for the service in hexadecimal.
final
hashCode int
The hash code for this object.
no setterinherited
requestCount int
The number of requests that matched the rule.
final
ruleName String
The name of the sampling rule.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampledCount int
The number of requests recorded.
final
timestamp DateTime
The current time.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited