scout_apm 0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +6 -0
- data/CHANGELOG.markdown +3 -0
- data/Gemfile +4 -0
- data/README.markdown +42 -0
- data/Rakefile +1 -0
- data/data/cacert.pem +3988 -0
- data/lib/scout_apm/agent/logging.rb +44 -0
- data/lib/scout_apm/agent/reporting.rb +110 -0
- data/lib/scout_apm/agent.rb +217 -0
- data/lib/scout_apm/background_worker.rb +43 -0
- data/lib/scout_apm/config.rb +42 -0
- data/lib/scout_apm/context.rb +105 -0
- data/lib/scout_apm/environment.rb +135 -0
- data/lib/scout_apm/instruments/active_record_instruments.rb +85 -0
- data/lib/scout_apm/instruments/mongoid_instruments.rb +10 -0
- data/lib/scout_apm/instruments/moped_instruments.rb +24 -0
- data/lib/scout_apm/instruments/net_http.rb +14 -0
- data/lib/scout_apm/instruments/process/process_cpu.rb +27 -0
- data/lib/scout_apm/instruments/process/process_memory.rb +40 -0
- data/lib/scout_apm/instruments/rails/action_controller_instruments.rb +46 -0
- data/lib/scout_apm/instruments/rails3_or_4/action_controller_instruments.rb +38 -0
- data/lib/scout_apm/layaway.rb +100 -0
- data/lib/scout_apm/layaway_file.rb +72 -0
- data/lib/scout_apm/metric_meta.rb +34 -0
- data/lib/scout_apm/metric_stats.rb +49 -0
- data/lib/scout_apm/slow_transaction.rb +35 -0
- data/lib/scout_apm/stack_item.rb +18 -0
- data/lib/scout_apm/store.rb +200 -0
- data/lib/scout_apm/tracer.rb +112 -0
- data/lib/scout_apm/version.rb +3 -0
- data/lib/scout_apm.rb +41 -0
- data/scout_apm.gemspec +24 -0
- metadata +78 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f8028449405090925eb88ee0254ad5701121d100
|
4
|
+
data.tar.gz: 54e43b9958363ed353e710a73d157e0354968bf2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a7c93db879549d9e7a21cae4b0da7d039c8f84c4b0ff6d780504136c3926398d898b8db96497e4dfa332b1932c7607edb152da9ebdb3931c70345d650364a205
|
7
|
+
data.tar.gz: 78b5548d07db590a0a9bd9ef9ea55c4751e10a708d709e02001f996f00cb65960200cb6915148b21097fee77a7f440eb087871ef9fc0966300f077dc30bda87b
|
data/.gitignore
ADDED
data/CHANGELOG.markdown
ADDED
data/Gemfile
ADDED
data/README.markdown
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
__Rails application monitoring is avaiable by invite-only @ Scout.__
|
2
|
+
|
3
|
+
# ScoutApm
|
4
|
+
|
5
|
+
A Ruby gem for detailed Rails application performance analysis. Metrics are reported to [Scout](https://scoutapp.com), a hosted server and application monitoring service.
|
6
|
+
|
7
|
+
## Getting Started
|
8
|
+
|
9
|
+
Install the gem:
|
10
|
+
|
11
|
+
gem install scout_apm
|
12
|
+
|
13
|
+
Signup for a [Scout](https://apm.scoutapp.com) account and copy the config file to `RAILS_ROOT/config/scout_apm.yml`.
|
14
|
+
|
15
|
+
Your config file should look like:
|
16
|
+
|
17
|
+
common: &defaults
|
18
|
+
name: YOUR_APPLICATION_NAME
|
19
|
+
key: YOUR_APPLICATION_KEY
|
20
|
+
monitor: true
|
21
|
+
|
22
|
+
production:
|
23
|
+
<<: *defaults
|
24
|
+
|
25
|
+
## Supported Frameworks
|
26
|
+
|
27
|
+
* Rails 2.2 through Rails 4
|
28
|
+
|
29
|
+
## Supported Rubies
|
30
|
+
|
31
|
+
* Ruby 1.8.7 through Ruby 2.1.2
|
32
|
+
|
33
|
+
## Supported Application Servers
|
34
|
+
|
35
|
+
* Phusion Passenger
|
36
|
+
* Thin
|
37
|
+
* WEBrick
|
38
|
+
* Unicorn (make sure to add `preload_app true` to `config/unicorn.rb`)
|
39
|
+
|
40
|
+
## Help
|
41
|
+
|
42
|
+
Email support@scoutapp.com if you need a hand.
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|