stackify-ruby-apm 0.9.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +18 -0
- data/Gemfile.lock +181 -8
- data/LICENSE.md +66 -0
- data/README.md +5 -3
- data/Rakefile +4 -0
- data/docker-compose.yml +46 -0
- data/lib/stackify/agent.rb +22 -9
- data/lib/stackify/config.rb +65 -29
- data/lib/stackify/context/response.rb +13 -0
- data/lib/stackify/context_builder.rb +0 -2
- data/lib/stackify/error.rb +2 -2
- data/lib/stackify/error_builder.rb +1 -1
- data/lib/stackify/instrumenter.rb +4 -4
- data/lib/stackify/logger/logger_high_version.rb +65 -0
- data/lib/stackify/logger/logger_lower_version.rb +63 -0
- data/lib/stackify/middleware.rb +0 -4
- data/lib/stackify/normalizers.rb +0 -1
- data/lib/stackify/normalizers/active_record.rb +3 -1
- data/lib/stackify/railtie.rb +0 -1
- data/lib/stackify/serializers/errors.rb +8 -7
- data/lib/stackify/serializers/transactions.rb +3 -2
- data/lib/stackify/span.rb +1 -2
- data/lib/stackify/span/context.rb +5 -1
- data/lib/stackify/spies/action_dispatch.rb +8 -1
- data/lib/stackify/spies/httpclient.rb +14 -5
- data/lib/stackify/spies/httprb.rb +45 -0
- data/lib/stackify/spies/mongo.rb +13 -1
- data/lib/stackify/spies/net_http.rb +14 -3
- data/lib/stackify/spies/redis.rb +66 -0
- data/lib/stackify/spies/sinatra.rb +3 -1
- data/lib/stackify/spies/sinatra_activerecord/mysql_adapter.rb +177 -0
- data/lib/stackify/spies/sinatra_activerecord/postgresql_adapter.rb +96 -0
- data/lib/stackify/spies/sinatra_activerecord/sqlite_adapter.rb +48 -0
- data/lib/stackify/spies/tilt.rb +8 -1
- data/lib/stackify/stacktrace_builder.rb +4 -3
- data/lib/stackify/subscriber.rb +4 -4
- data/lib/stackify/trace_logger.rb +6 -23
- data/lib/stackify/transaction.rb +10 -1
- data/lib/stackify/util.rb +0 -13
- data/lib/stackify/version.rb +1 -1
- data/lib/stackify/worker.rb +5 -5
- data/lib/stackify_ruby_apm.rb +2 -6
- data/run-test.sh +75 -0
- data/stackify-ruby-apm.gemspec +0 -1
- metadata +12 -17
- data/lib/stackify/logger.rb +0 -10
data/stackify-ruby-apm.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stackify-ruby-apm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stackify
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,20 +80,6 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0.4'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: webmock
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '3.4'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '3.4'
|
97
83
|
description:
|
98
84
|
email:
|
99
85
|
- support@stackify.com
|
@@ -105,8 +91,10 @@ files:
|
|
105
91
|
- ".rspec"
|
106
92
|
- Gemfile
|
107
93
|
- Gemfile.lock
|
94
|
+
- LICENSE.md
|
108
95
|
- README.md
|
109
96
|
- Rakefile
|
97
|
+
- docker-compose.yml
|
110
98
|
- lib/stackify-ruby-apm.rb
|
111
99
|
- lib/stackify/agent.rb
|
112
100
|
- lib/stackify/config.rb
|
@@ -123,7 +111,8 @@ files:
|
|
123
111
|
- lib/stackify/instrumenter.rb
|
124
112
|
- lib/stackify/internal_error.rb
|
125
113
|
- lib/stackify/log.rb
|
126
|
-
- lib/stackify/logger.rb
|
114
|
+
- lib/stackify/logger/logger_high_version.rb
|
115
|
+
- lib/stackify/logger/logger_lower_version.rb
|
127
116
|
- lib/stackify/middleware.rb
|
128
117
|
- lib/stackify/naively_hashable.rb
|
129
118
|
- lib/stackify/normalizers.rb
|
@@ -141,9 +130,14 @@ files:
|
|
141
130
|
- lib/stackify/spies.rb
|
142
131
|
- lib/stackify/spies/action_dispatch.rb
|
143
132
|
- lib/stackify/spies/httpclient.rb
|
133
|
+
- lib/stackify/spies/httprb.rb
|
144
134
|
- lib/stackify/spies/mongo.rb
|
145
135
|
- lib/stackify/spies/net_http.rb
|
136
|
+
- lib/stackify/spies/redis.rb
|
146
137
|
- lib/stackify/spies/sinatra.rb
|
138
|
+
- lib/stackify/spies/sinatra_activerecord/mysql_adapter.rb
|
139
|
+
- lib/stackify/spies/sinatra_activerecord/postgresql_adapter.rb
|
140
|
+
- lib/stackify/spies/sinatra_activerecord/sqlite_adapter.rb
|
147
141
|
- lib/stackify/spies/tilt.rb
|
148
142
|
- lib/stackify/stacktrace.rb
|
149
143
|
- lib/stackify/stacktrace/frame.rb
|
@@ -159,6 +153,7 @@ files:
|
|
159
153
|
- lib/stackify/version.rb
|
160
154
|
- lib/stackify/worker.rb
|
161
155
|
- lib/stackify_ruby_apm.rb
|
156
|
+
- run-test.sh
|
162
157
|
- stackify-ruby-apm.gemspec
|
163
158
|
homepage: http://www.stackify.com
|
164
159
|
licenses:
|
data/lib/stackify/logger.rb
DELETED