instana 1.209.4 → 1.209.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +1 -42
- data/README.md +17 -17
- data/gemfiles/cuba_40.gemfile +16 -0
- data/instana.gemspec +1 -1
- data/lib/instana/backend/process_info.rb +1 -1
- data/lib/instana/version.rb +1 -1
- data/test/frameworks/cuba_test.rb +4 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1376d020820248b2c9576de22adb744c54cb520aaedd7f64b60379c1651dbf39
|
|
4
|
+
data.tar.gz: 2f35a9669a3ec3c14e2ce08d25e047f383238d4ad82703d9418907e7b13b9a51
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
7
|
+
The `instana` gem provides Ruby metrics and traces (request, queue & cross-host) for [Instana](https://www.instana.com/).
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[](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
|
-
[](https://github.com/instana/mina-instana)
|
|
22
|
-
[](http://www.sinatrarb.com/)
|
|
23
|
-
[](http://padrinorb.com/)
|
|
24
|
-
[](https://rack.github.io/)
|
|
25
|
-
[](http://www.grpc.io/)
|
|
13
|
+
[](https://badge.fury.io/rb/instana)
|
|
14
|
+
[](https://circleci.com/gh/instana/ruby-sensor)
|
|
15
|
+
[](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
|
-
|
|
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.
|
|
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"
|
data/lib/instana/version.rb
CHANGED
|
@@ -6,7 +6,10 @@ require 'rack/test'
|
|
|
6
6
|
|
|
7
7
|
class CubaTest < Minitest::Test
|
|
8
8
|
include Rack::Test::Methods
|
|
9
|
-
|
|
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
|
+
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-
|
|
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.
|
|
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.
|
|
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
|