instana 1.215.0 → 1.215.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.tekton/.currency/resources/table.json +13 -13
- data/instana.gemspec +2 -0
- data/lib/instana/backend/host_agent.rb +5 -1
- data/lib/instana/version.rb +1 -1
- data/test/backend/host_agent_test.rb +2 -0
- data/test/tracing/span_test.rb +2 -2
- data/test/tracing/tracer_test.rb +1 -3
- metadata +30 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7087be480ee9027905afc8e29781253aa34e13fda02dec5607840d61cb4699c0
|
4
|
+
data.tar.gz: c73ad67e15ec9a21051f888ac443f35a39f2e9e9e7c1efeb3bd0824a41bdaad3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d09eb59acb9156a0cd5bbd85390406b7da1a72e9bc8692b2084feee186b6c723de72f34218520909226b0b7aa48eeb96708673fd514f8e7ebdc9ad24c84542a
|
7
|
+
data.tar.gz: 1b79ce75d861bcb005ccf46d18d61673faa194be298e5cbfb95ce6fb0a9f503a60c4709fed85b5ab295468c19674005d3ec7e3afda57a03704ab89788013999d
|
@@ -8,19 +8,19 @@
|
|
8
8
|
},
|
9
9
|
{
|
10
10
|
"Package name": "Rack",
|
11
|
-
"Support Policy": "
|
11
|
+
"Support Policy": "45-days",
|
12
12
|
"Beta version": "No",
|
13
13
|
"Cloud Native": "No"
|
14
14
|
},
|
15
15
|
{
|
16
16
|
"Package name": "Rails",
|
17
|
-
"Support Policy": "
|
17
|
+
"Support Policy": "45-days",
|
18
18
|
"Beta version": "No",
|
19
19
|
"Cloud Native": "No"
|
20
20
|
},
|
21
21
|
{
|
22
22
|
"Package name": "Rails::API",
|
23
|
-
"Support Policy": "
|
23
|
+
"Support Policy": "45-days",
|
24
24
|
"Beta version": "No",
|
25
25
|
"Cloud Native": "No"
|
26
26
|
},
|
@@ -32,61 +32,61 @@
|
|
32
32
|
},
|
33
33
|
{
|
34
34
|
"Package name": "Roda",
|
35
|
-
"Support Policy": "
|
35
|
+
"Support Policy": "45-days",
|
36
36
|
"Beta version": "No",
|
37
37
|
"Cloud Native": "No"
|
38
38
|
},
|
39
39
|
{
|
40
40
|
"Package name": "Sinatra",
|
41
|
-
"Support Policy": "
|
41
|
+
"Support Policy": "45-days",
|
42
42
|
"Beta version": "No",
|
43
43
|
"Cloud Native": "No"
|
44
44
|
},
|
45
45
|
{
|
46
46
|
"Package name": "Excon",
|
47
|
-
"Support Policy": "
|
47
|
+
"Support Policy": "45-days",
|
48
48
|
"Beta version": "No",
|
49
49
|
"Cloud Native": "Yes"
|
50
50
|
},
|
51
51
|
{
|
52
52
|
"Package name": "gRPC",
|
53
|
-
"Support Policy": "
|
53
|
+
"Support Policy": "45-days",
|
54
54
|
"Beta version": "No",
|
55
55
|
"Cloud Native": "No"
|
56
56
|
},
|
57
57
|
{
|
58
58
|
"Package name": "Net::HTTP",
|
59
59
|
"Support Policy": "0-day",
|
60
|
-
"Beta version": "
|
60
|
+
"Beta version": "Yes",
|
61
61
|
"Cloud Native": "No"
|
62
62
|
},
|
63
63
|
{
|
64
64
|
"Package name": "Rest-Client",
|
65
|
-
"Support Policy": "
|
65
|
+
"Support Policy": "45-days",
|
66
66
|
"Beta version": "No",
|
67
67
|
"Cloud Native": "No"
|
68
68
|
},
|
69
69
|
{
|
70
70
|
"Package name": "Dalli",
|
71
|
-
"Support Policy": "
|
71
|
+
"Support Policy": "45-days",
|
72
72
|
"Beta version": "No",
|
73
73
|
"Cloud Native": "No"
|
74
74
|
},
|
75
75
|
{
|
76
76
|
"Package name": "Resque",
|
77
|
-
"Support Policy": "
|
77
|
+
"Support Policy": "45-days",
|
78
78
|
"Beta version": "No",
|
79
79
|
"Cloud Native": "Yes"
|
80
80
|
},
|
81
81
|
{
|
82
82
|
"Package name": "Sidekiq",
|
83
|
-
"Support Policy": "
|
83
|
+
"Support Policy": "45-days",
|
84
84
|
"Beta version": "No",
|
85
85
|
"Cloud Native": "Yes"
|
86
86
|
},
|
87
87
|
{
|
88
88
|
"Package name": "GraphQL",
|
89
|
-
"Support Policy": "
|
89
|
+
"Support Policy": "45-days",
|
90
90
|
"Beta version": "No",
|
91
91
|
"Cloud Native": "Yes"
|
92
92
|
}
|
data/instana.gemspec
CHANGED
@@ -40,7 +40,9 @@ Gem::Specification.new do |spec|
|
|
40
40
|
spec.add_development_dependency "appraisal"
|
41
41
|
spec.add_development_dependency "fakefs"
|
42
42
|
|
43
|
+
spec.add_runtime_dependency('base64', '>= 0.1')
|
43
44
|
spec.add_runtime_dependency('concurrent-ruby', '>= 1.1')
|
45
|
+
spec.add_runtime_dependency('csv', '>= 0.1')
|
44
46
|
spec.add_runtime_dependency('sys-proctable', '>= 1.2.2')
|
45
47
|
spec.add_runtime_dependency('oj', '>=3.0.11') unless RUBY_PLATFORM =~ /java/i
|
46
48
|
end
|
@@ -28,7 +28,11 @@ module Instana
|
|
28
28
|
|
29
29
|
def announce
|
30
30
|
@client = until_not_nil { HostAgentLookup.new.call }
|
31
|
-
|
31
|
+
begin
|
32
|
+
@discovery.send(:observers)&.send(:notify_and_delete_observers, Time.now, nil, nil)
|
33
|
+
ensure
|
34
|
+
@discovery.delete_observers
|
35
|
+
end
|
32
36
|
@discovery
|
33
37
|
.with_observer(HostAgentActivationObserver.new(@client, @discovery))
|
34
38
|
.with_observer(HostAgentReportingObserver.new(@client, @discovery))
|
data/lib/instana/version.rb
CHANGED
@@ -32,6 +32,8 @@ class HostAgentTest < Minitest::Test
|
|
32
32
|
|
33
33
|
discovery = Minitest::Mock.new
|
34
34
|
discovery.expect(:delete_observers, discovery, [])
|
35
|
+
discovery.expect(:observers, discovery, [])
|
36
|
+
discovery.expect(:notify_and_delete_observers, discovery, [Object, nil, nil])
|
35
37
|
discovery.expect(:with_observer, discovery, [Instana::Backend::HostAgentActivationObserver])
|
36
38
|
discovery.expect(:with_observer, discovery, [Instana::Backend::HostAgentReportingObserver])
|
37
39
|
discovery.expect(:swap, discovery, [])
|
data/test/tracing/span_test.rb
CHANGED
@@ -9,8 +9,8 @@ class SpanTest < Minitest::Test
|
|
9
9
|
|
10
10
|
assert_equal span[:s], span.id
|
11
11
|
assert_equal span[:t], span.trace_id
|
12
|
-
|
13
|
-
|
12
|
+
assert_nil span[:p] # parent_id of a root span is nil
|
13
|
+
assert_nil span[:d] # duration of an open span is nil
|
14
14
|
|
15
15
|
span.parent_id = 'test'
|
16
16
|
assert_equal 'test', span.parent_id
|
data/test/tracing/tracer_test.rb
CHANGED
@@ -51,9 +51,7 @@ class TracerTest < Minitest::Test
|
|
51
51
|
|
52
52
|
assert_equal false, ::Instana.tracer.tracing?
|
53
53
|
|
54
|
-
|
55
|
-
r = Resolv::DNS.new
|
56
|
-
ipv4 = r.getaddress("www.pwpush.com")
|
54
|
+
ipv4 = '111.111.111.111'
|
57
55
|
|
58
56
|
::Instana.tracer.start_or_continue_trace(:rack, {:ipaddr => ipv4}) do
|
59
57
|
assert_equal true, ::Instana.tracer.tracing?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.215.
|
4
|
+
version: 1.215.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Giacomo Lombardo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: base64
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.1'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.1'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: concurrent-ruby
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +108,20 @@ dependencies:
|
|
94
108
|
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '1.1'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: csv
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0.1'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.1'
|
97
125
|
- !ruby/object:Gem::Dependency
|
98
126
|
name: sys-proctable
|
99
127
|
requirement: !ruby/object:Gem::Requirement
|