Skip to content

Commit 79d5f0b

Browse files
committed
Changed: 'ddtrace' gem to datadog
1 parent 344441e commit 79d5f0b

File tree

287 files changed

+716
-728
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

287 files changed

+716
-728
lines changed

.circleci/config.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ test_containers:
3939
TEST_OPENSEARCH_PORT: 9200
4040
DD_AGENT_HOST: testagent
4141
DD_TRACE_AGENT_PORT: 9126
42-
DDTRACE_CI: true
42+
DATADOG_GEM_CI: true
4343
- &container_parameters_environment
4444
- *container_base_environment
4545
- TEST_DATADOG_INTEGRATION: 1
@@ -256,9 +256,9 @@ orbs:
256256
- *step_compute_bundle_checksum
257257
- restore_cache:
258258
keys:
259-
- bundle-{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum ".circleci/images/primary/binary_version" }}-<<parameters.ruby_version>>-{{ checksum "lib/ddtrace/version.rb" }}-{{ .Branch }}-{{ checksum ".circleci/bundle_checksum" }}
260-
- bundle-{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum ".circleci/images/primary/binary_version" }}-<<parameters.ruby_version>>-{{ checksum "lib/ddtrace/version.rb" }}-{{ .Branch }}-
261-
- bundle-{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum ".circleci/images/primary/binary_version" }}-<<parameters.ruby_version>>-{{ checksum "lib/ddtrace/version.rb" }}
259+
- bundle-{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum ".circleci/images/primary/binary_version" }}-<<parameters.ruby_version>>-{{ checksum "lib/datadog/version.rb" }}-{{ .Branch }}-{{ checksum ".circleci/bundle_checksum" }}
260+
- bundle-{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum ".circleci/images/primary/binary_version" }}-<<parameters.ruby_version>>-{{ checksum "lib/datadog/version.rb" }}-{{ .Branch }}-
261+
- bundle-{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum ".circleci/images/primary/binary_version" }}-<<parameters.ruby_version>>-{{ checksum "lib/datadog/version.rb" }}
262262
- *check_exact_bundle_cache_hit
263263
- *step_bundle_install
264264
- when:
@@ -278,7 +278,7 @@ orbs:
278278
paths:
279279
- /app
280280
- save_cache:
281-
key: bundle-{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum ".circleci/images/primary/binary_version" }}-<<parameters.ruby_version>>-{{ checksum "lib/ddtrace/version.rb" }}-{{ .Branch }}-{{ checksum ".circleci/bundle_checksum" }}
281+
key: bundle-{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum ".circleci/images/primary/binary_version" }}-<<parameters.ruby_version>>-{{ checksum "lib/datadog/version.rb" }}-{{ .Branch }}-{{ checksum ".circleci/bundle_checksum" }}
282282
paths:
283283
- /usr/local/bundle
284284
build_and_test_integration:
@@ -329,7 +329,7 @@ orbs:
329329
- '{{ .Environment.CIRCLE_CACHE_VERSION }}-bundled-repo-<<parameters.ruby_version>>-{{ .Environment.CIRCLE_SHA1 }}'
330330
- restore_cache:
331331
keys:
332-
- bundle-{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum ".circleci/images/primary/binary_version" }}-<<parameters.ruby_version>>-{{ checksum "lib/ddtrace/version.rb" }}-{{ .Branch }}-{{ checksum ".circleci/bundle_checksum" }}
332+
- bundle-{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum ".circleci/images/primary/binary_version" }}-<<parameters.ruby_version>>-{{ checksum "lib/datadog/version.rb" }}-{{ .Branch }}-{{ checksum ".circleci/bundle_checksum" }}
333333
- run:
334334
name: Set coverage report directory
335335
command: |
@@ -372,7 +372,7 @@ orbs:
372372
- '{{ .Environment.CIRCLE_CACHE_VERSION }}-bundled-repo-<<parameters.ruby_version>>-{{ .Environment.CIRCLE_SHA1 }}'
373373
- restore_cache:
374374
keys:
375-
- bundle-{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum ".circleci/images/primary/binary_version" }}-<<parameters.ruby_version>>-{{ checksum "lib/ddtrace/version.rb" }}-{{ .Branch }}-{{ checksum ".circleci/bundle_checksum" }}
375+
- bundle-{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum ".circleci/images/primary/binary_version" }}-<<parameters.ruby_version>>-{{ checksum "lib/datadog/version.rb" }}-{{ .Branch }}-{{ checksum ".circleci/bundle_checksum" }}
376376
- *step_rubocop
377377
coverage:
378378
<<: *test_job_default
@@ -382,7 +382,7 @@ orbs:
382382
- '{{ .Environment.CIRCLE_CACHE_VERSION }}-bundled-repo-<<parameters.ruby_version>>-{{ .Environment.CIRCLE_SHA1 }}'
383383
- restore_cache:
384384
keys:
385-
- bundle-{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum ".circleci/images/primary/binary_version" }}-<<parameters.ruby_version>>-{{ checksum "lib/ddtrace/version.rb" }}-{{ .Branch }}-{{ checksum ".circleci/bundle_checksum" }}
385+
- bundle-{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum ".circleci/images/primary/binary_version" }}-<<parameters.ruby_version>>-{{ checksum "lib/datadog/version.rb" }}-{{ .Branch }}-{{ checksum ".circleci/bundle_checksum" }}
386386
- attach_workspace:
387387
at: /tmp/workspace
388388
- run:
@@ -404,7 +404,7 @@ orbs:
404404
- '{{ .Environment.CIRCLE_CACHE_VERSION }}-bundled-repo-<<parameters.ruby_version>>-{{ .Environment.CIRCLE_SHA1 }}'
405405
- restore_cache:
406406
keys:
407-
- bundle-{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum ".circleci/images/primary/binary_version" }}-<<parameters.ruby_version>>-{{ checksum "lib/ddtrace/version.rb" }}-{{ .Branch }}-{{ checksum ".circleci/bundle_checksum" }}
407+
- bundle-{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ checksum ".circleci/images/primary/binary_version" }}-<<parameters.ruby_version>>-{{ checksum "lib/datadog/version.rb" }}-{{ .Branch }}-{{ checksum ".circleci/bundle_checksum" }}
408408
- attach_workspace:
409409
at: /tmp/workspace
410410
- run:

.github/ISSUE_TEMPLATE/bug_report.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ assignees: ''
1919
Code snippets, log messages, screenshots and sample apps are encouraged!
2020
-->
2121

22-
**How does `ddtrace` help you?**
23-
<!-- Optionally, tell us why and how you're using ddtrace, and what your overall experience with it is! -->
22+
**How does `datadog` help you?**
23+
<!-- Optionally, tell us why and how you're using datadog, and what your overall experience with it is! -->
2424

2525
**Environment**
2626

27-
* **ddtrace version:**
27+
* **datadog version:**
2828
* **Configuration block (`Datadog.configure ...`):**
2929
* **Ruby version:**
3030
* **Operating system:**

.github/ISSUE_TEMPLATE/feature_request.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ assignees: ''
1919
**Additional context**
2020
<!-- Add any other context or screenshots about the feature request here. -->
2121

22-
**How does `ddtrace` help you?**
23-
<!-- Optionally, tell us why and how you're using ddtrace, and what your overall experience with it is! -->
22+
**How does `datadog` help you?**
23+
<!-- Optionally, tell us why and how you're using datadog, and what your overall experience with it is! -->

.github/labeler.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ dev/ci:
4242

4343
# Version bump pull request
4444
release:
45-
- all: [ '{CHANGELOG.md,lib/ddtrace/version.rb}' ]
45+
- all: [ '{CHANGELOG.md,lib/datadog/version.rb}' ]

.github/workflows/build-gem.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ jobs:
5050
if: ${{ matrix.type != 'final' }}
5151
run: |
5252
# Patch in GEM_HOST
53-
sed ddtrace.gemspec -i -e "s,^\([\t ]*spec\.metadata\['allowed_push_host'\]\) *= *,\1 = \'${GEM_HOST}\' # ,"
53+
sed datadog.gemspec -i -e "s,^\([\t ]*spec\.metadata\['allowed_push_host'\]\) *= *,\1 = \'${GEM_HOST}\' # ,"
5454
5555
# Test result
56-
cat ddtrace.gemspec | grep -e allowed_push_host
56+
cat datadog.gemspec | grep -e allowed_push_host
5757
- name: Build gem
5858
run: bundle exec rake build
5959
- name: List gem
@@ -62,7 +62,7 @@ jobs:
6262
- name: Upload artifact
6363
uses: actions/upload-artifact@v3
6464
with:
65-
name: 'ddtrace-gem-${{ matrix.type }}-gha${{ github.run_id }}-g${{ github.sha }}'
65+
name: 'datadog-gem-${{ matrix.type }}-gha${{ github.run_id }}-g${{ github.sha }}'
6666
path: 'pkg/*.gem'
6767
test:
6868
strategy:
@@ -79,7 +79,7 @@ jobs:
7979
- name: Download artifact
8080
uses: actions/download-artifact@v3
8181
with:
82-
name: 'ddtrace-gem-${{ matrix.type }}-gha${{ github.run_id }}-g${{ github.sha }}'
82+
name: 'datadog-gem-${{ matrix.type }}-gha${{ github.run_id }}-g${{ github.sha }}'
8383
path: 'pkg'
8484
- name: List gem
8585
run: |
@@ -105,7 +105,7 @@ jobs:
105105
- name: Download artifact
106106
uses: actions/download-artifact@v3
107107
with:
108-
name: 'ddtrace-gem-${{ matrix.type }}-gha${{ github.run_id }}-g${{ github.sha }}'
108+
name: 'datadog-gem-${{ matrix.type }}-gha${{ github.run_id }}-g${{ github.sha }}'
109109
path: 'pkg'
110110
- name: List gem
111111
run: |

.github/workflows/lib-injection.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
push: true
2222
tags: ghcr.io/datadog/dd-trace-rb/dd-lib-ruby-init:${{ github.sha }}
2323
platforms: 'linux/amd64,linux/arm64/v8'
24-
build-args: DDTRACE_RUBY_SHA=${{ github.sha }}
24+
build-args: DATADOG_RUBY_GEM_SHA=${{ github.sha }}
2525
context: ./lib-injection
2626

2727
test:

.github/workflows/release-lib-injection.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
push: true
2929
tags: ghcr.io/datadog/dd-trace-rb/dd-lib-ruby-init:${{ steps.version.outputs.version }}
3030
platforms: 'linux/amd64,linux/arm64/v8'
31-
build-args: DDTRACE_RUBY_VERSION=${{ steps.version.outputs.version }}
31+
build-args: DATADOG_RUBY_GEM_VERSION=${{ steps.version.outputs.version }}
3232
context: ./lib-injection
3333

.github/workflows/test-head.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
# bundler appears to match both prerelease and release rubies when we
1818
# want the former only. relax the constraint to allow any version for
1919
# head rubies
20-
- run: sed -i~ -e '/spec\.required_ruby_version/d' ddtrace.gemspec
20+
- run: sed -i~ -e '/spec\.required_ruby_version/d' datadog.gemspec
2121
- uses: ruby/setup-ruby@31a7f6d628878b80bc63375a93ae079ec50a1601 # v1.143.0
2222
with:
2323
ruby-version: ${{ matrix.ruby }}
@@ -27,7 +27,7 @@ jobs:
2727
continue-on-error: true
2828
- run: bundle exec rake spec:contrib
2929
continue-on-error: true
30-
# A few contrib jobs that `ddtrace` already includes their gem in the global Gemfile.
30+
# A few contrib jobs that `datadog` already includes their gem in the global Gemfile.
3131
# We technically don't need appraisal to run them, thus are easy candidates for early testing.
3232
- run: bundle exec rake spec:rake
3333
continue-on-error: true

.github/workflows/test-macos.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# want the former only. relax the constraint to allow any version for
3535
# head rubies
3636
- if: ${{ matrix.ruby == 'head' }}
37-
run: sed -i~ -e '/spec\.required_ruby_version/d' ddtrace.gemspec
37+
run: sed -i~ -e '/spec\.required_ruby_version/d' datadog.gemspec
3838
- uses: ruby/setup-ruby@7d546f4868fb108ed378764d873683f920672ae2 # v1.149.0
3939
with:
4040
ruby-version: ${{ matrix.ruby }}

.github/workflows/test-yjit.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# want the former only. relax the constraint to allow any version for
2424
# head rubies
2525
- if: ${{ matrix.ruby == 'head' }}
26-
run: sed -i~ -e '/spec\.required_ruby_version/d' ddtrace.gemspec
26+
run: sed -i~ -e '/spec\.required_ruby_version/d' datadog.gemspec
2727
- uses: ruby/setup-ruby@9669f3ee51dc3f4eda8447ab696b3ab19a90d14b # v1.144.0
2828
with:
2929
ruby-version: ${{ matrix.ruby }}

.github/workflows/update-gemfiles.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ jobs:
5050
# Files that declare the dependency tree
5151
- Gemfile
5252
- Appraisals
53-
- ddtrace.gemspec
53+
- datadog.gemspec
5454
# Files that control gemfile generation
5555
- tasks/appraisal.rake
5656
- .github/workflows/update-gemfiles.yml
5757
# The gem version is present in all lock files
58-
- lib/ddtrace/version.rb
58+
- lib/datadog/version.rb
5959
# In case the generated files were updated manually or in a merge commit
6060
- appraisal/**
6161
- gemfiles/**

.gitlab-ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ build-gem:
9191
.gitlab/patch_gem_version.sh glci $CI_JOB_ID $CI_COMMIT_REF_NAME $CI_COMMIT_SHA
9292
fi
9393
- bundle install && bundle exec rake build
94-
- mkdir -p tmp && ruby -Ilib -rddtrace/version -e 'puts Gem::Version.new(DDTrace::VERSION::STRING).to_s' >> tmp/version.txt
94+
- mkdir -p tmp && ruby -Ilib -rdatadog/version -e 'puts Gem::Version.new(Datadog::VERSION::STRING).to_s' >> tmp/version.txt
9595
artifacts:
9696
paths:
9797
- pkg
9898
- tmp
99-
- lib/ddtrace/version.rb
99+
- lib/datadog/version.rb
100100

101101
.install-dependencies:
102102
parallel:
@@ -107,13 +107,13 @@ build-gem:
107107
- build-gem
108108
script:
109109
- export RUBY_PACKAGE_VERSION=$(cat tmp/version.txt)
110-
- export DDTRACE_GEM_LOCATION=$(readlink -f pkg/ddtrace-*.gem)
111-
- ruby .gitlab/install_ddtrace_deps.rb
110+
- export DATADOG_GEM_LOCATION=$(readlink -f pkg/datadog-*.gem)
111+
- ruby .gitlab/install_datadog_deps.rb
112112
artifacts:
113113
paths:
114114
- pkg
115115
- tmp
116-
- lib/ddtrace/version.rb
116+
- lib/datadog/version.rb
117117

118118
install-dependencies-amd64:
119119
extends: .install-dependencies

.gitlab/benchmarks.yml

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ variables:
3131
DD_TRACE_DEBUG: "false"
3232
DD_RUNTIME_METRICS_ENABLED: "true"
3333

34+
# DEV: This variable is consumed by the reliability environment
35+
# (TODO) Update this variable to reflect "DATADOG" instead of "DDTRACE" as a name?
3436
DD_RELENV_DDTRACE_COMMIT_ID: $CI_COMMIT_SHORT_SHA
3537

3638
K6_OPTIONS_NORMAL_OPERATION_RATE: 30

.gitlab/check_gem_presence.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ interval=60 # Retry after 60 seconds
1010
attempt=1
1111

1212
while [ $attempt -le $max_attempts ]; do
13-
output=$(gem search ddtrace -e -v $RUBY_PACKAGE_VERSION | { grep $RUBY_PACKAGE_VERSION || :; })
13+
output=$(gem search datadog -e -v $RUBY_PACKAGE_VERSION | { grep $RUBY_PACKAGE_VERSION || :; })
1414
if [ -z "$output" ]
1515
then
1616
echo "Attempt ${attempt}/${max_attempts}: Not found yet."

.gitlab/install_ddtrace_deps.rb .gitlab/install_datadog_deps.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
File.open(gemfile_file_path, 'w') do |file|
2020
file.write("source 'https://rubygems.org'\n")
21-
file.write("gem 'ddtrace', '#{ENV.fetch('RUBY_PACKAGE_VERSION')}', path: '#{current_path}'")
21+
file.write("gem 'datadog', '#{ENV.fetch('RUBY_PACKAGE_VERSION')}', path: '#{current_path}'")
2222
end
2323

2424
puts '=== Reading Gemfile ==='
@@ -59,11 +59,11 @@
5959
gem_install_cmd << "--install-dir #{versioned_path} "
6060
# Install `ffi` gem with its built-in `libffi` native extension instead of using system's `libffi`
6161
gem_install_cmd << '-- --disable-system-libffi '
62-
when 'ddtrace'
63-
# Install `ddtrace` gem locally without its profiling native extension
62+
when 'datadog'
63+
# Install `datadog` gem locally without its profiling native extension
6464
env['DD_PROFILING_NO_EXTENSION'] = 'true'
6565
gem_install_cmd =
66-
"gem install --local #{ENV.fetch('DDTRACE_GEM_LOCATION')} "\
66+
"gem install --local #{ENV.fetch('DATADOG_GEM_LOCATION')} "\
6767
'--no-document '\
6868
'--ignore-dependencies '\
6969
"--install-dir #{versioned_path} "

.gitlab/patch_gem_version.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ BUILD="b${git_branch_hash}.${1}${2}.g${git_short_sha}"
3030
echo BUILD="${BUILD}"
3131

3232
# Patch in components
33-
sed lib/ddtrace/version.rb -i -e "s/^\([\t ]*PRE\) *= */\1 = \'${PRE}\' # /"
34-
sed lib/ddtrace/version.rb -i -e "s/^\([\t ]*BUILD\) *= */\1 = \'${BUILD}\' # /"
33+
sed lib/datadog/version.rb -i -e "s/^\([\t ]*PRE\) *= */\1 = \'${PRE}\' # /"
34+
sed lib/datadog/version.rb -i -e "s/^\([\t ]*BUILD\) *= */\1 = \'${BUILD}\' # /"
3535

3636
# Test result
37-
cat lib/ddtrace/version.rb | grep -e PRE -e BUILD
37+
cat lib/datadog/version.rb | grep -e PRE -e BUILD
3838

39-
ruby -Ilib -rddtrace/version -e 'puts DDTrace::VERSION::STRING'
40-
ruby -Ilib -rddtrace/version -e 'puts Gem::Version.new(DDTrace::VERSION::STRING).to_s'
39+
ruby -Ilib -rdatadog/version -e 'puts Datadog::VERSION::STRING'
40+
ruby -Ilib -rdatadog/version -e 'puts Gem::Version.new(Datadog::VERSION::STRING).to_s'

.rubocop.yml

-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ AllCops:
1717
- 'Rakefile'
1818
Exclude:
1919
- 'Appraisals'
20-
- 'lib/ddtrace/**/vendor/**/*.rb'
2120
- 'lib/datadog/**/vendor/**/*.rb'
2221
- 'integration/apps/*/bin/*'
2322
- 'integration/apps/*/Gemfile'
@@ -344,10 +343,6 @@ RSpec/AnyInstance:
344343
Enabled: false
345344

346345
# Enforces strict matching of example class with spec file name.
347-
# This does not work for our current namespacing as our gem is called
348-
# `ddtrace` while our namespace is `::Datadog`.
349-
# It would have to either be `ddtrace` + `::DDTrace` or
350-
# `datadog` + `::Datadog`.
351346
RSpec/FilePath:
352347
Enabled: false
353348

.rubocop_todo.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ Naming/FileName:
5757
- 'lib/datadog/tracing/contrib/rails/middlewares.rb'
5858
- 'lib/datadog/tracing/contrib/rails/railtie.rb'
5959
- 'lib/datadog/tracing/propagation/http.rb'
60-
- 'lib/ddtrace.rb'
61-
- 'lib/ddtrace/auto_instrument.rb'
62-
- 'lib/ddtrace/auto_instrument_base.rb'
63-
- 'lib/ddtrace/profiling/preload.rb'
64-
- 'lib/ddtrace/transport/ext.rb'
65-
- 'lib/ddtrace/version.rb'
60+
- 'lib/datadog.rb'
61+
- 'lib/datadog/auto_instrument.rb'
62+
- 'lib/datadog/auto_instrument_base.rb'
63+
- 'lib/datadog/profiling/preload.rb'
64+
- 'lib/datadog/transport/ext.rb'
65+
- 'lib/datadog/version.rb'
6666

6767
# Offense count: 1
6868
RSpec/IteratedExpectation:

.simplecov

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
SimpleCov.enable_coverage :branch if RUBY_VERSION >= '2.5.0'
55

66
# Categorize SimpleCov report, for easier reading
7-
SimpleCov.add_group 'contrib', '/lib/ddtrace/contrib'
8-
SimpleCov.add_group 'transport', '/lib/ddtrace/transport'
7+
SimpleCov.add_group 'contrib', '/lib/datadog/tracing/contrib'
8+
SimpleCov.add_group 'transport', '/lib/datadog/core/transport'
99
SimpleCov.add_group 'spec', '/spec/'
1010

1111
# Exclude code not maintained by this project

.yardopts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--title "ddtrace x.y.z documentation"
1+
--title "datadog x.y.z documentation"
22
--markup markdown
33
--markup-provider redcarpet
44
--readme docs/GettingStarted.md

Appraisals

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
lib = File.expand_path('lib', __dir__)
22
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3-
require 'ddtrace/version'
3+
require 'datadog/version'
44

55
module DisableBundleCheck
66
def check_command

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ You may submit bug reports concerning the Datadog tracing library for Ruby by [o
3333
- Errors (with stack traces) or warnings received
3434
- Any details you can share about your configuration including:
3535
- Ruby version & platform
36-
- `ddtrace` version
36+
- `datadog` version
3737
- Versions of any other relevant gems (or a `Gemfile.lock` if available)
3838
- Any configuration settings for the trace library (e.g. `initializers/datadog.rb`)
3939

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ end
9191

9292
# Optional extensions
9393
# TODO: Move this to Appraisals?
94-
# dogstatsd v5, but lower than 5.2, has possible memory leak with ddtrace.
94+
# dogstatsd v5, but lower than 5.2, has possible memory leak with datadog.
9595
# @see https://github.com/DataDog/dogstatsd-ruby/issues/182
9696
gem 'dogstatsd-ruby', '>= 3.3.0', '!= 5.0.0', '!= 5.0.1', '!= 5.1.0'
9797

README.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# Datadog Trace Client
22

3-
[![Gem](https://img.shields.io/gem/v/ddtrace)](https://rubygems.org/gems/ddtrace/)
3+
[![Gem](https://img.shields.io/gem/v/datadog)](https://rubygems.org/gems/datadog/)
44
[![codecov](https://codecov.io/gh/DataDog/dd-trace-rb/branch/master/graph/badge.svg)](https://app.codecov.io/gh/DataDog/dd-trace-rb/branch/master)
55
[![YARD documentation](https://img.shields.io/badge/YARD-documentation-blue)][api docs]
66

7-
``ddtrace`` is Datadog’s tracing client for Ruby. It is used to trace requests as they flow across web servers,
8-
databases and microservices so that developers have great visibility into bottlenecks and troublesome requests.
7+
``datadog`` is Datadog's client library for Ruby. It includes a suite of tools which provide visibility into the performance and security of Ruby applications, to enable Ruby developers to identify bottlenecks and other issues.
98

109
## Getting started
1110

@@ -24,8 +23,3 @@ For contributing, checkout the [contribution guidelines][contribution docs] and
2423
[APM glossary]: https://docs.datadoghq.com/tracing/glossary/
2524
[contribution docs]: https://github.com/DataDog/dd-trace-rb/blob/master/CONTRIBUTING.md
2625
[development docs]: https://github.com/DataDog/dd-trace-rb/blob/master/docs/DevelopmentGuide.md
27-
28-
## Special thanks
29-
30-
* [Mike Fiedler](https://github.com/miketheman) for working on a number of Datadog Ruby projects, as well as graciously
31-
gifting control of the `datadog` gem

0 commit comments

Comments
 (0)