hypertrace-agent 0.1.2 → 0.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: 0f4e3af544ca2b87293959ce1bf8e81eaea8581e0447d4a2fd4767a3f208d4bd
4
- data.tar.gz: beb4a87a206b3f8fc4994c0577dfd8dda6db6d479493f063623bf5d5c967bbb8
3
+ metadata.gz: 72fe004f0d8ec3f2a5f268089a2c2d4a170e521b7e2de9da7129c712d1b8b9bc
4
+ data.tar.gz: a5349884ebdf574e31f88bb21af8be74fd89eec03c063ccebebadafb88dfc6f4
5
5
  SHA512:
6
- metadata.gz: 3d22245c00b22746c8cb3addae5d48def9a719e9b0a92aa82e5cafdb397348c047b2466856afe6f05e55f06196fb3be0bbdce349087a0a346fc796f9075af708
7
- data.tar.gz: 4058fc87586fce6f5f75ba57d16e9b2a68ff25577d33b8dc3af4e9483123d4a6032698594a393afc1ec6017c9da6bf0c3cc928b642ce5d0ff6dbec7852870b93
6
+ metadata.gz: ce385e7fd27ea6c409535d36959a8dc192c1e685139638400e9ae49219b66bfe1f73e48c66062bcd7e9775bac8e7258cb5ba1d2944d9eba0036522c9762f4258
7
+ data.tar.gz: 6d62d34ad83f77f4f70d19483e6b77eed963fccd63f85bc3ac1f72a118d697cabef0aef21cd8586f01acf25384938dda02f39a070773b195e375df0ac3e2330d
@@ -3,6 +3,9 @@ module OpenTelemetry::Instrumentation::Net::HTTP::Patches::Instrumentation
3
3
  # Do not trace recursive call for starting the connection
4
4
  return super(req, body, &block) unless started?
5
5
 
6
+ # Prevent tracing our own export calls
7
+ return super(req, body, &block) if req.path == "/v1/traces"
8
+
6
9
  scheme = use_ssl? ? "https://" : "http"
7
10
  url = "#{scheme}#{@address}:#{@port}#{req.path}"
8
11
  attributes = {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Hypertrace
4
- VERSION = "0.1.2"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hypertrace-agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - prodion23
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-18 00:00:00.000000000 Z
11
+ date: 2024-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.21.7
19
+ version: 3.25.2
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: 3.21.7
26
+ version: 3.25.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: opentelemetry-api
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -274,14 +274,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
274
274
  requirements:
275
275
  - - ">="
276
276
  - !ruby/object:Gem::Version
277
- version: 2.6.0
277
+ version: 2.7.0
278
278
  required_rubygems_version: !ruby/object:Gem::Requirement
279
279
  requirements:
280
280
  - - ">="
281
281
  - !ruby/object:Gem::Version
282
282
  version: '0'
283
283
  requirements: []
284
- rubygems_version: 3.1.6
284
+ rubygems_version: 3.2.3
285
285
  signing_key:
286
286
  specification_version: 4
287
287
  summary: Write a short summary, because RubyGems requires one.