ddtrace 0.34.1 → 0.34.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -3
- data/lib/ddtrace/contrib/rails/framework.rb +0 -7
- data/lib/ddtrace/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ed9147bac7d1a1e3381e649c8c270accf424be6
|
4
|
+
data.tar.gz: 54565035bd37140544889a0f3f8a0cd83f54fd25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2c0368c75b1202a204b449531097316652fc7dfea7aa6ef3074024e39a85ecb0d000ac329327dcfd465a12ee0b5662242a1d6d81554e95a5c8742f59e8249b7
|
7
|
+
data.tar.gz: 94bc39719f0a2a8e1e4c182e814d2c3644b4e0cf52677938f03cdb6e2c62a2c4f1c296ddf724191cbaec657e1fb4025498331e97b4a7df753afd9fac9362863e
|
data/CHANGELOG.md
CHANGED
@@ -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
|
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.
|
1158
|
-
[0.34.
|
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
|
|
data/lib/ddtrace/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2020-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|