ddtrace 0.34.1 → 0.34.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 693e84ab50a280cbb8bf7b9aff22a6a946299116
4
- data.tar.gz: 12288885ea1d1fcde3bfb598e83283233742fc87
3
+ metadata.gz: 9ed9147bac7d1a1e3381e649c8c270accf424be6
4
+ data.tar.gz: 54565035bd37140544889a0f3f8a0cd83f54fd25
5
5
  SHA512:
6
- metadata.gz: 3510e628728248839225a76f20b9241375f447da044afe84f77e99b46db6ec9895702f938be873779364c5b1342a92b93c991ef7ef84f462da1783b138373da1
7
- data.tar.gz: 26455c489bc375b7305dfcb998498337b9a2506530481759de75b9e599ccb798d8eca24aa1de784cc7bdc1d7470d93abeaccf0e5198ca731b948938260ab9f82
6
+ metadata.gz: f2c0368c75b1202a204b449531097316652fc7dfea7aa6ef3074024e39a85ecb0d000ac329327dcfd465a12ee0b5662242a1d6d81554e95a5c8742f59e8249b7
7
+ data.tar.gz: 94bc39719f0a2a8e1e4c182e814d2c3644b4e0cf52677938f03cdb6e2c62a2c4f1c296ddf724191cbaec657e1fb4025498331e97b4a7df753afd9fac9362863e
@@ -2,6 +2,16 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.34.2] - 2020-04-09
6
+
7
+ Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.34.2
8
+
9
+ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.34.1...v0.34.2
10
+
11
+ ### Changed
12
+
13
+ - Revert Rails applications setting default `env` if none are configured. (#1000) (@errriclee)
14
+
5
15
  ## [0.34.1] - 2020-04-02
6
16
 
7
17
  Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.34.1
@@ -28,7 +38,7 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.33.1...v0.34.0
28
38
  - `Datadog::Workers` for trace writing (#969, #973)
29
39
  - `_dd.measured` tag to some integrations for more statistics (#974)
30
40
  - `env`, `service`, `version`, `tags` configuration for auto-tagging (#977, #980, #982, #983, #985)
31
- - Multiplexed configuration for Ethon, Excon, Faraday, HTTP inetgrations (#882, #953) (@stormsilver)
41
+ - Multiplexed configuration for Ethon, Excon, Faraday, HTTP integrations (#882, #953) (@stormsilver)
32
42
 
33
43
  ### Fixed
34
44
 
@@ -1154,8 +1164,9 @@ Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.3.1
1154
1164
 
1155
1165
  Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
1156
1166
 
1157
- [Unreleased]: https://github.com/DataDog/dd-trace-rb/compare/v0.34.1...master
1158
- [0.34.0]: https://github.com/DataDog/dd-trace-rb/compare/v0.34.0...v0.34.1
1167
+ [Unreleased]: https://github.com/DataDog/dd-trace-rb/compare/v0.34.2...master
1168
+ [0.34.2]: https://github.com/DataDog/dd-trace-rb/compare/v0.34.1...v0.34.2
1169
+ [0.34.1]: https://github.com/DataDog/dd-trace-rb/compare/v0.34.0...v0.34.1
1159
1170
  [0.34.0]: https://github.com/DataDog/dd-trace-rb/compare/v0.33.1...v0.34.0
1160
1171
  [0.33.1]: https://github.com/DataDog/dd-trace-rb/compare/v0.33.0...v0.33.1
1161
1172
  [0.33.0]: https://github.com/DataDog/dd-trace-rb/compare/v0.32.0...v0.33.0
@@ -35,16 +35,9 @@ module Datadog
35
35
  # Don't set this if service has been explicitly provided by the user.
36
36
  Datadog.configuration.service ||= config[:service_name]
37
37
 
38
- # Set the environment to the Rails environment.
39
- # Don't set this if env has been explicitly provided by the user.
40
- Datadog.configuration.env ||= ::Rails.env if ::Rails.respond_to?(:env)
41
-
42
38
  # Update the tracer if its not the default tracer.
43
39
  if config[:tracer] != Datadog.configuration.tracer
44
40
  config[:tracer].default_service = config[:service_name]
45
-
46
- env = Datadog.configuration.env || (::Rails.respond_to?(:env) && ::Rails.env)
47
- config[:tracer].set_tags('env' => env) if env
48
41
  end
49
42
  end
50
43
 
@@ -2,7 +2,7 @@ module Datadog
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 34
5
- PATCH = 1
5
+ PATCH = 2
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddtrace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.1
4
+ version: 0.34.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Datadog, Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-02 00:00:00.000000000 Z
11
+ date: 2020-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack