atatus 1.3.0 → 1.4.0

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.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/Gemfile +72 -22
  4. data/LICENSE +1 -1
  5. data/atatus.gemspec +2 -2
  6. data/lib/atatus.rb +76 -16
  7. data/lib/atatus/agent.rb +78 -29
  8. data/lib/atatus/central_config.rb +72 -27
  9. data/lib/atatus/central_config/cache_control.rb +18 -1
  10. data/lib/atatus/child_durations.rb +64 -0
  11. data/lib/atatus/collector/base.rb +61 -29
  12. data/lib/atatus/collector/builder.rb +46 -2
  13. data/lib/atatus/collector/hist.rb +54 -0
  14. data/lib/atatus/collector/transport.rb +41 -11
  15. data/lib/atatus/config.rb +129 -28
  16. data/lib/atatus/config/bytes.rb +17 -0
  17. data/lib/atatus/config/duration.rb +17 -0
  18. data/lib/atatus/config/options.rb +29 -9
  19. data/lib/atatus/config/regexp_list.rb +17 -0
  20. data/lib/atatus/config/wildcard_pattern_list.rb +64 -0
  21. data/lib/atatus/context.rb +32 -1
  22. data/lib/atatus/context/request.rb +17 -0
  23. data/lib/atatus/context/request/socket.rb +18 -1
  24. data/lib/atatus/context/request/url.rb +17 -0
  25. data/lib/atatus/context/response.rb +27 -2
  26. data/lib/atatus/context/user.rb +17 -0
  27. data/lib/atatus/context_builder.rb +19 -4
  28. data/lib/atatus/deprecations.rb +17 -0
  29. data/lib/atatus/error.rb +27 -0
  30. data/lib/atatus/error/exception.rb +24 -0
  31. data/lib/atatus/error/log.rb +17 -0
  32. data/lib/atatus/error_builder.rb +17 -2
  33. data/lib/atatus/grape.rb +62 -0
  34. data/lib/atatus/graphql.rb +91 -0
  35. data/lib/atatus/grpc.rb +99 -0
  36. data/lib/atatus/instrumenter.rb +135 -30
  37. data/lib/atatus/internal_error.rb +17 -0
  38. data/lib/atatus/logging.rb +17 -2
  39. data/lib/atatus/metadata.rb +17 -0
  40. data/lib/atatus/metadata/process_info.rb +17 -0
  41. data/lib/atatus/metadata/service_info.rb +21 -6
  42. data/lib/atatus/metadata/system_info.rb +22 -3
  43. data/lib/atatus/metadata/system_info/container_info.rb +49 -10
  44. data/lib/atatus/metadata/system_info/hw_info.rb +1 -1
  45. data/lib/atatus/metrics.rb +69 -27
  46. data/lib/atatus/metrics/breakdown_set.rb +31 -0
  47. data/lib/atatus/metrics/{cpu_mem.rb → cpu_mem_set.rb} +110 -63
  48. data/lib/atatus/metrics/metric.rb +140 -0
  49. data/lib/atatus/metrics/set.rb +123 -0
  50. data/lib/atatus/metrics/span_scoped_set.rb +56 -0
  51. data/lib/atatus/metrics/transaction_set.rb +26 -0
  52. data/lib/atatus/metrics/vm_set.rb +58 -0
  53. data/lib/atatus/metricset.rb +48 -4
  54. data/lib/atatus/middleware.rb +28 -8
  55. data/lib/atatus/naively_hashable.rb +17 -0
  56. data/lib/atatus/normalizers.rb +23 -9
  57. data/lib/atatus/normalizers/grape.rb +22 -0
  58. data/lib/atatus/normalizers/grape/endpoint_run.rb +65 -0
  59. data/lib/atatus/normalizers/rails.rb +27 -0
  60. data/lib/atatus/normalizers/rails/action_controller.rb +44 -0
  61. data/lib/atatus/normalizers/rails/action_mailer.rb +43 -0
  62. data/lib/atatus/normalizers/{action_view.rb → rails/action_view.rb} +17 -0
  63. data/lib/atatus/normalizers/rails/active_record.rb +80 -0
  64. data/lib/atatus/opentracing.rb +75 -42
  65. data/lib/atatus/rails.rb +29 -13
  66. data/lib/atatus/railtie.rb +19 -6
  67. data/lib/atatus/resque.rb +29 -0
  68. data/lib/atatus/sinatra.rb +53 -0
  69. data/lib/atatus/span.rb +44 -15
  70. data/lib/atatus/span/context.rb +43 -28
  71. data/lib/atatus/span/context/db.rb +43 -0
  72. data/lib/atatus/span/context/destination.rb +77 -0
  73. data/lib/atatus/span/context/http.rb +43 -0
  74. data/lib/atatus/span_helpers.rb +18 -1
  75. data/lib/atatus/spies.rb +33 -15
  76. data/lib/atatus/spies/action_dispatch.rb +27 -6
  77. data/lib/atatus/spies/delayed_job.rb +26 -5
  78. data/lib/atatus/spies/dynamo_db.rb +62 -0
  79. data/lib/atatus/spies/elasticsearch.rb +53 -7
  80. data/lib/atatus/spies/faraday.rb +54 -20
  81. data/lib/atatus/spies/http.rb +36 -6
  82. data/lib/atatus/spies/json.rb +18 -0
  83. data/lib/atatus/spies/mongo.rb +41 -10
  84. data/lib/atatus/spies/net_http.rb +52 -11
  85. data/lib/atatus/spies/rake.rb +42 -23
  86. data/lib/atatus/spies/redis.rb +17 -0
  87. data/lib/atatus/spies/resque.rb +57 -0
  88. data/lib/atatus/spies/sequel.rb +54 -17
  89. data/lib/atatus/spies/shoryuken.rb +69 -0
  90. data/lib/atatus/spies/sidekiq.rb +46 -25
  91. data/lib/atatus/spies/sinatra.rb +20 -4
  92. data/lib/atatus/spies/sneakers.rb +74 -0
  93. data/lib/atatus/spies/sucker_punch.rb +58 -0
  94. data/lib/atatus/spies/tilt.rb +20 -1
  95. data/lib/atatus/sql.rb +36 -0
  96. data/lib/atatus/sql/signature.rb +169 -0
  97. data/lib/atatus/sql/tokenizer.rb +264 -0
  98. data/lib/atatus/sql/tokens.rb +63 -0
  99. data/lib/atatus/sql_summarizer.rb +24 -6
  100. data/lib/atatus/stacktrace.rb +17 -0
  101. data/lib/atatus/stacktrace/frame.rb +17 -3
  102. data/lib/atatus/stacktrace_builder.rb +23 -3
  103. data/lib/atatus/subscriber.rb +23 -4
  104. data/lib/atatus/trace_context.rb +84 -51
  105. data/lib/atatus/trace_context/traceparent.rb +111 -0
  106. data/lib/atatus/trace_context/tracestate.rb +148 -0
  107. data/lib/atatus/transaction.rb +74 -18
  108. data/lib/atatus/transport/base.rb +44 -27
  109. data/lib/atatus/transport/connection.rb +28 -72
  110. data/lib/atatus/transport/connection/http.rb +58 -35
  111. data/lib/atatus/transport/connection/proxy_pipe.rb +24 -5
  112. data/lib/atatus/transport/filters.rb +18 -1
  113. data/lib/atatus/transport/filters/hash_sanitizer.rb +77 -0
  114. data/lib/atatus/transport/filters/secrets_filter.rb +30 -55
  115. data/lib/atatus/transport/headers.rb +83 -0
  116. data/lib/atatus/transport/serializers.rb +17 -5
  117. data/lib/atatus/transport/serializers/context_serializer.rb +30 -3
  118. data/lib/atatus/transport/serializers/error_serializer.rb +17 -2
  119. data/lib/atatus/transport/serializers/metadata_serializer.rb +44 -22
  120. data/lib/atatus/transport/serializers/metricset_serializer.rb +34 -6
  121. data/lib/atatus/transport/serializers/span_serializer.rb +47 -12
  122. data/lib/atatus/transport/serializers/transaction_serializer.rb +18 -2
  123. data/lib/atatus/transport/user_agent.rb +48 -0
  124. data/lib/atatus/transport/worker.rb +31 -7
  125. data/lib/atatus/util.rb +18 -1
  126. data/lib/atatus/util/inflector.rb +17 -0
  127. data/lib/atatus/util/lru_cache.rb +17 -0
  128. data/lib/atatus/util/throttle.rb +17 -0
  129. data/lib/atatus/version.rb +19 -1
  130. metadata +46 -26
  131. data/Rakefile +0 -19
  132. data/bench/.gitignore +0 -2
  133. data/bench/app.rb +0 -53
  134. data/bench/benchmark.rb +0 -36
  135. data/bench/report.rb +0 -55
  136. data/bench/rubyprof.rb +0 -39
  137. data/bench/stackprof.rb +0 -23
  138. data/bin/build_docs +0 -5
  139. data/bin/console +0 -15
  140. data/bin/setup +0 -8
  141. data/bin/with_framework +0 -7
  142. data/lib/atatus/metrics/vm.rb +0 -60
  143. data/lib/atatus/normalizers/action_controller.rb +0 -27
  144. data/lib/atatus/normalizers/action_mailer.rb +0 -26
  145. data/lib/atatus/normalizers/active_record.rb +0 -45
  146. data/lib/atatus/util/prefixed_logger.rb +0 -18
  147. data/vendor/.gitkeep +0 -0
@@ -1,3 +1,20 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  # frozen_string_literal: true
2
19
 
3
20
  module Atatus
@@ -9,7 +26,6 @@ module Atatus
9
26
  @context_serializer ||= ContextSerializer.new(config)
10
27
  end
11
28
 
12
- # rubocop:disable Metrics/MethodLength, Metrics/AbcSize
13
29
  def build(transaction)
14
30
  {
15
31
  transaction: {
@@ -22,6 +38,7 @@ module Atatus
22
38
  duration: ms(transaction.duration),
23
39
  timestamp: transaction.timestamp,
24
40
  sampled: transaction.sampled?,
41
+ sample_rate: transaction.sample_rate,
25
42
  context: context_serializer.build(transaction.context),
26
43
  span_count: {
27
44
  started: transaction.started_spans,
@@ -30,7 +47,6 @@ module Atatus
30
47
  }
31
48
  }
32
49
  end
33
- # rubocop:enable Metrics/MethodLength, Metrics/AbcSize
34
50
  end
35
51
  end
36
52
  end
@@ -0,0 +1,48 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ # frozen_string_literal: true
19
+
20
+ module Atatus
21
+ module Transport
22
+ # @api private
23
+ class UserAgent
24
+ def initialize(config)
25
+ @built = build(config)
26
+ end
27
+
28
+ def to_s
29
+ @built
30
+ end
31
+
32
+ private
33
+
34
+ def build(config)
35
+ metadata = Metadata.new(config)
36
+
37
+ [
38
+ "atatus-ruby/#{VERSION}",
39
+ HTTP::Request::USER_AGENT,
40
+ [
41
+ metadata.service.runtime.name,
42
+ metadata.service.runtime.version
43
+ ].join('/')
44
+ ].join(' ')
45
+ end
46
+ end
47
+ end
48
+ end
@@ -1,3 +1,20 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  # frozen_string_literal: true
2
19
 
3
20
  module Atatus
@@ -6,6 +23,14 @@ module Atatus
6
23
  class Worker
7
24
  include Logging
8
25
 
26
+ class << self
27
+ def adapter
28
+ @adapter ||= Connection
29
+ end
30
+
31
+ attr_writer :adapter
32
+ end
33
+
9
34
  # @api private
10
35
  class StopMessage; end
11
36
 
@@ -16,8 +41,7 @@ module Atatus
16
41
  config,
17
42
  queue,
18
43
  serializers:,
19
- filters:,
20
- conn_adapter: Connection
44
+ filters:
21
45
  )
