Package ai.vespa.sampling


@ExportPackage package ai.vespa.sampling
  • Class
    Description
    Very 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.md
    A sampling strategy makes the high-level decision of whether or not a query should be traced.