instana 1.209.5 → 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: 9d6046b9ecf69be7ee6dbc4db6922d10cd731c10e6a9439cab442856fe169e5d
4
- data.tar.gz: f5a2a1c8a7d011bc9a1abc3da001f3f8adf91407bf54724728f85590aff77940
3
+ metadata.gz: 1376d020820248b2c9576de22adb744c54cb520aaedd7f64b60379c1651dbf39
4
+ data.tar.gz: 2f35a9669a3ec3c14e2ce08d25e047f383238d4ad82703d9418907e7b13b9a51
5
5
  SHA512:
6
- metadata.gz: 19d223cebc5f38a3dd552eb7c188c51f815c2e340d83c0e214a748c1a464e9ff6488967ae583a6efba1a1552dc5249872c3993b2fb56e175ae399993301051d6
7
- data.tar.gz: bc5dc0521fdc266c6e6f82559335a445f8c7e186b9405bfac93f5ceb028470405abad4a95391e3fea9864b413c3e1c6a16c43f06b3555a007bfe752893e67732
6
+ metadata.gz: 5fa2dfa55a024dcdfdc44521ed0a6372a93b594a53abc7998e5986f6e0ca90fa04c628ce5d9e0acbf24d2bb5cf13b94b012a5fcaa7aa4348714168abf355f51a
7
+ data.tar.gz: f398497b049918b750c388b1965c1ef5ff26f84514afdf9d1ab762ce98cf5c2cf011a94285add7577fea749392e2f5a565ee40296e21437568eec1c163aad734
data/.circleci/config.yml CHANGED
@@ -186,6 +186,7 @@ workflows:
186
186
  gemfile:
187
187
  - "./gemfiles/aws_30.gemfile"
188
188
  - "./gemfiles/cuba_30.gemfile"
189
+ - "./gemfiles/cuba_40.gemfile"
189
190
  - "./gemfiles/dalli_20.gemfile"
190
191
  - "./gemfiles/excon_02.gemfile"
191
192
  - "./gemfiles/excon_079.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: "../"
@@ -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.5"
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.5
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-23 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
@@ -382,7 +383,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
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