elastic-apm 3.6.0 → 3.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/.ci/Jenkinsfile +72 -32
  3. data/.ci/downstreamTests.groovy +27 -20
  4. data/.ci/jobs/defaults.yml +1 -1
  5. data/.rubocop.yml +3 -0
  6. data/CHANGELOG.asciidoc +27 -0
  7. data/Gemfile +18 -0
  8. data/Rakefile +28 -1
  9. data/docs/configuration.asciidoc +80 -16
  10. data/docs/getting-started-rails.asciidoc +2 -0
  11. data/docs/images/dynamic-config.svg +1 -0
  12. data/docs/index.asciidoc +2 -1
  13. data/docs/introduction.asciidoc +2 -1
  14. data/docs/performance-tuning.asciidoc +106 -0
  15. data/docs/set-up.asciidoc +5 -2
  16. data/docs/supported-technologies.asciidoc +16 -0
  17. data/elastic-apm.gemspec +17 -0
  18. data/lib/elastic-apm.rb +17 -0
  19. data/lib/elastic_apm.rb +18 -1
  20. data/lib/elastic_apm/agent.rb +48 -2
  21. data/lib/elastic_apm/central_config.rb +27 -8
  22. data/lib/elastic_apm/central_config/cache_control.rb +17 -0
  23. data/lib/elastic_apm/child_durations.rb +17 -0
  24. data/lib/elastic_apm/config.rb +47 -2
  25. data/lib/elastic_apm/config/bytes.rb +17 -0
  26. data/lib/elastic_apm/config/duration.rb +17 -0
  27. data/lib/elastic_apm/config/options.rb +18 -1
  28. data/lib/elastic_apm/config/regexp_list.rb +17 -0
  29. data/lib/elastic_apm/config/wildcard_pattern_list.rb +17 -0
  30. data/lib/elastic_apm/context.rb +17 -0
  31. data/lib/elastic_apm/context/request.rb +17 -0
  32. data/lib/elastic_apm/context/request/socket.rb +17 -0
  33. data/lib/elastic_apm/context/request/url.rb +17 -0
  34. data/lib/elastic_apm/context/response.rb +17 -0
  35. data/lib/elastic_apm/context/user.rb +17 -0
  36. data/lib/elastic_apm/context_builder.rb +17 -0
  37. data/lib/elastic_apm/deprecations.rb +17 -0
  38. data/lib/elastic_apm/error.rb +17 -0
  39. data/lib/elastic_apm/error/exception.rb +17 -0
  40. data/lib/elastic_apm/error/log.rb +17 -0
  41. data/lib/elastic_apm/error_builder.rb +17 -0
  42. data/lib/elastic_apm/grape.rb +17 -0
  43. data/lib/elastic_apm/graphql.rb +17 -0
  44. data/lib/elastic_apm/grpc.rb +17 -0
  45. data/lib/elastic_apm/instrumenter.rb +29 -4
  46. data/lib/elastic_apm/internal_error.rb +17 -0
  47. data/lib/elastic_apm/logging.rb +17 -0
  48. data/lib/elastic_apm/metadata.rb +17 -0
  49. data/lib/elastic_apm/metadata/process_info.rb +17 -0
  50. data/lib/elastic_apm/metadata/service_info.rb +17 -0
  51. data/lib/elastic_apm/metadata/system_info.rb +17 -0
  52. data/lib/elastic_apm/metadata/system_info/container_info.rb +17 -0
  53. data/lib/elastic_apm/metrics.rb +33 -1
  54. data/lib/elastic_apm/metrics/breakdown_set.rb +17 -0
  55. data/lib/elastic_apm/metrics/cpu_mem_set.rb +17 -0
  56. data/lib/elastic_apm/metrics/metric.rb +17 -0
  57. data/lib/elastic_apm/metrics/set.rb +17 -0
  58. data/lib/elastic_apm/metrics/span_scoped_set.rb +17 -0
  59. data/lib/elastic_apm/metrics/transaction_set.rb +17 -0
  60. data/lib/elastic_apm/metrics/vm_set.rb +17 -0
  61. data/lib/elastic_apm/metricset.rb +17 -0
  62. data/lib/elastic_apm/middleware.rb +17 -0
  63. data/lib/elastic_apm/naively_hashable.rb +17 -0
  64. data/lib/elastic_apm/normalizers.rb +17 -0
  65. data/lib/elastic_apm/normalizers/grape.rb +17 -0
  66. data/lib/elastic_apm/normalizers/grape/endpoint_run.rb +18 -1
  67. data/lib/elastic_apm/normalizers/rails.rb +17 -0
  68. data/lib/elastic_apm/normalizers/rails/action_controller.rb +17 -0
  69. data/lib/elastic_apm/normalizers/rails/action_mailer.rb +17 -0
  70. data/lib/elastic_apm/normalizers/rails/action_view.rb +17 -0
  71. data/lib/elastic_apm/normalizers/rails/active_record.rb +17 -0
  72. data/lib/elastic_apm/opentracing.rb +17 -0
  73. data/lib/elastic_apm/rails.rb +17 -0
  74. data/lib/elastic_apm/railtie.rb +17 -0
  75. data/lib/elastic_apm/resque.rb +17 -0
  76. data/lib/elastic_apm/sinatra.rb +17 -0
  77. data/lib/elastic_apm/span.rb +17 -0
  78. data/lib/elastic_apm/span/context.rb +17 -0
  79. data/lib/elastic_apm/span/context/db.rb +17 -0
  80. data/lib/elastic_apm/span/context/destination.rb +17 -0
  81. data/lib/elastic_apm/span/context/http.rb +17 -0
  82. data/lib/elastic_apm/span_helpers.rb +17 -0
  83. data/lib/elastic_apm/spies.rb +17 -0
  84. data/lib/elastic_apm/spies/action_dispatch.rb +17 -0
  85. data/lib/elastic_apm/spies/delayed_job.rb +17 -0
  86. data/lib/elastic_apm/spies/elasticsearch.rb +17 -0
  87. data/lib/elastic_apm/spies/faraday.rb +17 -0
  88. data/lib/elastic_apm/spies/http.rb +17 -0
  89. data/lib/elastic_apm/spies/json.rb +17 -0
  90. data/lib/elastic_apm/spies/mongo.rb +17 -0
  91. data/lib/elastic_apm/spies/net_http.rb +17 -0
  92. data/lib/elastic_apm/spies/rake.rb +17 -0
  93. data/lib/elastic_apm/spies/redis.rb +17 -0
  94. data/lib/elastic_apm/spies/resque.rb +19 -9
  95. data/lib/elastic_apm/spies/sequel.rb +17 -0
  96. data/lib/elastic_apm/spies/shoryuken.rb +17 -0
  97. data/lib/elastic_apm/spies/sidekiq.rb +17 -0
  98. data/lib/elastic_apm/spies/sinatra.rb +17 -0
  99. data/lib/elastic_apm/spies/sneakers.rb +17 -0
  100. data/lib/elastic_apm/spies/sucker_punch.rb +54 -0
  101. data/lib/elastic_apm/spies/tilt.rb +17 -0
  102. data/lib/elastic_apm/sql.rb +17 -0
  103. data/lib/elastic_apm/sql/signature.rb +17 -0
  104. data/lib/elastic_apm/sql/tokenizer.rb +17 -0
  105. data/lib/elastic_apm/sql/tokens.rb +17 -0
  106. data/lib/elastic_apm/sql_summarizer.rb +17 -0
  107. data/lib/elastic_apm/stacktrace.rb +17 -0
  108. data/lib/elastic_apm/stacktrace/frame.rb +17 -0
  109. data/lib/elastic_apm/stacktrace_builder.rb +17 -0
  110. data/lib/elastic_apm/subscriber.rb +17 -0
  111. data/lib/elastic_apm/trace_context.rb +17 -0
  112. data/lib/elastic_apm/trace_context/traceparent.rb +17 -0
  113. data/lib/elastic_apm/trace_context/tracestate.rb +17 -0
  114. data/lib/elastic_apm/transaction.rb +33 -5
  115. data/lib/elastic_apm/transport/base.rb +39 -23
  116. data/lib/elastic_apm/transport/connection.rb +17 -0
  117. data/lib/elastic_apm/transport/connection/http.rb +17 -0
  118. data/lib/elastic_apm/transport/connection/proxy_pipe.rb +22 -0
  119. data/lib/elastic_apm/transport/filters.rb +17 -0
  120. data/lib/elastic_apm/transport/filters/secrets_filter.rb +17 -0
  121. data/lib/elastic_apm/transport/headers.rb +17 -0
  122. data/lib/elastic_apm/transport/serializers.rb +17 -0
  123. data/lib/elastic_apm/transport/serializers/context_serializer.rb +17 -0
  124. data/lib/elastic_apm/transport/serializers/error_serializer.rb +17 -0
  125. data/lib/elastic_apm/transport/serializers/metadata_serializer.rb +17 -0
  126. data/lib/elastic_apm/transport/serializers/metricset_serializer.rb +17 -0
  127. data/lib/elastic_apm/transport/serializers/span_serializer.rb +17 -0
  128. data/lib/elastic_apm/transport/serializers/transaction_serializer.rb +17 -0
  129. data/lib/elastic_apm/transport/user_agent.rb +17 -0
  130. data/lib/elastic_apm/transport/worker.rb +17 -0
  131. data/lib/elastic_apm/util.rb +17 -0
  132. data/lib/elastic_apm/util/inflector.rb +17 -0
  133. data/lib/elastic_apm/util/lru_cache.rb +17 -0
  134. data/lib/elastic_apm/util/throttle.rb +17 -0
  135. data/lib/elastic_apm/version.rb +18 -1
  136. metadata +5 -5
  137. data/.ci/prepare-git-context.sh +0 -27
  138. data/codecov.yml +0 -32
@@ -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
  require 'elastic_apm/config/options'
@@ -19,7 +36,6 @@ module ElasticAPM
19
36
  option :secret_token, type: :string
20
37
  option :api_key, type: :string
21
38
 
22
- option :active, type: :bool, default: true
23
39
  option :api_buffer_size, type: :int, default: 256
24
40
  option :api_request_size, type: :bytes, default: '750kb', converter: Bytes.new
25
41
  option :api_request_time, type: :float, default: '10s', converter: Duration.new
@@ -38,6 +54,7 @@ module ElasticAPM
38
54
  option :disable_start_message, type: :bool, default: false
39
55
  option :disable_instrumentations, type: :list, default: %w[json]
40
56
  option :disabled_spies, type: :list, default: []
57
+ option :enabled, type: :bool, default: true
41
58
  option :environment, type: :string, default: ENV['RAILS_ENV'] || ENV['RACK_ENV']
42
59
  option :framework_name, type: :string
43
60
  option :framework_version, type: :string
@@ -57,6 +74,7 @@ module ElasticAPM
57
74
  option :proxy_password, type: :string
58
75
  option :proxy_port, type: :int
59
76
  option :proxy_username, type: :string
77
+ option :recording, type: :bool, default: true
60
78
  option :sanitize_field_names, type: :list, default: [], converter: WildcardPatternList.new
