elastic-apm 3.10.0 → 3.12.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.asciidoc +55 -0
  3. data/Gemfile +0 -3
  4. data/docs/api.asciidoc +2 -1
  5. data/docs/configuration.asciidoc +1 -0
  6. data/lib/elastic_apm.rb +14 -2
  7. data/lib/elastic_apm/config.rb +24 -6
  8. data/lib/elastic_apm/config/options.rb +2 -1
  9. data/lib/elastic_apm/config/round_float.rb +31 -0
  10. data/lib/elastic_apm/config/wildcard_pattern_list.rb +2 -0
  11. data/lib/elastic_apm/instrumenter.rb +10 -3
  12. data/lib/elastic_apm/metadata.rb +3 -1
  13. data/lib/elastic_apm/metadata/cloud_info.rb +128 -0
  14. data/lib/elastic_apm/middleware.rb +8 -3
  15. data/lib/elastic_apm/span.rb +16 -1
  16. data/lib/elastic_apm/spies/delayed_job.rb +6 -2
  17. data/lib/elastic_apm/spies/elasticsearch.rb +8 -2
  18. data/lib/elastic_apm/spies/faraday.rb +1 -0
  19. data/lib/elastic_apm/spies/http.rb +1 -0
  20. data/lib/elastic_apm/spies/mongo.rb +6 -2
  21. data/lib/elastic_apm/spies/net_http.rb +1 -0
  22. data/lib/elastic_apm/spies/rake.rb +4 -2
  23. data/lib/elastic_apm/spies/resque.rb +4 -2
  24. data/lib/elastic_apm/spies/sequel.rb +10 -1
  25. data/lib/elastic_apm/spies/shoryuken.rb +2 -0
  26. data/lib/elastic_apm/spies/sidekiq.rb +2 -0
  27. data/lib/elastic_apm/spies/sneakers.rb +2 -0
  28. data/lib/elastic_apm/spies/sucker_punch.rb +2 -0
  29. data/lib/elastic_apm/trace_context.rb +1 -1
  30. data/lib/elastic_apm/trace_context/traceparent.rb +2 -4
  31. data/lib/elastic_apm/trace_context/tracestate.rb +112 -9
  32. data/lib/elastic_apm/transaction.rb +39 -6
  33. data/lib/elastic_apm/transport/connection.rb +1 -0
  34. data/lib/elastic_apm/transport/filters/hash_sanitizer.rb +14 -15
  35. data/lib/elastic_apm/transport/filters/secrets_filter.rb +10 -6
  36. data/lib/elastic_apm/transport/serializers.rb +8 -6
  37. data/lib/elastic_apm/transport/serializers/metadata_serializer.rb +43 -3
  38. data/lib/elastic_apm/transport/serializers/span_serializer.rb +3 -1
  39. data/lib/elastic_apm/transport/serializers/transaction_serializer.rb +2 -0
  40. data/lib/elastic_apm/transport/user_agent.rb +3 -3
  41. data/lib/elastic_apm/transport/worker.rb +1 -0
  42. data/lib/elastic_apm/util.rb +2 -0
  43. data/lib/elastic_apm/util/deep_dup.rb +66 -0
  44. data/lib/elastic_apm/util/precision_validator.rb +46 -0
  45. data/lib/elastic_apm/version.rb +1 -1
  46. metadata +7 -3
@@ -18,5 +18,5 @@
18
18
  # frozen_string_literal: true
19
19
 
20
20
  module ElasticAPM
21
- VERSION = '3.10.0'
21
+ VERSION = '3.12.1'
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic-apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.10.0
4
+ version: 3.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikkel Malmberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-26 00:00:00.000000000 Z
11
+ date: 2020-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -128,6 +128,7 @@ files:
128
128
  - lib/elastic_apm/config/duration.rb
129
129
  - lib/elastic_apm/config/options.rb
130
130
  - lib/elastic_apm/config/regexp_list.rb
131
+ - lib/elastic_apm/config/round_float.rb
131
132
  - lib/elastic_apm/config/wildcard_pattern_list.rb
132
133
  - lib/elastic_apm/context.rb
133
134
  - lib/elastic_apm/context/request.rb
@@ -148,6 +149,7 @@ files:
148
149
  - lib/elastic_apm/internal_error.rb
149
150
  - lib/elastic_apm/logging.rb
150
151
  - lib/elastic_apm/metadata.rb
152
+ - lib/elastic_apm/metadata/cloud_info.rb
151
153
  - lib/elastic_apm/metadata/process_info.rb
152
154
  - lib/elastic_apm/metadata/service_info.rb
153
155
  - lib/elastic_apm/metadata/system_info.rb
@@ -233,8 +235,10 @@ files:
233
235
  - lib/elastic_apm/transport/user_agent.rb
234
236
  - lib/elastic_apm/transport/worker.rb
235
237
  - lib/elastic_apm/util.rb
238
+ - lib/elastic_apm/util/deep_dup.rb
236
239
  - lib/elastic_apm/util/inflector.rb
237
240
  - lib/elastic_apm/util/lru_cache.rb
241
+ - lib/elastic_apm/util/precision_validator.rb
238
242
  - lib/elastic_apm/util/throttle.rb
239
243
  - lib/elastic_apm/version.rb
240
244
  homepage: https://github.com/elastic/apm-agent-ruby
@@ -257,7 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
257
261
  - !ruby/object:Gem::Version
258
262
  version: '0'
259
263
  requirements: []
260
- rubygems_version: 3.1.2
264
+ rubygems_version: 3.1.4
261
265
  signing_key:
262
266
  specification_version: 4
263
267
  summary: The official Elastic APM agent for Ruby