22
46
  @config = config
23
47
  @queue = queue
@@ -25,13 +49,10 @@ module Atatus
25
49
  @serializers = serializers
26
50
  @filters = filters
27
51
 
28
- metadata = serializers.serialize(Metadata.new(config))
29
- @connection = conn_adapter.new(config, metadata)
52
+ @connection = self.class.adapter.new(config)
30
53
  end
31
54
 
32
55
  attr_reader :queue, :filters, :name, :connection, :serializers
33
-
34
- # rubocop:disable Metrics/MethodLength
35
56
  def work_forever
36
57
  while (msg = queue.pop)
37
58
  case msg
@@ -47,7 +68,6 @@ module Atatus
47
68
  warn 'Worker died with exception: %s', e.inspect
48
69
  debug e.backtrace.join("\n")
49
70
  end
50
- # rubocop:enable Metrics/MethodLength
51
71
 
52
72
  def process(resource)
53
73
  return unless (json = serialize_and_filter(resource))
@@ -57,6 +77,10 @@ module Atatus
57
77
  private
58
78
 
59
79
  def serialize_and_filter(resource)
80
+ if resource.respond_to?(:prepare_for_serialization!)
81
+ resource.prepare_for_serialization!
82
+ end
83
+
60
84
  serialized = serializers.serialize(resource)
61
85
 
62
86
  # if a filter returns nil, it means skip the event
@@ -1,3 +1,20 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  # frozen_string_literal: true
2
19
 
3
20
  module Atatus
@@ -23,7 +40,7 @@ module Atatus
23
40
 
24
41
  def self.git_sha
25
42
  sha = `git rev-parse --verify HEAD 2>&1`.chomp
26
- $? && $?.success? ? sha : nil
43
+ $?&.success? ? sha : nil
27
44
  end
28
45
 
29
46
  def self.hex_to_bits(str)
@@ -1,3 +1,20 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  # frozen_string_literal: true
2
19
 
3
20
  module Atatus
@@ -1,3 +1,20 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  # frozen_string_literal: true
2
19
 
3
20
  module Atatus
@@ -1,3 +1,20 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  # frozen_string_literal: true
2
19
 
3
20
  module Atatus
@@ -1,5 +1,23 @@
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  # frozen_string_literal: true
2
19
 
3
20
  module Atatus
4
- VERSION = '1.3.0'
21
+ AGENT_NAME = 'Ruby'
22
+ VERSION = '1.4.0'
5
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atatus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Atatus
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-18 00:00:00.000000000 Z
11
+ date: 2020-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3.0'
41
- description:
41
+ description:
42
42
  email: success@atatus.com
43
43
  executables: []
44
44
  extensions: []
@@ -55,25 +55,16 @@ files:
55
55
  - LICENSE
56
56
  - LICENSE-THIRD-PARTY
57
57
  - README.md
58
- - Rakefile
59
58
  - atatus.gemspec
60
59
  - atatus.yml
61
- - bench/.gitignore
62
- - bench/app.rb
63
- - bench/benchmark.rb
64
- - bench/report.rb
65
- - bench/rubyprof.rb
66
- - bench/stackprof.rb
67
- - bin/build_docs
68
- - bin/console
69
- - bin/setup
70
- - bin/with_framework
71
60
  - lib/atatus.rb
72
61
  - lib/atatus/agent.rb
73
62
  - lib/atatus/central_config.rb
