ddtrace 0.23.0 → 0.23.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
  SHA1:
3
- metadata.gz: 65dcbe210bf9b8f1824d9636e81c454feb1a606a
4
- data.tar.gz: 846f031c64443dc6e2fe93572ef96f488dcafc8d
3
+ metadata.gz: 3a55d9111f6df8c1b96e1d9b2288ee799ae2fe96
4
+ data.tar.gz: 7547288c9686d6dcd1a8e6afecff023ab695c344
5
5
  SHA512:
6
- metadata.gz: 1cd1b941a9b4e9d7c75b4212e1fe18a91afa0533446ab6363cee88da063e38a24199a6d33b6ede30eae3ea53f7eb890d60a9b51723274b4581edb15062e1d2df
7
- data.tar.gz: 5a66c125f2985a3edf2938b5fc32b7c8e4cfb787a2ffde5a2a18b01d6c22500a0ec51a3f195ff4fe0bb68dba8d98dd94f518d8cade3e8551ed7508a42ba346d6
6
+ metadata.gz: e5f11443a4586266c93228b17bab1ae6f2345b7d910e8c855fad1e9111be5468b545021228b15c016bb802d8d8a7506399b6a223c160e2dc4950b2b6456358e3
7
+ data.tar.gz: 7d51cfa75716568d5bbe38c93ff0cbb58c1cb3a373741000951a85325e6a98266202409bb769dc2fe3ce7009ac998776f9ee66aefca8d80bbc031b5b284fd138
@@ -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.0...master
790
- [Unreleased (beta)]: https://github.com/DataDog/dd-trace-rb/compare/v0.23.0...0.24-dev
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
@@ -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 :transport
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)
@@ -2,7 +2,7 @@ module Datadog
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 23
5
- PATCH = 0
5
+ PATCH = 1
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.23.0
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-04-30 00:00:00.000000000 Z
11
+ date: 2019-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack