statsd-instrument 3.9.1 → 3.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/statsd/instrument/aggregator.rb +2 -2
- data/lib/statsd/instrument/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a0d94832ea51c0d6253bc8e1d0255b3d17dc2fa46d900c8159c86855a30ed333
|
|
4
|
+
data.tar.gz: ce59be3645a74e337c9484834cd40f1d37ed5ee16a1ebaabd88ef6b299697e4a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 72350208478d416e44bb8f939d398c3359c7d45daae1c41fc39bae490fd16ea97932a107075c993cdb46ca7285cac00242acf13e0d68c21d392bc879a133b7f8
|
|
7
|
+
data.tar.gz: 9401843bc9a07b36028d11749a0c813a43d5f307a650ce62823d7d8e953129a148fbdbcb9cf57aec8556973a752cb3a87daf2a874244cf0bc73e62e6bfba61e0
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,11 @@ section below.
|
|
|
6
6
|
|
|
7
7
|
## Unreleased changes
|
|
8
8
|
|
|
9
|
+
## Version 3.9.2
|
|
10
|
+
|
|
11
|
+
- [#381](https://github.com/Shopify/statsd-instrument/pull/381) - Reduce log level of some messages inside new Aggregator
|
|
12
|
+
to avoid contention and verbosity.
|
|
13
|
+
|
|
9
14
|
## Version 3.9.1
|
|
10
15
|
|
|
11
16
|
- [#378](https://github.com/Shopify/statsd-instrument/pull/378) - Respect sampling rate when aggregation is enabled, just for timing metrics.
|
|
@@ -246,11 +246,11 @@ module StatsD
|
|
|
246
246
|
return false unless Thread.main.alive?
|
|
247
247
|
|
|
248
248
|
if @pid != Process.pid
|
|
249
|
-
StatsD.logger.
|
|
249
|
+
StatsD.logger.debug { "[#{self.class.name}] Restarting the flush thread after fork" }
|
|
250
250
|
@pid = Process.pid
|
|
251
251
|
@aggregation_state.clear
|
|
252
252
|
else
|
|
253
|
-
StatsD.logger.
|
|
253
|
+
StatsD.logger.debug { "[#{self.class.name}] Restarting the flush thread" }
|
|
254
254
|
end
|
|
255
255
|
@flush_thread = Thread.new do
|
|
256
256
|
Thread.current.abort_on_exception = true
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: statsd-instrument
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.9.
|
|
4
|
+
version: 3.9.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jesse Storimer
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2024-09
|
|
13
|
+
date: 2024-10-09 00:00:00.000000000 Z
|
|
14
14
|
dependencies: []
|
|
15
15
|
description: A StatsD client for Ruby apps. Provides metaprogramming methods to inject
|
|
16
16
|
StatsD instrumentation into your code.
|
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
131
|
version: '0'
|
|
132
132
|
requirements: []
|
|
133
|
-
rubygems_version: 3.5.
|
|
133
|
+
rubygems_version: 3.5.21
|
|
134
134
|
signing_key:
|
|
135
135
|
specification_version: 4
|
|
136
136
|
summary: A StatsD client for Ruby apps
|