Package ai.vespa.sampling
@ExportPackage
package ai.vespa.sampling
-
ClassDescriptionVery basic sampling strategy which allows for sampling N requests within a fixed time window.Clock which returns a monotonically increasing timestamp from an undefined epoch.Simple implementation of OpenCensus algorithm for probabilistic rate limiting as outlined in https://github.com/census-instrumentation/opencensus-specs/blob/master/trace/Sampling.mdA sampling strategy makes the high-level decision of whether or not a query should be traced.