instana 1.209.0.pre1 → 1.209.0.pre2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 579fd0682a5f684184c9a916d2bbb03cd080ff4cdedf566518ae62b4485f9dc5
|
4
|
+
data.tar.gz: 6530042c84f14c495ad31b2bc55d6840935b58bcafb211e4fde30b6bc72c241e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a4e3cf400528959af43933f0a3c0c6f19d8e856bf01b77c0031640bd552b4e00165b6a3c49628fe1bf1877d633b7abcde42bc010032ee1e32e4eb42b31cf29e
|
7
|
+
data.tar.gz: 98b0616dcb9e649d6563120e640e6ece098d4d8a918c5df97abeda3ac58122b50559bf57fed13b42d9e5e3e7ba79ebf4be225ef7b996fec4516adb865d7363d0
|
data/.circleci/config.yml
CHANGED
@@ -1,21 +1,6 @@
|
|
1
1
|
version: 2.1
|
2
2
|
|
3
3
|
executors:
|
4
|
-
ruby_25:
|
5
|
-
docker:
|
6
|
-
- image: circleci/ruby:2.5-node
|
7
|
-
environment:
|
8
|
-
MEMCACHED_HOST: '127.0.0.1:11211'
|
9
|
-
REDIS_URL: 'redis://127.0.0.1:6379'
|
10
|
-
DATABASE_URL: 'sqlite3::memory:'
|
11
|
-
- image: memcached
|
12
|
-
- image: redis
|
13
|
-
- image: circleci/dynamodb
|
14
|
-
- image: minio/minio:latest
|
15
|
-
command: ["server", "/data"]
|
16
|
-
- image: s12v/sns
|
17
|
-
- image: softwaremill/elasticmq-native
|
18
|
-
- image: circleci/mongo:5-focal-ram
|
19
4
|
ruby_26:
|
20
5
|
docker:
|
21
6
|
- image: circleci/ruby:2.6-node
|
@@ -46,19 +31,6 @@ executors:
|
|
46
31
|
- image: s12v/sns
|
47
32
|
- image: softwaremill/elasticmq-native
|
48
33
|
- image: circleci/mongo:5-focal-ram
|
49
|
-
ruby_25_mysql2:
|
50
|
-
docker:
|
51
|
-
- image: circleci/ruby:2.5-node
|
52
|
-
environment:
|
53
|
-
DATABASE_URL: "mysql2://root@127.0.0.1:3306/ci_test"
|
54
|
-
- image: mariadb
|
55
|
-
environment:
|
56
|
-
MYSQL_DATABASE: 'ci_test'
|
57
|
-
MYSQL_USER: 'root'
|
58
|
-
MYSQL_PASSWORD: ''
|
59
|
-
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
|
60
|
-
MYSQL_ROOT_PASSWORD: ''
|
61
|
-
MYSQL_ROOT_HOST: '%'
|
62
34
|
ruby_26_mysql2:
|
63
35
|
docker:
|
64
36
|
- image: circleci/ruby:2.6-node
|
@@ -85,15 +57,6 @@ executors:
|
|
85
57
|
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
|
86
58
|
MYSQL_ROOT_PASSWORD: ''
|
87
59
|
MYSQL_ROOT_HOST: '%'
|
88
|
-
ruby_25_postgres:
|
89
|
-
docker:
|
90
|
-
- image: circleci/ruby:2.6-node
|
91
|
-
environment:
|
92
|
-
DATABASE_URL: "postgres://postgres:test@127.0.0.1:5432/ci_test"
|
93
|
-
- image: postgres
|
94
|
-
environment:
|
95
|
-
POSTGRES_PASSWORD: 'test'
|
96
|
-
POSTGRES_DB: 'ci_test'
|
97
60
|
ruby_26_postgres:
|
98
61
|
docker:
|
99
62
|
- image: circleci/ruby:2.6-node
|
@@ -251,7 +214,6 @@ workflows:
|
|
251
214
|
stack:
|
252
215
|
- ruby_27
|
253
216
|
- ruby_26
|
254
|
-
- ruby_25
|
255
217
|
libraries:
|
256
218
|
jobs:
|
257
219
|
- test_apprisal:
|
@@ -260,7 +222,6 @@ workflows:
|
|
260
222
|
stack:
|
261
223
|
- ruby_27
|
262
224
|
- ruby_26
|
263
|
-
- ruby_25
|
264
225
|
gemfile:
|
265
226
|
- "./gemfiles/aws_30.gemfile"
|
266
227
|
- "./gemfiles/cuba_30.gemfile"
|
@@ -292,13 +253,10 @@ workflows:
|
|
292
253
|
stack:
|
293
254
|
- ruby_27
|
294
255
|
- ruby_26
|
295
|
-
- ruby_25
|
296
256
|
- ruby_27_postgres
|
297
257
|
- ruby_26_postgres
|
298
|
-
- ruby_25_postgres
|
299
258
|
- ruby_27_mysql2
|
300
259
|
- ruby_26_mysql2
|
301
|
-
- ruby_25_mysql2
|
302
260
|
gemfile:
|
303
261
|
- "./gemfiles/rails_60.gemfile"
|
304
262
|
- "./gemfiles/rails_52.gemfile"
|
@@ -34,6 +34,8 @@ module Instana
|
|
34
34
|
raise DiscoveryError, "Discovery response was #{discovery_response.code} with `#{payload}`." unless discovery_response.ok?
|
35
35
|
|
36
36
|
discovery = discovery_response.json
|
37
|
+
raise DiscoveryError, "Expected discovery to be a Hash, not a `#{discovery.class}`." unless discovery.is_a?(Hash)
|
38
|
+
|
37
39
|
@logger.debug("Discovery complete (`#{discovery}`). Waiting for agent.")
|
38
40
|
wait_for_backend(discovery['pid'])
|
39
41
|
@logger.debug("Agent ready.")
|
data/lib/instana/base.rb
CHANGED
data/lib/instana/version.rb
CHANGED
data/lib/instana.rb
CHANGED
@@ -16,5 +16,7 @@ require 'instana/setup'
|
|
16
16
|
unless ENV.fetch('INSTANA_DISABLE', false)
|
17
17
|
::Instana::Activator.start
|
18
18
|
::Instana.agent.spawn_background_thread
|
19
|
+
|
20
|
+
::Instana.logger.info "Stan is on the scene. Starting Instana instrumentation version #{::Instana::VERSION}"
|
19
21
|
end
|
20
22
|
# :nocov:
|
@@ -12,6 +12,7 @@ class HostAgentActivationObserverTest < Minitest::Test
|
|
12
12
|
stub_request(:put, "http://10.10.10.10:9292/com.instana.plugin.ruby.discovery")
|
13
13
|
.and_timeout
|
14
14
|
.and_return(status: 500, body: '{"ok": false}')
|
15
|
+
.and_return(status: 200, body: '[{"pid": 1234}]')
|
15
16
|
.and_return(status: 200, body: '{"pid": 1234}')
|
16
17
|
|
17
18
|
stub_request(:head, "http://10.10.10.10:9292/com.instana.plugin.ruby.1234")
|
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.209.0.
|
4
|
+
version: 1.209.0.pre2
|
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:
|
11
|
+
date: 2022-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|