instana 1.209.4 → 1.209.6

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: fc7545193bcf5005fc76c11cc7725286ed5eb5fcfde233fbcf3b68ba4a2b7ce4
4
- data.tar.gz: 7f1965845cbbcd90d8edd6f5799b48ac0ffbc037595e464b80a5cf423261e4df
3
+ metadata.gz: 1376d020820248b2c9576de22adb744c54cb520aaedd7f64b60379c1651dbf39
4
+ data.tar.gz: 2f35a9669a3ec3c14e2ce08d25e047f383238d4ad82703d9418907e7b13b9a51
5
5
  SHA512:
6
- metadata.gz: 72d74bd35dde9ac239d472e2ec6a6b85d86fa45222c15e3a6cc3316292f493f5b7be921e2600ddb0702ea3f1d9adb8931d715b8891b653f4962cfec6edde036b
7
- data.tar.gz: b311f873f859c18d94e0ae975c529eaeef7e54eb4df1918b33eb220ac63a169cfc88d07d3b3758827a7a25f591cbc575bf7568c87438f4b3dfb2a9d301db1219
6
+ metadata.gz: 5fa2dfa55a024dcdfdc44521ed0a6372a93b594a53abc7998e5986f6e0ca90fa04c628ce5d9e0acbf24d2bb5cf13b94b012a5fcaa7aa4348714168abf355f51a
7
+ data.tar.gz: f398497b049918b750c388b1965c1ef5ff26f84514afdf9d1ab762ce98cf5c2cf011a94285add7577fea749392e2f5a565ee40296e21437568eec1c163aad734
data/.circleci/config.yml CHANGED
@@ -1,21 +1,6 @@
1
1
  version: 2.1
2
2
 
3
3
  executors:
4
- ruby_26:
5
- docker:
6
- - image: cimg/ruby:2.6-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: amazon/dynamodb-local
14
- - image: minio/minio:latest
15
- command: ["server", "/data"]
16
- - image: s12v/sns
17
- - image: softwaremill/elasticmq-native
18
- - image: mongo:5-focal
19
4
  ruby_27:
20
5
  docker:
21
6
  - image: cimg/ruby:2.7-node
@@ -31,19 +16,6 @@ executors:
31
16
  - image: s12v/sns
32
17
  - image: softwaremill/elasticmq-native
33
18
  - image: mongo:5-focal
34
- ruby_26_mysql2:
35
- docker:
36
- - image: cimg/ruby:2.6-node
37
- environment:
38
- DATABASE_URL: "mysql2://root@127.0.0.1:3306/ci_test"
39
- - image: mariadb
40
- environment:
41
- MYSQL_DATABASE: 'ci_test'
42
- MYSQL_USER: 'root'
43
- MYSQL_PASSWORD: ''
44
- MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
45
- MYSQL_ROOT_PASSWORD: ''
46
- MYSQL_ROOT_HOST: '%'
47
19
  ruby_27_mysql2:
48
20
  docker:
49
21
  - image: cimg/ruby:2.7-node
@@ -57,15 +29,6 @@ executors:
57
29
  MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
58
30
  MYSQL_ROOT_PASSWORD: ''
59
31
  MYSQL_ROOT_HOST: '%'
60
- ruby_26_postgres:
61
- docker:
62
- - image: cimg/ruby:2.6-node
63
- environment:
64
- DATABASE_URL: "postgres://postgres:test@127.0.0.1:5432/ci_test"
65
- - image: postgres
66
- environment:
67
- POSTGRES_PASSWORD: 'test'
68
- POSTGRES_DB: 'ci_test'
69
32
  ruby_27_postgres:
70
33
  docker:
71
34
  - image: cimg/ruby:2.7-node
@@ -213,7 +176,6 @@ workflows:
213
176
  parameters:
214
177
  stack:
215
178
  - ruby_27
216
- - ruby_26
217
179
  libraries:
218
180
  jobs:
219
181
  - test_apprisal:
@@ -221,10 +183,10 @@ workflows:
221
183
  parameters:
222
184
  stack:
223
185
  - ruby_27
224
- - ruby_26
225
186
  gemfile:
226
187
  - "./gemfiles/aws_30.gemfile"
227
188
  - "./gemfiles/cuba_30.gemfile"
189
+ - "./gemfiles/cuba_40.gemfile"
228
190
  - "./gemfiles/dalli_20.gemfile"
229
191
  - "./gemfiles/excon_02.gemfile"
230
192
  - "./gemfiles/excon_079.gemfile"
@@ -252,11 +214,8 @@ workflows:
252
214
  parameters:
253
215
  stack:
254
216
  - ruby_27
255
- - ruby_26
256
217
  - ruby_27_postgres
257
- - ruby_26_postgres
258
218
  - ruby_27_mysql2
259
- - ruby_26_mysql2
260
219
  gemfile:
261
220
  - "./gemfiles/rails_60.gemfile"
262
221
  - "./gemfiles/rails_52.gemfile"
data/README.md CHANGED
@@ -4,25 +4,15 @@
4
4
 
5
5
  # Instana
6
6
 
7
- The Instana gem provides Ruby metrics and traces (request, queue & cross-host) for [Instana](https://www.instana.com/).
7
+ The `instana` gem provides Ruby metrics and traces (request, queue & cross-host) for [Instana](https://www.instana.com/).
8
8
 
9
- [![CircleCI](https://circleci.com/gh/instana/ruby-sensor.svg?style=svg)](https://circleci.com/gh/instana/ruby-sensor)
10
- [![Gem Version](https://badge.fury.io/rb/instana.svg)](https://badge.fury.io/rb/instana)
11
-
12
- ## Note
13
-
14
- This gem supports Ruby versions 2.0 or greater.
9
+ This gem supports Ruby versions 2.7 or greater.
15
10
 
16
11
  Any and all feedback is welcome. Happy Ruby visibility.
17
12
 
18
- [![rails](https://s3.amazonaws.com/instana/rails-logo.jpg?1)](http://rubyonrails.org/)
19
- [![roda](https://s3.amazonaws.com/instana/roda-logo.png?1)](http://roda.jeremyevans.net/)
20
- [![cuba](https://s3.amazonaws.com/instana/cuba-logo.png?1)](http://cuba.is/)
21
- [![mina logo 100px](https://cloud.githubusercontent.com/assets/395132/23832558/fcd5bdb2-0736-11e7-9809-3016e89698e2.png)](https://github.com/instana/mina-instana)
22
- [![sinatra](https://s3.amazonaws.com/instana/sinatra-logo.png?1)](http://www.sinatrarb.com/)
23
- [![padrino](https://s3.amazonaws.com/instana/padrino-logo.png?1)](http://padrinorb.com/)
24
- [![rack](https://s3.amazonaws.com/instana/rack-logo.png?1)](https://rack.github.io/)
25
- [![rack](https://user-images.githubusercontent.com/395132/27842764-27e0e452-610d-11e7-811f-8575f83b8944.png?1)](http://www.grpc.io/)
13
+ [![Gem Version](https://badge.fury.io/rb/instana.svg)](https://badge.fury.io/rb/instana)
14
+ [![CircleCI](https://circleci.com/gh/instana/ruby-sensor.svg?style=svg)](https://circleci.com/gh/instana/ruby-sensor)
15
+ [![OpenTracing Badge](https://img.shields.io/badge/OpenTracing-enabled-blue.svg)](http://opentracing.io)
26
16
 
27
17
  ## Installation
28
18
 
@@ -42,7 +32,17 @@ Or install it yourself as:
42
32
 
43
33
  ## Usage
44
34
 
45
- The instana gem is a zero configuration tool that will automatically collect key metrics and distributed traces from your Ruby processes. Just install and go.
35
+ The `instana` gem is a zero configuration tool that will automatically collect key metrics and distributed traces from your Ruby processes. Just install and go.
36
+
37
+ ### Supported Frameworks
38
+
39
+ * [Cuba](https://cuba.is/)
40
+ * [gRPC](https://grpc.io/)
41
+ * [Padrino](https://padrinorb.com/)
42
+ * [Roda](https://roda.jeremyevans.net/)
43
+ * [Ruby on Rails](https://rubyonrails.org/)
44
+ * [Rack](https://rack.github.io/)
45
+ * [Sinatra](https://sinatrarb.com/)
46
46
 
47
47
  ## Configuration
48
48
 
@@ -56,7 +56,7 @@ This Ruby gem provides a simple API for tracing and also supports [OpenTracing](
56
56
 
57
57
  You can find more documentation covering supported components and minimum versions in the Instana [documentation portal](https://docs.instana.io/ecosystem/ruby/).
58
58
 
59
- # Want End User Monitoring (EUM)?
59
+ ## Want End User Monitoring (EUM)?
60
60
 
61
61
  Instana provides deep end user monitoring that links server side traces with browser events to give you a complete view from server to browser.
62
62
 
@@ -0,0 +1,16 @@
1
+ # (c) Copyright IBM Corp. 2023
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rack", ">=3.0.0"
6
+ gem "rake"
7
+ gem "minitest", "5.9.1"
8
+ gem "minitest-reporters"
9
+ gem "webmock"
10
+ gem "puma"
11
+ gem "rubocop", "~> 1.9"
12
+ gem "rack-test"
13
+ gem "simplecov", "~> 0.21.2"
14
+ gem "cuba", ">= 4.0.1"
15
+
16
+ gemspec path: "../"
data/instana.gemspec CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.require_paths = ["lib"]
32
32
  spec.test_files = Dir.glob("{test}/**/*.rb")
33
33
 
34
- spec.required_ruby_version = '>= 2.1'
34
+ spec.required_ruby_version = '>= 2.7'
35
35
  spec.platform = defined?(JRUBY_VERSION) ? 'java' : Gem::Platform::RUBY
36
36
 
37
37
  spec.add_development_dependency "bundler", "~> 2.0"
@@ -18,7 +18,7 @@ module Instana
18
18
  end
19
19
 
20
20
  def parent_pid
21
- if in_container? && sched_pid != pid
21
+ if in_container? && !sched_pid.nil?
22
22
  sched_pid
23
23
  else
24
24
  pid
@@ -2,6 +2,6 @@
2
2
  # (c) Copyright Instana Inc. 2016
3
3
 
4
4
  module Instana
5
- VERSION = "1.209.4"
5
+ VERSION = "1.209.6"
6
6
  VERSION_FULL = "instana-#{VERSION}"
7
7
  end
@@ -6,7 +6,10 @@ require 'rack/test'
6
6
 
7
7
  class CubaTest < Minitest::Test
8
8
  include Rack::Test::Methods
9
- APP = Rack::Builder.parse_file('test/support/apps/cuba/config.ru').first
9
+
10
+ # rack < 3.0.0 returns a two long array `app, options`
11
+ # rack >= 3.0.0 returns only the app
12
+ APP, * = Rack::Builder.parse_file('test/support/apps/cuba/config.ru')
10
13
 
11
14
  def app
12
15
  APP
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.4
4
+ version: 1.209.6
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: 2023-03-16 00:00:00.000000000 Z
11
+ date: 2023-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -157,6 +157,7 @@ files:
157
157
  - gemfiles/.bundle/config
158
158
  - gemfiles/aws_30.gemfile
159
159
  - gemfiles/cuba_30.gemfile
160
+ - gemfiles/cuba_40.gemfile
160
161
  - gemfiles/dalli_20.gemfile
161
162
  - gemfiles/excon_02.gemfile
162
163
  - gemfiles/excon_021.gemfile
@@ -375,14 +376,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
375
376
  requirements:
376
377
  - - ">="
377
378
  - !ruby/object:Gem::Version
378
- version: '2.1'
379
+ version: '2.7'
379
380
  required_rubygems_version: !ruby/object:Gem::Requirement
380
381
  requirements:
381
382
  - - ">="
382
383
  - !ruby/object:Gem::Version
383
384
  version: '0'
384
385
  requirements: []
385
- rubygems_version: 3.3.26
386
+ rubygems_version: 3.4.10
386
387
  signing_key:
387
388
  specification_version: 4
388
389
  summary: Ruby Distributed Tracing & Metrics Sensor for Instana