74
63
  - lib/atatus/central_config/cache_control.rb
64
+ - lib/atatus/child_durations.rb
75
65
  - lib/atatus/collector/base.rb
76
66
  - lib/atatus/collector/builder.rb
67
+ - lib/atatus/collector/hist.rb
77
68
  - lib/atatus/collector/layer.rb
78
69
  - lib/atatus/collector/transport.rb
79
70
  - lib/atatus/config.rb
@@ -81,6 +72,7 @@ files:
81
72
  - lib/atatus/config/duration.rb
82
73
  - lib/atatus/config/options.rb
83
74
  - lib/atatus/config/regexp_list.rb
75
+ - lib/atatus/config/wildcard_pattern_list.rb
84
76
  - lib/atatus/context.rb
85
77
  - lib/atatus/context/request.rb
86
78
  - lib/atatus/context/request/socket.rb
@@ -93,6 +85,9 @@ files:
93
85
  - lib/atatus/error/exception.rb
94
86
  - lib/atatus/error/log.rb
95
87
  - lib/atatus/error_builder.rb
88
+ - lib/atatus/grape.rb
89
+ - lib/atatus/graphql.rb
90
+ - lib/atatus/grpc.rb
96
91
  - lib/atatus/instrumenter.rb
97
92
  - lib/atatus/internal_error.rb
98
93
  - lib/atatus/logging.rb
@@ -104,25 +99,39 @@ files:
104
99
  - lib/atatus/metadata/system_info/hw_info.rb
105
100
  - lib/atatus/metadata/system_info/os_info.rb
106
101
  - lib/atatus/metrics.rb
107
- - lib/atatus/metrics/cpu_mem.rb
108
- - lib/atatus/metrics/vm.rb
102
+ - lib/atatus/metrics/breakdown_set.rb
103
+ - lib/atatus/metrics/cpu_mem_set.rb
104
+ - lib/atatus/metrics/metric.rb
105
+ - lib/atatus/metrics/set.rb
106
+ - lib/atatus/metrics/span_scoped_set.rb
107
+ - lib/atatus/metrics/transaction_set.rb
108
+ - lib/atatus/metrics/vm_set.rb
109
109
  - lib/atatus/metricset.rb
110
110
  - lib/atatus/middleware.rb
111
111
  - lib/atatus/naively_hashable.rb
112
112
  - lib/atatus/normalizers.rb
113
- - lib/atatus/normalizers/action_controller.rb
114
- - lib/atatus/normalizers/action_mailer.rb
115
- - lib/atatus/normalizers/action_view.rb
116
- - lib/atatus/normalizers/active_record.rb
113
+ - lib/atatus/normalizers/grape.rb
114
+ - lib/atatus/normalizers/grape/endpoint_run.rb
115
+ - lib/atatus/normalizers/rails.rb
116
+ - lib/atatus/normalizers/rails/action_controller.rb
117
+ - lib/atatus/normalizers/rails/action_mailer.rb
118
+ - lib/atatus/normalizers/rails/action_view.rb
119
+ - lib/atatus/normalizers/rails/active_record.rb
117
120
  - lib/atatus/opentracing.rb
118
121
  - lib/atatus/rails.rb
119
122
  - lib/atatus/railtie.rb
123
+ - lib/atatus/resque.rb
124
+ - lib/atatus/sinatra.rb
120
125
  - lib/atatus/span.rb
121
126
  - lib/atatus/span/context.rb
127
+ - lib/atatus/span/context/db.rb
128
+ - lib/atatus/span/context/destination.rb
129
+ - lib/atatus/span/context/http.rb
122
130
  - lib/atatus/span_helpers.rb
123
131
  - lib/atatus/spies.rb
124
132
  - lib/atatus/spies/action_dispatch.rb
125
133
  - lib/atatus/spies/delayed_job.rb
134
+ - lib/atatus/spies/dynamo_db.rb
126
135
  - lib/atatus/spies/elasticsearch.rb
127
136
  - lib/atatus/spies/faraday.rb
128
137
  - lib/atatus/spies/http.rb
@@ -131,23 +140,35 @@ files:
131
140
  - lib/atatus/spies/net_http.rb
132
141
  - lib/atatus/spies/rake.rb
133
142
  - lib/atatus/spies/redis.rb
143
+ - lib/atatus/spies/resque.rb
134
144
  - lib/atatus/spies/sequel.rb
145
+ - lib/atatus/spies/shoryuken.rb
135
146
  - lib/atatus/spies/sidekiq.rb
136
147
  - lib/atatus/spies/sinatra.rb
148
+ - lib/atatus/spies/sneakers.rb
149
+ - lib/atatus/spies/sucker_punch.rb
137
150
  - lib/atatus/spies/tilt.rb
151
+ - lib/atatus/sql.rb
152
+ - lib/atatus/sql/signature.rb
153
+ - lib/atatus/sql/tokenizer.rb
154
+ - lib/atatus/sql/tokens.rb
138
155
  - lib/atatus/sql_summarizer.rb
139
156
  - lib/atatus/stacktrace.rb
140
157
  - lib/atatus/stacktrace/frame.rb
141
158
  - lib/atatus/stacktrace_builder.rb
142
159
  - lib/atatus/subscriber.rb
143
160
  - lib/atatus/trace_context.rb
161
+ - lib/atatus/trace_context/traceparent.rb
162
+ - lib/atatus/trace_context/tracestate.rb
144
163
  - lib/atatus/transaction.rb
145
164
  - lib/atatus/transport/base.rb
146
165
  - lib/atatus/transport/connection.rb
147
166
  - lib/atatus/transport/connection/http.rb
148
167
  - lib/atatus/transport/connection/proxy_pipe.rb
149
168
  - lib/atatus/transport/filters.rb
169
+ - lib/atatus/transport/filters/hash_sanitizer.rb
150
170
  - lib/atatus/transport/filters/secrets_filter.rb
171
+ - lib/atatus/transport/headers.rb
151
172
  - lib/atatus/transport/serializers.rb
152
173
  - lib/atatus/transport/serializers/context_serializer.rb
153
174
  - lib/atatus/transport/serializers/error_serializer.rb
@@ -155,21 +176,20 @@ files:
155
176
  - lib/atatus/transport/serializers/metricset_serializer.rb
156
177
  - lib/atatus/transport/serializers/span_serializer.rb
157
178
  - lib/atatus/transport/serializers/transaction_serializer.rb
179
+ - lib/atatus/transport/user_agent.rb
158
180
  - lib/atatus/transport/worker.rb
159
181
  - lib/atatus/util.rb
160
182
  - lib/atatus/util/inflector.rb
161
183
  - lib/atatus/util/lru_cache.rb
162
- - lib/atatus/util/prefixed_logger.rb
163
184
  - lib/atatus/util/throttle.rb
164
185
  - lib/atatus/version.rb
165
- - vendor/.gitkeep
166
186
  homepage: https://www.atatus.com
167
187
  licenses:
168
188
  - Atatus
169
189
  metadata:
170
190
  changelog_uri: https://docs.atatus.com/docs/release-notes/ruby.html
171
- documentation_uri: https://docs.atatus.com/docs/application-monitoring/ruby-agent/rails.html
172
- post_install_message:
191
+ documentation_uri: https://docs.atatus.com/docs/application-monitoring/ruby-agent/overview.html
192
+ post_install_message:
173
193
  rdoc_options: []
174
194
  require_paths:
175
195
  - lib
@@ -185,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
205
  version: '0'
186
206
  requirements: []
187
207
  rubygems_version: 3.0.4
188
- signing_key:
208
+ signing_key:
189
209
  specification_version: 4
190
210
  summary: Atatus Ruby Agent
191
211
  test_files: []