61
79
  option :server_ca_cert, type: :string
62
80
  option :service_name, type: :string
@@ -125,6 +143,7 @@ module ElasticAPM
125
143
  sidekiq
126
144
  sinatra
127
145
  sneakers
146
+ sucker_punch
128
147
  tilt
129
148
  ]
130
149
  end
@@ -138,6 +157,16 @@ module ElasticAPM
138
157
  warn "The option `#{name}' has been removed."
139
158
  end
140
159
 
160
+ def replace_options(new_options)
161
+ return unless new_options
162
+ options_copy = @options.dup
163
+ new_options.each do |key, value|
164
+ options_copy.fetch(key.to_sym).set(value)
165
+ end
166
+ @options = options_copy
167
+ set_log_level(logger)
168
+ end
169
+
141
170
  def app=(app)
142
171
  case app_type?(app)
143
172
  when :sinatra
@@ -216,6 +245,11 @@ module ElasticAPM
216
245
  disable_instrumentations
217
246
  end
218
247
 
248
+ def active
249
+ enabled
250
+ end
251
+ alias active? active
252
+
219
253
  def disabled_instrumentations=(value)
220
254
  warn '[DEPRECATED] The option disabled_instrumentations has been ' \
221
255
  'renamed to disable_instrumentations to align with other agents.'
@@ -227,6 +261,12 @@ module ElasticAPM
227
261
  'use use_legacy_sql_parser and please report why you wish to do so.'
228
262
  end
229
263
 
264
+ def active=(value)
265
+ warn '[DEPRECATED] The option active has been renamed to enabled ' \
266
+ 'to align with other agents and with the remote config.'
267
+ self.enabled = value
268
+ end
269
+
230
270
  private
231
271
 
232
272
  def load_config_file
@@ -246,10 +286,15 @@ module ElasticAPM
246
286
 
247
287
  def build_logger
248
288
  Logger.new(log_path == '-' ? STDOUT : log_path).tap do |logger|
249
- logger.level = log_level
289
+ set_log_level(logger)
250
290
  end
251
291
  end
252
292
 
293
+ def set_log_level(logger)
294
+ return unless logger
295
+ logger.level = log_level
296
+ end
297
+
253
298
  def app_type?(app)
254
299
  if defined?(::Rails::Application) && app.is_a?(::Rails::Application)
255
300
  return :rails
@@ -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 ElasticAPM
@@ -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 ElasticAPM
@@ -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 ElasticAPM
@@ -35,7 +52,7 @@ module ElasticAPM
35
52
 
36
53
  # rubocop:disable Metrics/CyclomaticComplexity
37
54
  def normalize(val)
38
- return unless val
55
+ return if val.nil?
39
56
 
40
57
  if @converter
41
58
  return @converter.call(val)
@@ -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 ElasticAPM
@@ -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 ElasticAPM
@@ -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
  require 'elastic_apm/context/request'
@@ -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 ElasticAPM
@@ -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 ElasticAPM
@@ -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 ElasticAPM
@@ -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 ElasticAPM
@@ -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 ElasticAPM
@@ -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 ElasticAPM
@@ -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 ElasticAPM
@@ -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
  require 'elastic_apm/stacktrace'
@@ -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 ElasticAPM
@@ -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 ElasticAPM