Skip to content

Releases: justeattakeaway/JustEat.StatsD

v5.0.1

23 Apr 09:24
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.0.0...v5.0.1

v5.0.0

05 Dec 12:43
Compare
Choose a tag to compare

Notable changes

  • Add support for tags using the new IStatsDPublisherWithTags interface - thanks @jgpayvision
  • Add support for sending metrics over TCP - thanks @firerain-fd
  • Add TFM for net6.0.
  • Drop TFMs for netstandard2.1, netcoreapp2.1 and net5.0.
  • Mark assembly as native AoT compatible.

What's Changed

New Contributors

Full Changelog: v4.2.0...v5.0.0

JustEat.StatsD 4.2.0

10 Nov 16:49
6b62d81
Compare
Choose a tag to compare

JustEat.StatsD v4.2.0

Available from NuGet.

Added

  • Add net5.0 target framework. (#280)
  • Add more nullable reference type annotations. (#280)

Contributors

JustEat.StatsD 4.1.0

11 Oct 10:59
1555e8f
Compare
Choose a tag to compare

JustEat.StatsD v4.1.0

Available from NuGet.

Added

  • Add net461 target framework. (#182)
  • Add netstandard2.1 target framework. (#182)
  • Add nullable reference type annotations. (#182)

Removed

  • Remove net451 target framework. (#182)

Contributors

JustEat.StatsD 4.0.1

08 Apr 14:44
4026912
Compare
Choose a tag to compare

JustEat.StatsD v4.0.1

Available from NuGet.

Changes

  • Allow IEndpointSource to return null (#171, #172) Thanks @yousifh!
  • Support building from source using Jetbrains Rider (#164) Thanks @slang25!
  • Improved code coverage (#167)
  • Do not try to send metrics if no bucket is set (#167)
  • Code formatting fixes (#169)
  • Update code analysers (#173)

Contributors

JustEat.StatsD 4.0.0

21 Jan 12:14
b100bdd
Compare
Choose a tag to compare

JustEat.StatsD v4.0.0

Available from NuGet.

JustEat.StatsD 4.0.0 is a major release. It is simpler than version 3.x, and the high-performance additions in the 3.x releases are now the default. Version 4.0.0 makes various binary breaking changes to the library to reduce the size of the IStatsDPublisher interface and remove various deprecated classes and members from its public API.

It also makes a number of source-breaking changes to rename or remove some members. See below for details of changes and suggested changes for upgrading.

Changes

  • The UdpTransport, IpTransport and PooledUdpTransport classes have been removed. The new SocketTransport class now contains the pooling implementation and supports both UDP and IP transports. (#114, #115, #116)
  • For the case where IP transport is needed, including in AWS lambda functions, setup is now simpler. Set config.SocketProtocol = SocketProtocol.IP as per this example.
  • StatsDPublisher now implements IDisposable and is sealed. (#125)
  • Buffered transport is now used by default. (#117)
  • Add netcoreapp2.2 target framework. (#150)
  • Various pieces of internal refactoring to improve efficiency and performance.
  • Various internal reliability fixes identified through the use of static code analysers. (#126)
  • The assembly is now strong-named. (#147)
  • The assembly version is now frozen to 4.0.0.0 for each release of 4.x. (#147)
  • Renamed EndpointParser to EndPointFactory. (#157)
  • Renamed IPEndPointSource to IEndpointSource. (#136)
  • Removed IStatsDBufferedTransport. (#118)
  • Removed the PoolAwareSocketAsyncEventArgs class. (#107)
  • Removed the SimpleObjectPool<T> class. (#109)
  • The PreferBufferedTransport property has been removed from the StatsDConfiguration class. (#117)
  • Added integration tests using StatsD.

Upgrading from version 3.x.x of JustEat.StatsD

  • Remove usage of PreferBufferedTransport - it is now enabled by default and cannot be disabled.
  • Change any usage of IpTransport to SocketTransport with a SocketProtocol value of IP.
  • Change any usage of PooledUdpTransport to SocketTransport.
  • Change any usage of IStatsDBufferedTransport to IStatsDTransport.
  • Change use of timer.StatName to timer.Bucket in code.

Fixed

  • Removed use of asynchronous call made on a synchronous code path. (#135)
  • Added XML documentation to all public members. (#139)
  • Removed runtimeconfig.json from NuGet package. (#142)

Contributors

version 4.0.0-beta01

18 Dec 16:07
60521fb
Compare
Choose a tag to compare
version 4.0.0-beta01 Pre-release
Pre-release

todo

JustEat.StatsD 3.2.2

08 Oct 17:30
472e1a0
Compare
Choose a tag to compare

JustEat.StatsD v3.2.2

Available from NuGet.

Fixed

  • Fixed the void Increment(long value, double sampleRate, params string[] buckets) and void Decrement(long value, double sampleRate, params string[] buckets) methods on StatsDPublisher only sending the first metric in the buckets array if multiple values were specified. (#128)
  • Fixed the hostname localhost being resolved to the IPv6 address ::1 instead of the IPv4 address 127.0.0.1 on computers that support both versions. (#121)

Contributors

JustEat.StatsD 3.2.1

03 Oct 11:14
Compare
Choose a tag to compare

JustEat.StatsD v3.2.1

Available from NuGet.

Fixed

  • Fixed incorrect timing metrics being generated when using buffered transport. (#110, #112)

Contributors

JustEat.StatsD 3.2.0

02 Oct 11:11
b1edccc
Compare
Choose a tag to compare

JustEat.StatsD v3.2.0

Available from NuGet.

Changes

  • Add a new internal transport mechanism that reduces allocations when sending StatsD metrics. This feature is opt-in and can be used by setting the new PreferBufferedTransport property on the StatsDConfiguration class to true. This is enabled by the new IStatsDBufferedTransport interface, which both the IpTransport, PooledUdpTransport and UdpTransport classes now implement. (#104)
  • Add netcoreapp2.1 target framework. (#104)

Contributors