Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maint(deps): bump github.com/honeycombio/dynsampler-go from 0.3.0 to 0.5.1 #312

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2023

Bumps github.com/honeycombio/dynsampler-go from 0.3.0 to 0.5.1.

Release notes

Sourced from github.com/honeycombio/dynsampler-go's releases.

v0.5.0

0.5.0 2023-06-08

This version extends the Sampler interface to include a new GetMetrics function, which returns a collection of metrics relevant to that specific sampler. This improves visibility into the sampler and will be used in an upcoming release of Honeycomb's Refinery.

This is a breaking change for code implemented so as to conform to the dynsampler.Sampler interface, such as hand-coded mocks used for testing. Code using the interface is unaffected.

Features

Maintenance

v0.4.0

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

Changelog

Sourced from github.com/honeycombio/dynsampler-go's changelog.

0.5.1 2023-06-26

This version corrects a math error in the EMAThroughput sampler.

Fixes

0.5.0 2023-06-08

This version extends the Sampler interface to include a new GetMetrics function, which returns a collection of metrics relevant to that specific sampler. This improves visibility into the sampler and will be used in an upcoming release of Honeycomb's Refinery. This is a breaking change for code implemented so as to conform to the dynsampler.Sampler interface, such as hand-coded mocks used for testing. Code using the interface is unaffected.

Features

Maintenance

0.4.0 2023-03-22

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

... (truncated)

Commits
  • 2e44c50 rel: Prep 0.5.1 (#68)
  • 96770c8 fix: Correct EMAThroughput math error (#67)
  • 3f22dde rel: Prep for 0.5.0 release (#66)
  • edb5cae feat: Add metrics counter retrieval (#65)
  • 3a83381 maint(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#64)
  • e4ececb maint: update dependabot.yml (#63)
  • a418208 rel: Prep for v0.4.0 release (#60)
  • 22b9a56 feat: EMAThroughput sampler (#58)
  • 2f3e10b feat: Deprecate integer seconds and replace with time.Duration (#59)
  • 141159f maint: Pull out common calculation into a function (#57)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/honeycombio/dynsampler-go](https://github.com/honeycombio/dynsampler-go) from 0.3.0 to 0.5.1.
- [Release notes](https://github.com/honeycombio/dynsampler-go/releases)
- [Changelog](https://github.com/honeycombio/dynsampler-go/blob/main/CHANGELOG.md)
- [Commits](honeycombio/dynsampler-go@v0.3.0...v0.5.1)

---
updated-dependencies:
- dependency-name: github.com/honeycombio/dynsampler-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@TylerHelmuth TylerHelmuth merged commit 62b4748 into main Jul 5, 2023
@TylerHelmuth TylerHelmuth deleted the dependabot/go_modules/github.com/honeycombio/dynsampler-go-0.5.1 branch July 5, 2023 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant