Skip to content

v0.4.0

Compare
Choose a tag to compare
@houndtravisci houndtravisci released this 22 Mar 14:20
a418208

This version contains two new samplers and some (backwards-compatible) changes to the API:

  • Many thanks to Yi Zhao for the contribution of the WindowedThroughput sampler. This sampler is like the Throughput sampler, but uses a moving average to accumulate sample rates across multiple sampling periods.
  • The new EMAThroughput sampler adjusts overall throughput to achieve a goal while also ensuring that all values in the key space are represented.
  • The GetSampleRateMulti() function allows a single request to represent multiple events. This is particularly useful when tail-sampling at the trace level (because each trace represents a number of spans).
  • All samplers now support specifying a time.Duration instead of a time in seconds. Fields like ClearFrequencySec are now deprecated and will be dropped in a future release.

⚠️ As of this version, dynsampler-go requires and is tested on versions of Go 1.17 and greater.

Features

Maintenance