Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 18 Mar 02:59
· 22 commits to main since this release

0.1.0 (2026-03-18)

Features

  • implement trace filtering system with composable samplers and filters (97f23b9)

Bug Fixes

  • call Filter.Key() before acquiring write lock to prevent potential deadlock (c876dd1)
  • call RegisteredFilters once in Description to avoid inconsistent snapshots (bf52444)
  • use go-version 1.25 for golangci-lint compatibility (92c5a2c)
  • reset filterKeys in ClearFilters and add sync.RWMutex for concurrency safety (563e0ab)
  • return defensive copy from RegisteredFilters to prevent shared backing array (0573bb7)

Tests

  • update assertions to expect nil SamplingResult.Attributes per OTel spec (e2edf7c)

Code Refactoring

  • optimize FilterBasedSampler and improve test clarity (ae486e0)
  • unexport CompositeSampler.Samplers and defensively copy slice in constructor (d5a426b)

Performance Improvements

  • hoist attribute.NewSet outside the filter loop in ShouldSample (e22bcc8)