- [BUGFIX] Use correct buffer size for unix sockets. See #256
- [BUGFIX] Fix sampling and visibility issues with new direct client. See #249
- [BUGFIX] Restore public constructor for
NoOpStatsDClient
. See #247
- [FEATURE] Added new API to send multiple samples at once. See #235
- [BUGFIX] When using
SOCK_STREAM
Unix sockets we now correctly close the socket. See #243
- [FEATURE] Add support for
SOCK_STREAM
Unix sockets. See #228
- [FEATURE] Add support for
DD_DOGSTATSD_URL
. See #217
- [FEATURE] Sending metrics with a timestamp. See #211
- [IMPROVEMENT] Various performance optimizations. See #203
- [FEATURE] Client-side origin detection. See #188
- [BUGFIX] Don't report the expected InterruptedException. See #193
- [BUGFIX] Fix performance issue in the aggregator. See #194 (Thanks @retronym)
- [BUGFIX] Clear buffers before returning them to the pool. See #200
- [BUGFIX] Fix high CPU usage during client shutdown. See #201
This release is a correction for v3.0.0, which was released without client-side aggregation enabled by default.
There are no incompatible API changes in this release.
- [BUGFIX] Re-enable aggregation by default. See #171
- [FEATURE] Windows named pipe support. See #169
- [FEATURE] jar-with-dependencies artifact now include license information. See #179
- [FEATURE] send buffered metrics when a blocking client is closed. See #180
- [FEATURE] client can be used without jnr-posix in the classpath. See #182
- [BUGFIX] Fix visibility for overrideable methods. See #170
This release marks a new major release, and includes some breaking changes. Most notably:
- Client aggregation enabled by default for simple types.
- Client aggregation flush interval changed to 2s.
- Internal client telemetry metrics are now included in the client telemetry by default.
- Removal of most overloaded constructors.
Many users will be able to upgrade seamlessly, while some might be required to make
changes due to the removal of an excessively overladed constructor anti-pattern.
Please refer to the readme for tips on how to migrate to
v3.x
builder pattern to instantiate your client.
- [DEPRECATE] Removing deprecated constructors. See #158
- [FEATURE] Client aggregation enabled by default. See #164
- [FEATURE] Allow clients to override metric sampling. See #162
- [FEATURE] Client internal metrics included in telemetry by default. See #157
- [BUGFIX] Set client side aggregation flush interval to 2s. See #154
- [BUGFIX] Make text in events non-mandatory. See #160
- [DOCS] Make text in events non-mandatory. See #160
- [FEATURE] Telemetry: adding developer mode: additional metrics. See #131
- [IMPROVEMENT] Cleanup internal thread model. See #144
- [IMPROVEMENT] All dogstatsd messages are EOL terminated. See #130
- [IMPROVEMENT] Refactor version.properties to dedicated directory. See #147 (Thanks @cameronhotchkies)
- [IMPROVEMENT] Dev: make environment variable variables public. See #132 (Thanks @dbyron0)
- [BUGFIX] Properly compute unicode event strings length. See #149
- [DOCUMENTATION] Updated javadoc and README. See #139 and #136. (Thanks @snopoke and @gherceg)
- [IMPROVEMENT] Deployments to Sonatype are now automated (but manually triggered). No user-facing changes are part of this release.
- [FEATURE] Aggregation: simple type client-side aggregation. See #121
- [IMPROVEMENT] UDP+UDS: set better defaults for max packet size. See #125
- [BUGFIX] Aggregator: fix thread leak + dont always start scheduler. See #129
- [BUGFIX] Sampling: on counts to be disabled when aggregation is enabled. See #127
- [BUGFIX] Processor: shutdown the executor on cue, dont leak. See #126
- [DOCS] Aggregation: update with new aggregation instructions. See #122
- [BUGFIX] Fix library shutdown: use daemon threads for StatsDProcess + TimerTask. See #117 (Thanks @blevz)
- [BUGFIX] Fixes build issue on JDK8. No code changes.
- [FEATURE] Architecture revamp + non-blocking queue, improved performance. See #94
- [FEATURE] Enable buffer pool, concurrent sending threads. See #95
- [FEATURE] Adding dogstatsd telemetry to client. See #97
- [FEATURE] DD_SERVICE; DD_ENV; DD_VERSION env vars support. See #107, #108, #111
- [FEATURE] Allow different remote destination for telemetry. See #109
- [IMPROVEMENT] Improved abstractions + better object construction. See #96
- [IMPROVEMENT] Reduce number of allocations. Thanks @njhill. See #105
- [DOCS] Container specific tags. See #110
- [FIX] Add source type name to event payload. See #101
- [IMPROVEMENT] Bump jnr-unixsocket to 0.27. See #102
- [IMPROVEMENT] Bump maven-compiler-plugin to 3.8.1. See #93
- [DOCS] Multiple documentation updates. See #91
- [FIX] Fix entity id with constant tags
- [FEATURE] Support environment variables for client configuration
- [FIX] Handle messages over max packet size limit
- [FEATURE] Take an argument for maxPacketSizeBytes
- [FEATURE] Ability to configure unix buffer timeout and size. See #64
- [FIX] Catch any Socket IO Exception on test cleanup. See #67
- [BUGFIX] Fix older Java compatability issues due to building with newer versions of Java that affected v2.6 of this library.
- [DEV] Enforce Java 7/8 when testing/building. See #53.
- [FEATURE] Add support for submitting data through Unix Domain Sockets. See #42.
- [IMPROVEMENT] Replace string
format
withStringBuilder
for performance gains. Thanks @cithal See #49.
- Added support for new beta feature, global distributions
Note: Starting from this version the client requires Java7+
- Support for floating-point delta in counters, see #37
- Use ThreadLocalRandom vs Math.random, see #16
- Fix maven warnings about versions and encoding, see #34
- Add close method to StatsDClient and extend Closeable, see #33
- [BUGFIX] Reduce packet size to avoid fragmentation, see #17.
- [BUGFIX] Prefix sample rate with an '@', see #15.
- [FEATURE] Add support for sending
sample_rate
while submitting metrics, see #11.
- [OTHER] Merged upstream from
indeedeng/java-dogstatsd-client
- [BUGFIX] Constant tag support for service checks. See #3, thanks @PatrickAuld
- [OTHER] Changelog update
Fork from [indeedeng/java-dogstatsd-client] (https://github.com/indeedeng/java-dogstatsd-client/releases/tag/java-dogstatsd-client-2.0.7) statsd client library
- [FEATURE] Add support for Datadog service checks