Skip to content

Commit

Permalink
Merge branch 'master' into feature-single-span-sampling
Browse files Browse the repository at this point in the history
  • Loading branch information
marcotc committed Aug 9, 2022
2 parents 35686f6 + 79b9138 commit 17093d8
Show file tree
Hide file tree
Showing 296 changed files with 6,095 additions and 1,199 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ test_containers:
# If you see gem installation failing with "Killed" on CircleCI and `gem install --platform ruby grpc` reproduces the
# issue when you connect to the testing container via ssh, then try lowering this file a notch.
GRPC_RUBY_BUILD_PROCS: 6
DD_INSTRUMENTATION_TELEMETRY_ENABLED: false
- &container_parameters_environment
- *container_base_environment
- TEST_DATADOG_INTEGRATION: 1
Expand Down
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ DD_AGENT_HOST=localhost
DD_API_KEY=00000000000000000000000000000000
DD_METRIC_AGENT_PORT=8125
DD_TRACE_AGENT_PORT=8126
DD_INSTRUMENTATION_TELEMETRY_ENABLED=false
TEST_DDAGENT_VAR_RUN=/var/run/datadog
TEST_DDAGENT_UNIX_SOCKET=${TEST_DDAGENT_VAR_RUN}/apm.socket
TEST_DDAGENT_API_KEY=invalid_key_but_this_is_fine
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-head.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
env:
SKIP_SIMPLECOV: 1
JRUBY_OPTS: --dev
DD_INSTRUMENTATION_TELEMETRY_ENABLED: false
steps:
- uses: actions/checkout@v2
# bundler appears to match both prerelease and release rubies when we
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
runs-on: ${{ matrix.os }}
env:
SKIP_SIMPLECOV: 1
DD_INSTRUMENTATION_TELEMETRY_ENABLED: false
steps:
- uses: actions/checkout@v2
# bundler appears to match both prerelease and release rubies when we
Expand Down
48 changes: 47 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@

## [Unreleased]

## [1.3.0] - 2022-08-04

Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v1.3.0

Git diff: https://github.com/DataDog/dd-trace-rb/compare/v1.2.0...v1.3.0

### Added

