dogstatsd-ruby 5.7.0 → 5.7.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5835c0540b9d5c0b9d991d25f174feda8e2ae8616c640e834d3249788ec8fa7c
4
- data.tar.gz: c49e788686681c4579df867b6dbe7b31f5503ff15496a14fe396b65e35f96985
3
+ metadata.gz: ef3f9f930d3c5f43019052d225eaaff5d45e88d47cedac035ba5ce9fa9ab956d
4
+ data.tar.gz: f3d38f39151c8300ec560662c29771a741c0099d75826768e20d2a97fb49ce88
5
5
  SHA512:
6
- metadata.gz: 445fd6634abb109554ff4ac7a522504f0ffef7ec714f50af7f410094af92c8c0fbabd700f3c32ed802e038e82c6f36d3e1524946668f208d239b212937ac8587
7
- data.tar.gz: b243aa4c4bc207768332bf30714ccdcf18c02f888b91327d99d9786769c148e779f936211c37fcc4d122180852ffe10491b5b7d11fee80eb8b37e2d576d9a488
6
+ metadata.gz: 366d0bb434390d69b2f018efe35b0c0b149d3cc8853c730a69456ff4c51a5f1838db187794dc6db49a4825d5dcaa26db01c2630136b8dea151f3c338d7d4bb6b
7
+ data.tar.gz: f468d710abbc858d333ee2dd43c8df9806e0ba56c3149075fe4e94330b3c14d0b48a4e78fc7db6b9d6941ec20267bab39ce75eae51a8625fec2c0edc65b03f92
@@ -40,7 +40,7 @@ module Datadog
40
40
  end
41
41
 
42
42
  def would_fit_in?(max_buffer_payload_size)
43
- MAX_TELEMETRY_MESSAGE_SIZE_WT_TAGS + serialized_tags.size < max_buffer_payload_size
43
+ MAX_TELEMETRY_MESSAGE_SIZE_WT_TAGS + serialized_tags.size + serialized_fields.size < max_buffer_payload_size
44
44
  end
45
45
 
46
46
  def reset
@@ -4,6 +4,6 @@ require_relative 'connection'
4
4
 
5
5
  module Datadog
6
6
  class Statsd
7
- VERSION = '5.7.0'
7
+ VERSION = '5.7.1'
8
8
  end
9
9
  end
@@ -124,7 +124,7 @@ module Datadog
124
124
  origin_detection_enabled = origin_detection_enabled?(origin_detection)
125
125
  container_id = get_container_id(container_id, origin_detection_enabled)
126
126
 
127
- external_data = sanitize(ENV['DD_EXTERNAL_ENV'])
127
+ external_data = sanitize(ENV['DD_EXTERNAL_ENV']) if origin_detection_enabled
128
128
 
129
129
  @serializer = Serialization::Serializer.new(prefix: @prefix,
130
130
  container_id: container_id,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dogstatsd-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.7.0
4
+ version: 5.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rein Henrichs
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-07-11 00:00:00.000000000 Z
12
+ date: 2025-08-20 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A Ruby DogStatsd client
15
15
  email: code@datadoghq.com
@@ -46,9 +46,9 @@ licenses:
46
46
  - MIT
47
47
  metadata:
48
48
  bug_tracker_uri: https://github.com/DataDog/dogstatsd-ruby/issues
49
- changelog_uri: https://github.com/DataDog/dogstatsd-ruby/blob/v5.7.0/CHANGELOG.md
50
- documentation_uri: https://www.rubydoc.info/gems/dogstatsd-ruby/5.7.0
51
- source_code_uri: https://github.com/DataDog/dogstatsd-ruby/tree/v5.7.0
49
+ changelog_uri: https://github.com/DataDog/dogstatsd-ruby/blob/v5.7.1/CHANGELOG.md
50
+ documentation_uri: https://www.rubydoc.info/gems/dogstatsd-ruby/5.7.1
51
+ source_code_uri: https://github.com/DataDog/dogstatsd-ruby/tree/v5.7.1
52
52
  post_install_message: |2+
53
53
 
54
54
  If you are upgrading from v4.x of the dogstatsd-ruby library, note the major change to the threading model: