instrument_all_the_things 1.3.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/lint.yaml +21 -0
- data/.github/workflows/test.yaml +31 -0
- data/.gitignore +2 -0
- data/.rubocop-https---raw-githubusercontent-com-GetTerminus-ruby-shared-configs-master--rubocop-yml +91 -0
- data/.rubocop.yml +2 -1
- data/.ruby-version +1 -1
- data/Gemfile.lock +44 -34
- data/README.md +1 -1
- data/instrument_all_the_things.gemspec +4 -4
- data/lib/instrument_all_the_things/instrumentors/tracing.rb +1 -2
- data/lib/instrument_all_the_things/testing/rspec_matchers.rb +1 -1
- data/lib/instrument_all_the_things/thread.rb +19 -0
- data/lib/instrument_all_the_things/version.rb +1 -1
- data/lib/instrument_all_the_things.rb +2 -7
- data/vendor/cache/benchmark-ips-2.10.0.gem +0 -0
- data/vendor/cache/ddtrace-1.2.0.gem +0 -0
- data/vendor/cache/debase-ruby_core_source-0.10.16.gem +0 -0
- data/vendor/cache/diff-lcs-1.5.0.gem +0 -0
- data/vendor/cache/dogstatsd-ruby-5.5.0.gem +0 -0
- data/vendor/cache/ffi-1.15.5.gem +0 -0
- data/vendor/cache/json-2.6.2.gem +0 -0
- data/vendor/cache/libddprof-0.6.0.1.0.gem +0 -0
- data/vendor/cache/libddwaf-1.3.0.2.0-x86_64-darwin.gem +0 -0
- data/vendor/cache/libddwaf-1.3.0.2.0.gem +0 -0
- data/vendor/cache/msgpack-1.5.4.gem +0 -0
- data/vendor/cache/parallel-1.22.1.gem +0 -0
- data/vendor/cache/parser-3.1.2.0.gem +0 -0
- data/vendor/cache/rainbow-3.1.1.gem +0 -0
- data/vendor/cache/regexp_parser-2.5.0.gem +0 -0
- data/vendor/cache/rspec-3.11.0.gem +0 -0
- data/vendor/cache/rspec-core-3.11.0.gem +0 -0
- data/vendor/cache/rspec-expectations-3.11.0.gem +0 -0
- data/vendor/cache/rspec-mocks-3.11.1.gem +0 -0
- data/vendor/cache/rspec-support-3.11.0.gem +0 -0
- data/vendor/cache/rubocop-1.31.2.gem +0 -0
- data/vendor/cache/rubocop-ast-1.19.1.gem +0 -0
- data/vendor/cache/simplecov_json_formatter-0.1.4.gem +0 -0
- data/vendor/cache/unicode-display_width-2.2.0.gem +0 -0
- metadata +40 -30
- data/.drone.yml +0 -14
- data/vendor/cache/benchmark-ips-2.9.1.gem +0 -0
- data/vendor/cache/ddtrace-0.52.0.gem +0 -0
- data/vendor/cache/diff-lcs-1.4.4.gem +0 -0
- data/vendor/cache/dogstatsd-ruby-5.2.0.gem +0 -0
- data/vendor/cache/ffi-1.15.4.gem +0 -0
- data/vendor/cache/msgpack-1.4.2.gem +0 -0
- data/vendor/cache/parallel-1.21.0.gem +0 -0
- data/vendor/cache/parser-3.0.2.0.gem +0 -0
- data/vendor/cache/rainbow-3.0.0.gem +0 -0
- data/vendor/cache/regexp_parser-2.1.1.gem +0 -0
- data/vendor/cache/rspec-3.10.0.gem +0 -0
- data/vendor/cache/rspec-core-3.10.1.gem +0 -0
- data/vendor/cache/rspec-expectations-3.10.1.gem +0 -0
- data/vendor/cache/rspec-mocks-3.10.2.gem +0 -0
- data/vendor/cache/rspec-support-3.10.2.gem +0 -0
- data/vendor/cache/simplecov_json_formatter-0.1.3.gem +0 -0
- data/vendor/cache/unicode-display_width-2.1.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 128ce1a0db87a3ae766c72e856519dcfa356c6dcb4b71ac0debbbff0d2026a1b
|
4
|
+
data.tar.gz: 50845ff64582662567623779a5caa6cc6118c13b4e4cce520656f3c75dcce1a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02a41d1ceb496c3ed1e2f62c278831fde669388d33214ae39abfff6d7ef52c93831c08610d7aa33456dbede44af846213e2a7deffdce8345685aae755012b525
|
7
|
+
data.tar.gz: 517a4cd139e4af87dc76cb9daa409c1f097345671d5cb1656bb878fc6a3e81fbfafd58e40d7df85620194172558c8d82a965444905b9ee287d3ebd63239c8247
|
@@ -0,0 +1,21 @@
|
|
1
|
+
name: 'Lint'
|
2
|
+
|
3
|
+
on: push
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
run-rubocop:
|
7
|
+
name: Lint code
|
8
|
+
strategy:
|
9
|
+
fail-fast: false
|
10
|
+
matrix:
|
11
|
+
rubyVersion: ["2.7.6"]
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
steps:
|
14
|
+
- uses: actions/checkout@v3
|
15
|
+
- uses: ruby/setup-ruby@v1
|
16
|
+
with:
|
17
|
+
ruby-version: ${{ matrix.rubyVersion }}
|
18
|
+
bundler-cache: true
|
19
|
+
cache-version: "${{ matrix.rubyVersion }}-0"
|
20
|
+
- name: Run RuboCop
|
21
|
+
run: bundle exec rubocop
|
@@ -0,0 +1,31 @@
|
|
1
|
+
name: Test
|
2
|
+
|
3
|
+
on: push
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
run-tests:
|
7
|
+
name: Test code
|
8
|
+
runs-on: ubuntu-latest
|
9
|
+
strategy:
|
10
|
+
fail-fast: false
|
11
|
+
matrix:
|
12
|
+
ruby:
|
13
|
+
- 3.1.2
|
14
|
+
- 3.0.4
|
15
|
+
- 2.7.6
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@v2
|
18
|
+
- uses: ruby/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: ${{ matrix.ruby }}
|
21
|
+
bundler-cache: true
|
22
|
+
cache-version: ${{ matrix.ruby }}-0
|
23
|
+
- name: Run RSpec
|
24
|
+
env:
|
25
|
+
CI: true
|
26
|
+
run: bundle exec rspec
|
27
|
+
- name: Coveralls
|
28
|
+
uses: coverallsapp/github-action@v1.1.2
|
29
|
+
continue-on-error: true
|
30
|
+
with:
|
31
|
+
github-token: ${{ secrets.GITHUB_TOKEN }}
|
data/.gitignore
CHANGED
data/.rubocop-https---raw-githubusercontent-com-GetTerminus-ruby-shared-configs-master--rubocop-yml
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
AllCops:
|
2
|
+
Exclude:
|
3
|
+
- Makefile
|
4
|
+
- vendor/**/*
|
5
|
+
- bin/**/*
|
6
|
+
|
7
|
+
Layout/EndOfLine:
|
8
|
+
Enabled: false
|
9
|
+
|
10
|
+
Style/DateTime:
|
11
|
+
Enabled: false
|
12
|
+
|
13
|
+
Style/Documentation:
|
14
|
+
Enabled: false
|
15
|
+
|
16
|
+
Lint/Debugger:
|
17
|
+
Enabled: true
|
18
|
+
|
19
|
+
Style/FrozenStringLiteralComment:
|
20
|
+
Enabled: true
|
21
|
+
EnforcedStyle: always
|
22
|
+
|
23
|
+
Style/TrailingCommaInHashLiteral:
|
24
|
+
Enabled: true
|
25
|
+
EnforcedStyleForMultiline: comma
|
26
|
+
|
27
|
+
Style/TrailingCommaInArrayLiteral:
|
28
|
+
Enabled: true
|
29
|
+
EnforcedStyleForMultiline: comma
|
30
|
+
|
31
|
+
Style/TrailingCommaInArguments:
|
32
|
+
Enabled: true
|
33
|
+
EnforcedStyleForMultiline: comma
|
34
|
+
|
35
|
+
Lint/UnusedMethodArgument:
|
36
|
+
AllowUnusedKeywordArguments: true
|
37
|
+
|
38
|
+
Layout/LineLength:
|
39
|
+
Enabled: true
|
40
|
+
Max: 280
|
41
|
+
IgnoreCopDirectives: true
|
42
|
+
IgnoredPatterns: ['\A#', '\A\s*sig { .* }\Z']
|
43
|
+
Exclude:
|
44
|
+
- '**/*_pb.rb'
|
45
|
+
|
46
|
+
Metrics/AbcSize:
|
47
|
+
Enabled: true
|
48
|
+
Max: 48
|
49
|
+
|
50
|
+
Metrics/CyclomaticComplexity:
|
51
|
+
Max: 9
|
52
|
+
|
53
|
+
Metrics/MethodLength:
|
54
|
+
Enabled: true
|
55
|
+
Max: 32
|
56
|
+
|
57
|
+
Layout/ParameterAlignment:
|
58
|
+
Enabled: true
|
59
|
+
EnforcedStyle: with_fixed_indentation
|
60
|
+
|
61
|
+
Naming/MethodParameterName:
|
62
|
+
Enabled: true
|
63
|
+
AllowedNames: ['io', 'id', 'to', 'by', 'on', 'in', 'at', '_'] # Defaults + _
|
64
|
+
|
65
|
+
Layout/MultilineMethodCallIndentation:
|
66
|
+
Enabled: true
|
67
|
+
EnforcedStyle: indented
|
68
|
+
|
69
|
+
Style/ParallelAssignment:
|
70
|
+
Enabled: true
|
71
|
+
|
72
|
+
Metrics/ClassLength:
|
73
|
+
Max: 240
|
74
|
+
|
75
|
+
Metrics/BlockLength:
|
76
|
+
Max: 30
|
77
|
+
Exclude:
|
78
|
+
- spec/**/*.rb
|
79
|
+
- '**/*_pb.rb'
|
80
|
+
|
81
|
+
Metrics/ParameterLists:
|
82
|
+
Max: 6
|
83
|
+
|
84
|
+
Lint/AmbiguousBlockAssociation:
|
85
|
+
Exclude:
|
86
|
+
- spec/**/*.rb
|
87
|
+
|
88
|
+
Style/BlockDelimiters:
|
89
|
+
Enabled: true
|
90
|
+
Exclude:
|
91
|
+
- spec/**/*
|
data/.rubocop.yml
CHANGED
@@ -2,12 +2,13 @@ inherit_from: https://raw.githubusercontent.com/GetTerminus/ruby_shared_configs/
|
|
2
2
|
|
3
3
|
|
4
4
|
AllCops:
|
5
|
-
TargetRubyVersion: 2.
|
5
|
+
TargetRubyVersion: 2.7
|
6
6
|
Exclude:
|
7
7
|
- Makefile
|
8
8
|
- vendor/**/*
|
9
9
|
- bin/*
|
10
10
|
- Guardfile
|
11
|
+
- lib/instrument_all_the_things/thread.rb
|
11
12
|
|
12
13
|
Naming/AccessorMethodName:
|
13
14
|
Exclude:
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.1.2
|
data/Gemfile.lock
CHANGED
@@ -1,67 +1,77 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
instrument_all_the_things (
|
5
|
-
ddtrace
|
6
|
-
dogstatsd-ruby
|
4
|
+
instrument_all_the_things (2.0.1)
|
5
|
+
ddtrace (~> 1.2.0)
|
6
|
+
dogstatsd-ruby (~> 5.5.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
11
|
ast (2.4.2)
|
12
|
-
benchmark-ips (2.
|
12
|
+
benchmark-ips (2.10.0)
|
13
13
|
coderay (1.1.3)
|
14
|
-
ddtrace (
|
15
|
-
|
14
|
+
ddtrace (1.2.0)
|
15
|
+
debase-ruby_core_source (= 0.10.16)
|
16
|
+
libddprof (~> 0.6.0.1.0)
|
17
|
+
libddwaf (~> 1.3.0.2.0)
|
16
18
|
msgpack
|
17
|
-
|
19
|
+
debase-ruby_core_source (0.10.16)
|
20
|
+
diff-lcs (1.5.0)
|
18
21
|
docile (1.4.0)
|
19
|
-
dogstatsd-ruby (5.
|
20
|
-
ffi (1.15.
|
22
|
+
dogstatsd-ruby (5.5.0)
|
23
|
+
ffi (1.15.5)
|
24
|
+
json (2.6.2)
|
25
|
+
libddprof (0.6.0.1.0)
|
26
|
+
libddwaf (1.3.0.2.0)
|
27
|
+
ffi (~> 1.0)
|
28
|
+
libddwaf (1.3.0.2.0-x86_64-darwin)
|
29
|
+
ffi (~> 1.0)
|
21
30
|
method_source (1.0.0)
|
22
|
-
msgpack (1.4
|
23
|
-
parallel (1.
|
24
|
-
parser (3.
|
31
|
+
msgpack (1.5.4)
|
32
|
+
parallel (1.22.1)
|
33
|
+
parser (3.1.2.0)
|
25
34
|
ast (~> 2.4.1)
|
26
35
|
pry (0.14.1)
|
27
36
|
coderay (~> 1.1)
|
28
37
|
method_source (~> 1.0)
|
29
|
-
rainbow (3.
|
38
|
+
rainbow (3.1.1)
|
30
39
|
rake (10.5.0)
|
31
|
-
regexp_parser (2.
|
40
|
+
regexp_parser (2.5.0)
|
32
41
|
rexml (3.2.5)
|
33
|
-
rspec (3.
|
34
|
-
rspec-core (~> 3.
|
35
|
-
rspec-expectations (~> 3.
|
36
|
-
rspec-mocks (~> 3.
|
37
|
-
rspec-core (3.
|
38
|
-
rspec-support (~> 3.
|
39
|
-
rspec-expectations (3.
|
42
|
+
rspec (3.11.0)
|
43
|
+
rspec-core (~> 3.11.0)
|
44
|
+
rspec-expectations (~> 3.11.0)
|
45
|
+
rspec-mocks (~> 3.11.0)
|
46
|
+
rspec-core (3.11.0)
|
47
|
+
rspec-support (~> 3.11.0)
|
48
|
+
rspec-expectations (3.11.0)
|
40
49
|
diff-lcs (>= 1.2.0, < 2.0)
|
41
|
-
rspec-support (~> 3.
|
42
|
-
rspec-mocks (3.
|
50
|
+
rspec-support (~> 3.11.0)
|
51
|
+
rspec-mocks (3.11.1)
|
43
52
|
diff-lcs (>= 1.2.0, < 2.0)
|
44
|
-
rspec-support (~> 3.
|
45
|
-
rspec-support (3.
|
46
|
-
rubocop (1.
|
53
|
+
rspec-support (~> 3.11.0)
|
54
|
+
rspec-support (3.11.0)
|
55
|
+
rubocop (1.31.2)
|
56
|
+
json (~> 2.3)
|
47
57
|
parallel (~> 1.10)
|
48
|
-
parser (>= 3.
|
58
|
+
parser (>= 3.1.0.0)
|
49
59
|
rainbow (>= 2.2.2, < 4.0)
|
50
60
|
regexp_parser (>= 1.8, < 3.0)
|
51
|
-
rexml
|
52
|
-
rubocop-ast (>= 1.
|
61
|
+
rexml (>= 3.2.5, < 4.0)
|
62
|
+
rubocop-ast (>= 1.18.0, < 2.0)
|
53
63
|
ruby-progressbar (~> 1.7)
|
54
64
|
unicode-display_width (>= 1.4.0, < 3.0)
|
55
|
-
rubocop-ast (1.
|
56
|
-
parser (>= 3.
|
65
|
+
rubocop-ast (1.19.1)
|
66
|
+
parser (>= 3.1.1.0)
|
57
67
|
ruby-progressbar (1.11.0)
|
58
68
|
simplecov (0.21.2)
|
59
69
|
docile (~> 1.1)
|
60
70
|
simplecov-html (~> 0.11)
|
61
71
|
simplecov_json_formatter (~> 0.1)
|
62
72
|
simplecov-html (0.12.3)
|
63
|
-
simplecov_json_formatter (0.1.
|
64
|
-
unicode-display_width (2.
|
73
|
+
simplecov_json_formatter (0.1.4)
|
74
|
+
unicode-display_width (2.2.0)
|
65
75
|
|
66
76
|
PLATFORMS
|
67
77
|
ruby
|
@@ -78,4 +88,4 @@ DEPENDENCIES
|
|
78
88
|
simplecov
|
79
89
|
|
80
90
|
BUNDLED WITH
|
81
|
-
2.
|
91
|
+
2.3.12
|
data/README.md
CHANGED
@@ -129,7 +129,7 @@ require 'instrument_all_the_things/testing/trace_tracker'
|
|
129
129
|
require 'instrument_all_the_things/testing/rspec_matchers'
|
130
130
|
|
131
131
|
Datadog.configure do |c|
|
132
|
-
c.
|
132
|
+
c.tracing.transport_options = proc { |t|
|
133
133
|
t.adapter :test, IATT::Testing::TraceTracker.new
|
134
134
|
}
|
135
135
|
end
|
@@ -23,15 +23,15 @@ Gem::Specification.new do |spec|
|
|
23
23
|
# Specify which files should be added to the gem when it is released.
|
24
24
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
25
25
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
26
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|Gemfile.lock)/}) }
|
27
27
|
end
|
28
28
|
spec.bindir = 'exe'
|
29
29
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
30
30
|
spec.require_paths = ['lib']
|
31
|
-
spec.required_ruby_version = '>= 2.
|
31
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.7.0')
|
32
32
|
|
33
|
-
spec.add_dependency 'ddtrace'
|
34
|
-
spec.add_dependency 'dogstatsd-ruby'
|
33
|
+
spec.add_dependency 'ddtrace', '~> 1.2.0'
|
34
|
+
spec.add_dependency 'dogstatsd-ruby', '~> 5.5.0'
|
35
35
|
|
36
36
|
spec.add_development_dependency 'benchmark-ips'
|
37
37
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
@@ -3,7 +3,6 @@
|
|
3
3
|
module InstrumentAllTheThings
|
4
4
|
module Instrumentors
|
5
5
|
DEFAULT_TRACE_OPTIONS = {
|
6
|
-
service: '',
|
7
6
|
span_type: '',
|
8
7
|
tags: {},
|
9
8
|
span_name: 'method.execution',
|
@@ -23,7 +22,7 @@ module InstrumentAllTheThings
|
|
23
22
|
passed_ops[:resource] ||= context.trace_name(klass)
|
24
23
|
passed_ops[:tags] ||= {}
|
25
24
|
|
26
|
-
InstrumentAllTheThings.tracer.trace(span_name, passed_ops) do
|
25
|
+
InstrumentAllTheThings.tracer.trace(span_name, **passed_ops) do
|
27
26
|
next_blk.call(klass, actual_code)
|
28
27
|
end
|
29
28
|
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'ddtrace'
|
4
|
+
|
5
|
+
# https://github.com/DataDog/dd-trace-rb/blob/master/docs/UpgradeGuide.md#between-threads
|
6
|
+
class Thread
|
7
|
+
def self.new_traced
|
8
|
+
trace = Datadog::Tracing.active_trace
|
9
|
+
trace_digest = trace.to_digest
|
10
|
+
|
11
|
+
Thread.new do |*args|
|
12
|
+
# Inherits trace properties from the trace digest
|
13
|
+
Datadog::Tracing.trace(trace.name, continue_from: trace_digest) do |_span, trace|
|
14
|
+
trace.id == trace_digest.trace_id
|
15
|
+
yield(*args)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -6,6 +6,7 @@ require 'instrument_all_the_things/version'
|
|
6
6
|
|
7
7
|
require_relative './instrument_all_the_things/helpers'
|
8
8
|
require_relative './instrument_all_the_things/clients/stat_reporter/datadog'
|
9
|
+
require_relative './instrument_all_the_things/thread'
|
9
10
|
|
10
11
|
module InstrumentAllTheThings
|
11
12
|
class Error < StandardError; end
|
@@ -36,9 +37,7 @@ module InstrumentAllTheThings
|
|
36
37
|
end
|
37
38
|
|
38
39
|
def tracer
|
39
|
-
|
40
|
-
|
41
|
-
@tracer ||= Datadog.tracer
|
40
|
+
Datadog::Tracing
|
42
41
|
end
|
43
42
|
|
44
43
|
%i[
|
@@ -68,10 +67,6 @@ module InstrumentAllTheThings
|
|
68
67
|
tracer&.active_span&.set_tags(to_tracer_tags(tag_name => tag_value))
|
69
68
|
end
|
70
69
|
|
71
|
-
def self.tag_active_root_span(tag_name, tag_value)
|
72
|
-
tracer&.active_span&.set_tags(to_tracer_tags(tag_name => tag_value))
|
73
|
-
end
|
74
|
-
|
75
70
|
def self.to_tracer_tags(hsh, prefix = nil)
|
76
71
|
hsh.each_with_object({}) do |(hash_key, value), acc|
|
77
72
|
key = prefix ? "#{prefix}.#{hash_key}" : hash_key
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instrument_all_the_things
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Malinconico
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ddtrace
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 1.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: dogstatsd-ruby
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 5.5.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 5.5.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: benchmark-ips
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,9 +143,11 @@ executables: []
|
|
143
143
|
extensions: []
|
144
144
|
extra_rdoc_files: []
|
145
145
|
files:
|
146
|
-
- ".
|
146
|
+
- ".github/workflows/lint.yaml"
|
147
|
+
- ".github/workflows/test.yaml"
|
147
148
|
- ".gitignore"
|
148
149
|
- ".rspec"
|
150
|
+
- ".rubocop-https---raw-githubusercontent-com-GetTerminus-ruby-shared-configs-master--rubocop-yml"
|
149
151
|
- ".rubocop.yml"
|
150
152
|
- ".ruby-version"
|
151
153
|
- ".travis.yml"
|
@@ -172,35 +174,43 @@ files:
|
|
172
174
|
- lib/instrument_all_the_things/testing/rspec_matchers.rb
|
173
175
|
- lib/instrument_all_the_things/testing/stat_tracker.rb
|
174
176
|
- lib/instrument_all_the_things/testing/trace_tracker.rb
|
177
|
+
- lib/instrument_all_the_things/thread.rb
|
175
178
|
- lib/instrument_all_the_things/version.rb
|
176
179
|
- logo.jpg
|
177
180
|
- vendor/cache/ast-2.4.2.gem
|
178
|
-
- vendor/cache/benchmark-ips-2.
|
181
|
+
- vendor/cache/benchmark-ips-2.10.0.gem
|
179
182
|
- vendor/cache/coderay-1.1.3.gem
|
180
|
-
- vendor/cache/ddtrace-
|
181
|
-
- vendor/cache/
|
183
|
+
- vendor/cache/ddtrace-1.2.0.gem
|
184
|
+
- vendor/cache/debase-ruby_core_source-0.10.16.gem
|
185
|
+
- vendor/cache/diff-lcs-1.5.0.gem
|
182
186
|
- vendor/cache/docile-1.4.0.gem
|
183
|
-
- vendor/cache/dogstatsd-ruby-5.
|
184
|
-
- vendor/cache/ffi-1.15.
|
187
|
+
- vendor/cache/dogstatsd-ruby-5.5.0.gem
|
188
|
+
- vendor/cache/ffi-1.15.5.gem
|
189
|
+
- vendor/cache/json-2.6.2.gem
|
190
|
+
- vendor/cache/libddprof-0.6.0.1.0.gem
|
191
|
+
- vendor/cache/libddwaf-1.3.0.2.0-x86_64-darwin.gem
|
192
|
+
- vendor/cache/libddwaf-1.3.0.2.0.gem
|
185
193
|
- vendor/cache/method_source-1.0.0.gem
|
186
|
-
- vendor/cache/msgpack-1.4.
|
187
|
-
- vendor/cache/parallel-1.
|
188
|
-
- vendor/cache/parser-3.
|
194
|
+
- vendor/cache/msgpack-1.5.4.gem
|
195
|
+
- vendor/cache/parallel-1.22.1.gem
|
196
|
+
- vendor/cache/parser-3.1.2.0.gem
|
189
197
|
- vendor/cache/pry-0.14.1.gem
|
190
|
-
- vendor/cache/rainbow-3.
|
198
|
+
- vendor/cache/rainbow-3.1.1.gem
|
191
199
|
- vendor/cache/rake-10.5.0.gem
|
192
|
-
- vendor/cache/regexp_parser-2.
|
200
|
+
- vendor/cache/regexp_parser-2.5.0.gem
|
193
201
|
- vendor/cache/rexml-3.2.5.gem
|
194
|
-
- vendor/cache/rspec-3.
|
195
|
-
- vendor/cache/rspec-core-3.
|
196
|
-
- vendor/cache/rspec-expectations-3.
|
197
|
-
- vendor/cache/rspec-mocks-3.
|
198
|
-
- vendor/cache/rspec-support-3.
|
202
|
+
- vendor/cache/rspec-3.11.0.gem
|
203
|
+
- vendor/cache/rspec-core-3.11.0.gem
|
204
|
+
- vendor/cache/rspec-expectations-3.11.0.gem
|
205
|
+
- vendor/cache/rspec-mocks-3.11.1.gem
|
206
|
+
- vendor/cache/rspec-support-3.11.0.gem
|
207
|
+
- vendor/cache/rubocop-1.31.2.gem
|
208
|
+
- vendor/cache/rubocop-ast-1.19.1.gem
|
199
209
|
- vendor/cache/ruby-progressbar-1.11.0.gem
|
200
210
|
- vendor/cache/simplecov-0.21.2.gem
|
201
211
|
- vendor/cache/simplecov-html-0.12.3.gem
|
202
|
-
- vendor/cache/simplecov_json_formatter-0.1.
|
203
|
-
- vendor/cache/unicode-display_width-2.
|
212
|
+
- vendor/cache/simplecov_json_formatter-0.1.4.gem
|
213
|
+
- vendor/cache/unicode-display_width-2.2.0.gem
|
204
214
|
homepage: https://github.com/GetTerminus/instrument-all-the-things
|
205
215
|
licenses: []
|
206
216
|
metadata:
|
@@ -215,14 +225,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
215
225
|
requirements:
|
216
226
|
- - ">="
|
217
227
|
- !ruby/object:Gem::Version
|
218
|
-
version: 2.
|
228
|
+
version: 2.7.0
|
219
229
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
230
|
requirements:
|
221
231
|
- - ">="
|
222
232
|
- !ruby/object:Gem::Version
|
223
233
|
version: '0'
|
224
234
|
requirements: []
|
225
|
-
rubygems_version: 3.
|
235
|
+
rubygems_version: 3.3.12
|
226
236
|
signing_key:
|
227
237
|
specification_version: 4
|
228
238
|
summary: Make instrumentation with DataDog easy peasy
|
data/.drone.yml
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
kind: pipeline
|
2
|
-
name: default
|
3
|
-
|
4
|
-
steps:
|
5
|
-
- name: test-ruby
|
6
|
-
image: getterminus/ruby-ci-image:2.6-je-20190205
|
7
|
-
group: bundler
|
8
|
-
volumes:
|
9
|
-
- name: bundledir
|
10
|
-
path: /usr/local/bundle
|
11
|
-
commands:
|
12
|
-
- bundle check --path=/usr/local/bundle || bundle --local --path=/usr/local/bundle
|
13
|
-
- bundle exec rspec
|
14
|
-
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/cache/ffi-1.15.4.gem
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|