newrelic-infinite_tracing 8.1.0 → 8.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44cf9ca54ac0bbec2f93528511ffe84f20af38f2e7669d32fc20266fdef48188
4
- data.tar.gz: dc92c94c41a933517de28de773d2ad1c6e41d7daae94744dae89e6c655e2d188
3
+ metadata.gz: 8a0b632dc4c2f6408a540026f4e17f50d4a663836cf4555c14f0b4ad05c46f1d
4
+ data.tar.gz: 24ac4186c322f9eff191ce11570b720031a13e134b2b0cc13bb3cf7881fc03c4
5
5
  SHA512:
6
- metadata.gz: a4662c4ecf8cfec9e7b5374968e05d73ce86b2fc9317d489e287018d559509d46a200b191a42e559b983f8857c014b488beed3daea9ee8655a5044489b767a1b
7
- data.tar.gz: 14bedf21c79b2d9e069172da926bd1bbc492042fa23346fe7d6bcf75e74bcda88e6c286a6a15c15605e5fe756c1b33180762a463aa8185743cffa88103ad5a3a
6
+ metadata.gz: 7ca3ae481be72963a908527b50edbe1b0d20c553f8c0f4acc6c2577d5dbca7fea06a7156df59ecc39190b0bbef2dfa0f254aeb47253c7bf1dfa77b8b6ad812df
7
+ data.tar.gz: 51d3cfc6a93d0d7f927eef9b639ba6cae979e80fea7136b04918f34d1ed01c8be0f1d4d74db5644bee013403aa17962ba98414f86198c828c91761014a4a1709
@@ -8,6 +8,9 @@ module NewRelic
8
8
  class Transaction
9
9
  class DatastoreSegment
10
10
  def record_span_event
11
+ # don't record a span event if the transaction is ignored
12
+ return if transaction.ignore?
13
+
11
14
  tracer = ::NewRelic::Agent.agent.infinite_tracer
12
15
  tracer << Proc.new { SpanEventPrimitive.for_datastore_segment self }
13
16
  end
@@ -8,6 +8,9 @@ module NewRelic
8
8
  class Transaction
9
9
  class ExternalRequestSegment
10
10
  def record_span_event
11
+ # don't record a span event if the transaction is ignored
12
+ return if transaction.ignore?
13
+
11
14
  tracer = ::NewRelic::Agent.agent.infinite_tracer
12
15
  tracer << Proc.new { SpanEventPrimitive.for_external_request_segment self }
13
16
  end
@@ -13,6 +13,9 @@ module NewRelic
13
13
  end
14
14
 
15
15
  def record_span_event
16
+ # don't record a span event if the transaction is ignored
17
+ return if transaction.ignore?
18
+
16
19
  tracer = ::NewRelic::Agent.agent.infinite_tracer
17
20
  tracer << Proc.new { SpanEventPrimitive.for_segment self }
18
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic-infinite_tracing
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.1.0
4
+ version: 8.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Huntsman
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-10-27 00:00:00.000000000 Z
13
+ date: 2021-11-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: newrelic_rpm
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 8.1.0
21
+ version: 8.2.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 8.1.0
28
+ version: 8.2.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: grpc
31
31
  requirement: !ruby/object:Gem::Requirement