Skip to content

Commit

Permalink
maint(deps): bump github.com/honeycombio/dynsampler-go from 0.3.0 to …
Browse files Browse the repository at this point in the history
…0.5.1 (#312)

Bumps
[github.com/honeycombio/dynsampler-go](https://github.com/honeycombio/dynsampler-go)
from 0.3.0 to 0.5.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/honeycombio/dynsampler-go/releases">github.com/honeycombio/dynsampler-go's
releases</a>.</em></p>
<blockquote>
<h2>v0.5.0</h2>
<h2>0.5.0 2023-06-08</h2>
<p>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.</p>
<p>This is a breaking change for code implemented so as to conform to
the <code>dynsampler.Sampler</code> interface, such as hand-coded mocks
used for testing. Code using the interface is unaffected.</p>
<h3>Features</h3>
<ul>
<li>feat: Add GetMetrics metrics retrieval function to Sampler interface
(<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/65">#65</a>)
| [Kent Quirk](<a
href="https://github.com/Kent">https://github.com/Kent</a> Quirk)</li>
</ul>
<h3>Maintenance</h3>
<ul>
<li>maint(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4
(<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/64">#64</a>)
| <a
href="https://github.com/dependabot%5Bbot%5D">dependabot[bot]</a></li>
<li>maint: update dependabot.yml (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/63">#63</a>)
| [Vera Reynolds](<a
href="https://github.com/Vera">https://github.com/Vera</a>
Reynolds)</li>
</ul>
<h2>v0.4.0</h2>
<p>This version contains two new samplers and some
(backwards-compatible) changes to the API:</p>
<ul>
<li>Many thanks to <a href="https://github.com/yizzlez">Yi Zhao</a> for
the contribution of the <code>WindowedThroughput</code> sampler. This
sampler is like the Throughput sampler, but uses a moving average to
accumulate sample rates across multiple sampling periods.</li>
<li>The new <code>EMAThroughput</code> sampler adjusts overall
throughput to achieve a goal while also ensuring that all values in the
key space are represented.</li>
<li>The <code>GetSampleRateMulti()</code> 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).</li>
<li>All samplers now support specifying a <code>time.Duration</code>
instead of a time in seconds. Fields like <code>ClearFrequencySec</code>
are now deprecated and will be dropped in a future release.</li>
</ul>
<p>⚠️ As of this version, dynsampler-go requires and is tested on
versions of Go 1.17 and greater.</p>
<h3>Features</h3>
<ul>
<li>feat: EMAThroughput sampler (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/58">#58</a>)
| <a href="https://github.com/kentquirk">Kent Quirk</a></li>
<li>feat: Deprecate integer seconds and replace with time.Duration (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/59">#59</a>)
| <a href="https://github.com/kentquirk">Kent Quirk</a></li>
<li>feat: add GetSampleRateMulti (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/53">#53</a>)
| <a href="https://github.com/kentquirk">Kent Quirk</a></li>
<li>feat: Windowed Throughput Sampling (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/45">#45</a>)
| <a href="https://github.com/yizzlez">Yi Zhao</a>
<ul>
<li>fix: Fix flaky blocklist test (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/52">#52</a>)
| <a href="https://github.com/yizzlez">Yi Zhao</a></li>
</ul>
</li>
</ul>
<h3>Maintenance</h3>
<ul>
<li>maint: Pull out common calculation into a function (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/57">#57</a>)
| <a href="https://github.com/kentquirk">Kent Quirk</a></li>
<li>maint: bump the go versions we support (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/55">#55</a>)
| <a href="https://github.com/kentquirk">Kent Quirk</a></li>
<li>maint(deps): bump github.com/stretchr/testify from 1.6.1 to 1.8.2
(<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/49">#49</a>)
| <a
href="https://github.com/dependabot%5Bbot%5D">dependabot[bot]</a></li>
<li>maint: remove buildevents from circle (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/48">#48</a>)
| <a href="https://github.com/JamieDanielson">Jamie Danielson</a></li>
<li>chore: Update workflow (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/47">#47</a>)
| <a href="https://github.com/TylerHelmuth">Tyler Helmuth</a></li>
<li>chore: Update CODEOWNERS (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/46">#46</a>)
| <a href="https://github.com/TylerHelmuth">Tyler Helmuth</a></li>
<li>chore: update dependabot.yml (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/44">#44</a>)
| <a href="https://github.com/kentquirk">Kent Quirk</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/honeycombio/dynsampler-go/blob/main/CHANGELOG.md">github.com/honeycombio/dynsampler-go's
changelog</a>.</em></p>
<blockquote>
<h2>0.5.1 2023-06-26</h2>
<p>This version corrects a math error in the EMAThroughput sampler.</p>
<h3>Fixes</h3>
<ul>
<li>fix: Correct EMAThroughput math error (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/67">#67</a>)
| <a href="https://github.com/kentquirk">Kent Quirk</a></li>
</ul>
<h2>0.5.0 2023-06-08</h2>
<p>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 <code>dynsampler.Sampler</code> interface, such as
hand-coded mocks used for
testing. Code using the interface is unaffected.</p>
<h3>Features</h3>
<ul>
<li>feat: Add metrics counter retrieval (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/65">#65</a>)
| <a href="https://github.com/kentquirk">Kent Quirk</a></li>
</ul>
<h3>Maintenance</h3>
<ul>
<li>maint(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4
(<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/64">#64</a>)
| <a
href="https://github.com/dependabot%5Bbot%5D">dependabot[bot]</a></li>
<li>maint: update dependabot.yml (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/63">#63</a>)
| <a href="https://github.com/vreynolds">Vera Reynolds</a></li>
</ul>
<h2>0.4.0 2023-03-22</h2>
<p>This version contains two new samplers and some
(backwards-compatible) changes to the API:</p>
<ul>
<li>Many thanks to <a href="https://github.com/yizzlez">Yi Zhao</a> for
the contribution of the <code>WindowedThroughput</code> sampler. This
sampler is like the Throughput sampler, but uses a moving average to
accumulate sample rates across multiple sampling periods.</li>
<li>The new <code>EMAThroughput</code> sampler adjusts overall
throughput to achieve a goal while also ensuring that all values in the
key space are represented.</li>
<li>The <code>GetSampleRateMulti()</code> 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).</li>
<li>All samplers now support specifying a <code>time.Duration</code>
instead of a time in seconds. Fields like <code>ClearFrequencySec</code>
are now deprecated and will be dropped in a future release.</li>
</ul>
<p>⚠️ As of this version, dynsampler-go requires and is tested on
versions of Go 1.17 and greater.</p>
<h3>Features</h3>
<ul>
<li>feat: EMAThroughput sampler (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/58">#58</a>)
| <a href="https://github.com/kentquirk">Kent Quirk</a></li>
<li>feat: Deprecate integer seconds and replace with time.Duration (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/59">#59</a>)
| <a href="https://github.com/kentquirk">Kent Quirk</a></li>
<li>feat: add GetSampleRateMulti (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/53">#53</a>)
| <a href="https://github.com/kentquirk">Kent Quirk</a></li>
<li>feat: Windowed Throughput Sampling (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/45">#45</a>)
| <a href="https://github.com/yizzlez">Yi Zhao</a>
<ul>
<li>fix: Fix flaky blocklist test (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/52">#52</a>)
| <a href="https://github.com/yizzlez">Yi Zhao</a></li>
</ul>
</li>
</ul>
<h3>Maintenance</h3>
<ul>
<li>maint: Pull out common calculation into a function (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/57">#57</a>)
| <a href="https://github.com/kentquirk">Kent Quirk</a></li>
<li>maint: bump the go versions we support (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/55">#55</a>)
| <a href="https://github.com/kentquirk">Kent Quirk</a></li>
<li>maint(deps): bump github.com/stretchr/testify from 1.6.1 to 1.8.2
(<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/49">#49</a>)
| <a
href="https://github.com/dependabot%5Bbot%5D">dependabot[bot]</a></li>
<li>maint: remove buildevents from circle (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/48">#48</a>)
| <a href="https://github.com/JamieDanielson">Jamie Danielson</a></li>
<li>chore: Update workflow (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/47">#47</a>)
| <a href="https://github.com/TylerHelmuth">Tyler Helmuth</a></li>
<li>chore: Update CODEOWNERS (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/46">#46</a>)
| <a href="https://github.com/TylerHelmuth">Tyler Helmuth</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/honeycombio/dynsampler-go/commit/2e44c503e164d74008725204282a31ac12bfbc80"><code>2e44c50</code></a>
rel: Prep 0.5.1 (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/68">#68</a>)</li>
<li><a
href="https://github.com/honeycombio/dynsampler-go/commit/96770c86c84b04beb966eac4b7aebfb52119a266"><code>96770c8</code></a>
fix: Correct EMAThroughput math error (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/67">#67</a>)</li>
<li><a
href="https://github.com/honeycombio/dynsampler-go/commit/3f22dde23b99e293fbe77ed29a8b366f430cfe9f"><code>3f22dde</code></a>
rel: Prep for 0.5.0 release (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/66">#66</a>)</li>
<li><a
href="https://github.com/honeycombio/dynsampler-go/commit/edb5caeee3d664a8195b89895989113fef5f7999"><code>edb5cae</code></a>
feat: Add metrics counter retrieval (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/65">#65</a>)</li>
<li><a
href="https://github.com/honeycombio/dynsampler-go/commit/3a83381cf1765437fc1947c75e4cdb2036d331fc"><code>3a83381</code></a>
maint(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/64">#64</a>)</li>
<li><a
href="https://github.com/honeycombio/dynsampler-go/commit/e4ececb123ac9a059d6cc949c9b9372068d6a2b8"><code>e4ececb</code></a>
maint: update dependabot.yml (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/63">#63</a>)</li>
<li><a
href="https://github.com/honeycombio/dynsampler-go/commit/a41820851836f3609bb9a91ab2f235df00a4df74"><code>a418208</code></a>
rel: Prep for v0.4.0 release (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/60">#60</a>)</li>
<li><a
href="https://github.com/honeycombio/dynsampler-go/commit/22b9a5613c171214cc924e47686133c18a21975d"><code>22b9a56</code></a>
feat: EMAThroughput sampler (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/58">#58</a>)</li>
<li><a
href="https://github.com/honeycombio/dynsampler-go/commit/2f3e10bdde7b0ec9962fb90d0d675a761afb45c4"><code>2f3e10b</code></a>
feat: Deprecate integer seconds and replace with time.Duration (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/59">#59</a>)</li>
<li><a
href="https://github.com/honeycombio/dynsampler-go/commit/141159f218ba05e2846140cc75e857671d0746ec"><code>141159f</code></a>
maint: Pull out common calculation into a function (<a
href="https://redirect.github.com/honeycombio/dynsampler-go/issues/57">#57</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/honeycombio/dynsampler-go/compare/v0.3.0...v0.5.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/honeycombio/dynsampler-go&package-manager=go_modules&previous-version=0.3.0&new-version=0.5.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jul 5, 2023
1 parent 1ebbe41 commit 62b4748
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.17

require (
github.com/go-sql-driver/mysql v1.7.0
github.com/honeycombio/dynsampler-go v0.3.0
github.com/honeycombio/dynsampler-go v0.5.1
github.com/honeycombio/gonx v1.3.1-0.20171118020637-f9b2468e9ef8
github.com/honeycombio/libhoney-go v1.18.0
github.com/honeycombio/mysqltools v0.0.1
Expand All @@ -14,7 +14,7 @@ require (
github.com/klauspost/compress v1.16.0
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
github.com/sirupsen/logrus v1.9.0
github.com/stretchr/testify v1.8.1
github.com/stretchr/testify v1.8.4
github.com/tenebris-tech/tail v1.0.5
golang.org/x/sys v0.5.0
gopkg.in/yaml.v3 v3.0.1
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ github.com/go-sql-driver/mysql v1.7.0 h1:ueSltNNllEqE3qcWBTD0iQd3IpL/6U+mJxLkazJ
github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8=
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
github.com/honeycombio/dynsampler-go v0.3.0 h1:JttJgzOgFphbPLdsXhnNhBOqOQw89iwQbTasu3ZgLlE=
github.com/honeycombio/dynsampler-go v0.3.0/go.mod h1:cwCXnr2kvMGtZk3+HaaKbnLym+cJduB6tiukUOyotxU=
github.com/honeycombio/dynsampler-go v0.5.1 h1:rwOsxLaSlE8RiriiCgBo/LoZjiLEe24CuXPABOGXV+k=
github.com/honeycombio/dynsampler-go v0.5.1/go.mod h1:pJqWFeoMN3syX74PEvlusieyGBbtIBjmTVjLc3thmK4=
github.com/honeycombio/gonx v1.3.1-0.20171118020637-f9b2468e9ef8 h1:rOkOm6ixU8JxjK/OmJBaWhGQ4YX0sO/e8YUz7twniRc=
github.com/honeycombio/gonx v1.3.1-0.20171118020637-f9b2468e9ef8/go.mod h1:b5vehEHPr2kpld6NR9gSja7nMX8lGQbU5ACKOd9aa9g=
github.com/honeycombio/libhoney-go v1.18.0 h1:OYHOP381r3Ea76BhUYeza8PUTMDp8MByoOxDn3qtEq8=
Expand Down Expand Up @@ -64,8 +64,8 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/tenebris-tech/tail v1.0.5 h1:gKDA1qEP+kxG/SqaFzJWC/5jLHlG1y4hgibSPHdicrY=
github.com/tenebris-tech/tail v1.0.5/go.mod h1:RpxaZO+UNwbKgXA6VzHdR5FTLTM0pk9zZU/mmHxUeZQ=
github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU=
Expand Down

0 comments on commit 62b4748

Please sign in to comment.