* Top-level span being tagged to avoid duplicate computation ([#2138][])

### Changed

* ActiveSupport: Optionally disable tracing with Rails ([@marcotc][])
* Rack: Resource overwritten by nested application ([#2180][])
* Rake: Explicit task instrumentation to prevent memory bloat ([#2174][])
* Sidekiq and DelayedJob: Add spans to improve tracing ([#2170][])
* Drop Profiling support for Ruby 2.1 ([#2140][])
* Migrate `libddprof` dependency to `libdatadog` ([#2061][])

### Fixed

* Fix OpenTracing propagation with TraceDigest ([#2201][])
* Fix SpanFilter dropping descendant spans ([#2074][])
* Redis: Fix Empty pipelined span being dropped ([#757][]) ([@sponomarev][])
* Fix profiler not restarting on `Process.daemon` ([#2150][])
* Fix setting service from Rails configuration ([#2118][]) ([@agrobbin][])
* Some document and development improvement ([@marocchino][]) ([@yukimurasawa][])

## [1.2.0] - 2022-07-11

Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v1.2.0
Expand Down Expand Up @@ -2354,6 +2382,7 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
[#753]: https://github.com/DataDog/dd-trace-rb/issues/753
[#754]: https://github.com/DataDog/dd-trace-rb/issues/754
[#756]: https://github.com/DataDog/dd-trace-rb/issues/756
[#757]: https://github.com/DataDog/dd-trace-rb/issues/757
[#760]: https://github.com/DataDog/dd-trace-rb/issues/760
[#762]: https://github.com/DataDog/dd-trace-rb/issues/762
[#765]: https://github.com/DataDog/dd-trace-rb/issues/765
Expand Down Expand Up @@ -2892,18 +2921,31 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
[#2028]: https://github.com/DataDog/dd-trace-rb/issues/2028
[#2054]: https://github.com/DataDog/dd-trace-rb/issues/2054
[#2059]: https://github.com/DataDog/dd-trace-rb/issues/2059
[#2061]: https://github.com/DataDog/dd-trace-rb/issues/2061
[#2066]: https://github.com/DataDog/dd-trace-rb/issues/2066
[#2069]: https://github.com/DataDog/dd-trace-rb/issues/2069
[#2070]: https://github.com/DataDog/dd-trace-rb/issues/2070
[#2074]: https://github.com/DataDog/dd-trace-rb/issues/2074
[#2076]: https://github.com/DataDog/dd-trace-rb/issues/2076
[#2079]: https://github.com/DataDog/dd-trace-rb/issues/2079
[#2082]: https://github.com/DataDog/dd-trace-rb/issues/2082
[#2096]: https://github.com/DataDog/dd-trace-rb/issues/2096
[#2097]: https://github.com/DataDog/dd-trace-rb/issues/2097
[#2110]: https://github.com/DataDog/dd-trace-rb/issues/2110
[#2113]: https://github.com/DataDog/dd-trace-rb/issues/2113
[#2118]: https://github.com/DataDog/dd-trace-rb/issues/2118
[#2125]: https://github.com/DataDog/dd-trace-rb/issues/2125
[#2134]: https://github.com/DataDog/dd-trace-rb/issues/2134
[#2138]: https://github.com/DataDog/dd-trace-rb/issues/2138
[#2140]: https://github.com/DataDog/dd-trace-rb/issues/2140
[#2150]: https://github.com/DataDog/dd-trace-rb/issues/2150
[#2158]: https://github.com/DataDog/dd-trace-rb/issues/2158
[#2162]: https://github.com/DataDog/dd-trace-rb/issues/2162
[#2163]: https://github.com/DataDog/dd-trace-rb/issues/2163
[#2173]: https://github.com/DataDog/dd-trace-rb/issues/2173
[#2174]: https://github.com/DataDog/dd-trace-rb/issues/2174
[#2180]: https://github.com/DataDog/dd-trace-rb/issues/2180
[#2201]: https://github.com/DataDog/dd-trace-rb/issues/2201
[@AdrianLC]: https://github.com/AdrianLC
[@Azure7111]: https://github.com/Azure7111
[@BabyGroot]: https://github.com/BabyGroot
Expand Down Expand Up @@ -2996,6 +3038,8 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
[@link04]: https://github.com/link04
[@lloeki]: https://github.com/lloeki
[@mantrala]: https://github.com/mantrala
[@marcotc]: https://github.com/marcotc
[@marocchino]: https://github.com/marocchino
[@masato-hi]: https://github.com/masato-hi
[@matchbookmac]: https://github.com/matchbookmac
[@mberlanda]: https://github.com/mberlanda
Expand Down Expand Up @@ -3027,6 +3071,7 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
[@sinsoku]: https://github.com/sinsoku
[@skcc321]: https://github.com/skcc321
[@soulcutter]: https://github.com/soulcutter
[@sponomarev]: https://github.com/sponomarev
[@stefanahman]: https://github.com/stefanahman
[@steveh]: https://github.com/steveh
[@stormsilver]: https://github.com/stormsilver
Expand All @@ -3041,4 +3086,5 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
[@vramaiah]: https://github.com/vramaiah
[@walterking]: https://github.com/walterking
[@y-yagi]: https://github.com/y-yagi
[@zachmccormick]: https://github.com/zachmccormick
[@yukimurasawa]: https://github.com/yukimurasawa
[@zachmccormick]: https://github.com/zachmccormick
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ gem 'webrick', '>= 1.7.0' if RUBY_VERSION >= '3.0.0' # No longer bundled by defa
gem 'yard', '~> 0.9'

if RUBY_VERSION >= '2.4.0'
gem 'rubocop', '~> 1.10', require: false
gem 'rubocop', ['~> 1.10', '< 1.33.0'], require: false
gem 'rubocop-packaging', '~> 0.5', require: false
gem 'rubocop-performance', '~> 1.9', require: false
gem 'rubocop-rspec', '~> 2.2', require: false
Expand Down
2 changes: 2 additions & 0 deletions LICENSE-3rdparty.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ Component,Origin,License,Copyright
lib/datadog/core/vendor/multipart-post,https://github.com/socketry/multipart-post,MIT,"Copyright (c) 2007-2013 Nick Sieger."
lib/datadog/tracing/contrib/active_record/vendor,https://github.com/rails/rails/,MIT,"Copyright (c) 2005-2018 David Heinemeier Hansson"
ext/ddtrace_profiling_native_extension/private_vm_api_access,https://github.com/ruby/ruby,BSD-2-Clause,"Copyright (C) 1993-2013 Yukihiro Matsumoto. All rights reserved."
msgpack,https://rubygems.org/gems/msgpack,Apache-2.0,"Copyright (c) 2008-2015 Sadayuki Furuhashi"
debase-ruby_core_source,https://rubygems.org/gems/debase-ruby_core_source,MIT for gem and BSD-2-Clause for Ruby sources,"Copyright (c) 2012 Gabriel Horner. Files from Ruby sources are Copyright (C) 1993-2013 Yukihiro Matsumoto. All rights reserved."
Loading

0 comments on commit 17093d8

Please sign in to comment.