ddtrace 0.23.0 → 0.23.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -2
- data/lib/ddtrace/sync_writer.rb +10 -1
- 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: 3a55d9111f6df8c1b96e1d9b2288ee799ae2fe96
|
4
|
+
data.tar.gz: 7547288c9686d6dcd1a8e6afecff023ab695c344
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5f11443a4586266c93228b17bab1ae6f2345b7d910e8c855fad1e9111be5468b545021228b15c016bb802d8d8a7506399b6a223c160e2dc4950b2b6456358e3
|
7
|
+
data.tar.gz: 7d51cfa75716568d5bbe38c93ff0cbb58c1cb3a373741000951a85325e6a98266202409bb769dc2fe3ce7009ac998776f9ee66aefca8d80bbc031b5b284fd138
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,16 @@
|
|
4
4
|
|
5
5
|
## [Unreleased (beta)]
|
6
6
|
|
7
|
+
## [0.23.1] - 2019-05-02
|
8
|
+
|
9
|
+
Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.23.1
|
10
|
+
|
11
|
+
Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.23.0...v0.23.1
|
12
|
+
|
13
|
+
### Fixed
|
14
|
+
|
15
|
+
- NoMethodError runtime_metrics for SyncWriter (#748)
|
16
|
+
|
7
17
|
## [0.23.0] - 2019-04-30
|
8
18
|
|
9
19
|
Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.23.0
|
@@ -786,8 +796,9 @@ Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.3.1
|
|
786
796
|
|
787
797
|
Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
|
788
798
|
|
789
|
-
[Unreleased (stable)]: https://github.com/DataDog/dd-trace-rb/compare/v0.23.
|
790
|
-
[Unreleased (beta)]: https://github.com/DataDog/dd-trace-rb/compare/v0.23.
|
799
|
+
[Unreleased (stable)]: https://github.com/DataDog/dd-trace-rb/compare/v0.23.1...master
|
800
|
+
[Unreleased (beta)]: https://github.com/DataDog/dd-trace-rb/compare/v0.23.1...0.24-dev
|
801
|
+
[0.23.1]: https://github.com/DataDog/dd-trace-rb/compare/v0.23.0...v0.23.1
|
791
802
|
[0.23.0]: https://github.com/DataDog/dd-trace-rb/compare/v0.22.0...v0.23.0
|
792
803
|
[0.22.0]: https://github.com/DataDog/dd-trace-rb/compare/v0.21.2...v0.22.0
|
793
804
|
[0.21.2]: https://github.com/DataDog/dd-trace-rb/compare/v0.21.1...v0.21.2
|
data/lib/ddtrace/sync_writer.rb
CHANGED
@@ -1,13 +1,22 @@
|
|
1
|
+
require 'ddtrace/runtime/metrics'
|
2
|
+
|
1
3
|
module Datadog
|
2
4
|
# SyncWriter flushes both services and traces synchronously
|
3
5
|
class SyncWriter
|
4
|
-
attr_reader
|
6
|
+
attr_reader \
|
7
|
+
:runtime_metrics,
|
8
|
+
:transport
|
5
9
|
|
6
10
|
def initialize(options = {})
|
7
11
|
@transport = options.fetch(:transport) do
|
8
12
|
transport_options = options.fetch(:transport_options, {})
|
9
13
|
HTTPTransport.new(transport_options)
|
10
14
|
end
|
15
|
+
|
16
|
+
# Runtime metrics
|
17
|
+
@runtime_metrics = options.fetch(:runtime_metrics) do
|
18
|
+
Runtime::Metrics.new
|
19
|
+
end
|
11
20
|
end
|
12
21
|
|
13
22
|
def write(trace, services = nil)
|
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.23.
|
4
|
+
version: 0.23.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Datadog, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|