profile_it 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +7 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.markdown +19 -0
- data/Gemfile +4 -0
- data/LICENSE.markdown +7 -0
- data/README.markdown +40 -0
- data/Rakefile +1 -0
- data/data/cacert.pem +3894 -0
- data/lib/profile_it/agent/logging.rb +44 -0
- data/lib/profile_it/agent/reporting.rb +84 -0
- data/lib/profile_it/agent.rb +98 -0
- data/lib/profile_it/config.rb +44 -0
- data/lib/profile_it/environment.rb +135 -0
- data/lib/profile_it/instruments/active_record_instruments.rb +85 -0
- data/lib/profile_it/instruments/mongoid_instruments.rb +10 -0
- data/lib/profile_it/instruments/moped_instruments.rb +24 -0
- data/lib/profile_it/instruments/net_http.rb +14 -0
- data/lib/profile_it/instruments/rails/action_controller_instruments.rb +41 -0
- data/lib/profile_it/instruments/rails3_or_4/action_controller_instruments.rb +45 -0
- data/lib/profile_it/metric_meta.rb +34 -0
- data/lib/profile_it/metric_stats.rb +50 -0
- data/lib/profile_it/profile.rb +39 -0
- data/lib/profile_it/stack_item.rb +18 -0
- data/lib/profile_it/store.rb +166 -0
- data/lib/profile_it/tracer.rb +105 -0
- data/lib/profile_it/version.rb +3 -0
- data/lib/profile_it.rb +34 -0
- data/profile_it.gemspec +24 -0
- metadata +74 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d573ff0189d9da94ba162a1c7a85bc5845877ca3
|
4
|
+
data.tar.gz: c3745baa0f8c4b7fa65510a2b0d57b9f7b9f7b2e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 12de494139905f73cc8ab64a1cb25540e3be0b50e871a98e2b2e12e5346ceecc60229a802f5bb89f58970a318a95143e40ab055506bbb502393a9ae59335930a
|
7
|
+
data.tar.gz: bee7bd235b5e582f729d0eae5ea9f19014d6222e8e2098de8a28c526d86cacd02827cd97351fabe097768f350ef8a6741ad50e922a699ca20676729dd86a3f04
|
data/.gitignore
ADDED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-2.2.0
|
data/CHANGELOG.markdown
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# 0.2.4
|
2
|
+
|
3
|
+
* Completing TransactionProfile => Profile rename
|
4
|
+
|
5
|
+
# 0.2.3
|
6
|
+
|
7
|
+
* send version information and GUIDs from the extension
|
8
|
+
|
9
|
+
# 0.2.2
|
10
|
+
|
11
|
+
* SSL connections to host
|
12
|
+
|
13
|
+
# 0.2.0
|
14
|
+
|
15
|
+
* Internal Alpha. Loosened constraints on when profiling is enabled.
|
16
|
+
|
17
|
+
# 0.1.0
|
18
|
+
|
19
|
+
* Initial Development
|
data/Gemfile
ADDED
data/LICENSE.markdown
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
# GPL Version 2
|
2
|
+
|
3
|
+
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
|
4
|
+
|
5
|
+
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
6
|
+
|
7
|
+
http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
data/README.markdown
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
# ProfileIt
|
2
|
+
|
3
|
+
A Ruby gem for detailed Rails profiling analysis. Metrics are reported to [profileit.io](https://profileit.io).
|
4
|
+
|
5
|
+
## Getting Started
|
6
|
+
|
7
|
+
Install the gem:
|
8
|
+
|
9
|
+
gem install profile_it
|
10
|
+
|
11
|
+
Signup for a [profileit.io](https://profileit.io) account and copy the config file to `RAILS_ROOT/config/profile_it.yml`.
|
12
|
+
|
13
|
+
Your config file should look like:
|
14
|
+
|
15
|
+
common: &defaults
|
16
|
+
name: YOUR_APPLICATION_NAME
|
17
|
+
key: YOUR_APPLICATION_KEY
|
18
|
+
profile: true
|
19
|
+
|
20
|
+
production:
|
21
|
+
<<: *defaults
|
22
|
+
|
23
|
+
## Supported Frameworks
|
24
|
+
|
25
|
+
* Rails 2.2 through Rails 4
|
26
|
+
|
27
|
+
## Supported Rubies
|
28
|
+
|
29
|
+
* Ruby 1.8.7 through Ruby 2.1.2
|
30
|
+
|
31
|
+
## Supported Application Servers
|
32
|
+
|
33
|
+
* Phusion Passenger
|
34
|
+
* Thin
|
35
|
+
* WEBrick
|
36
|
+
* Unicorn (make sure to add `preload_app true` to `config/unicorn.rb`)
|
37
|
+
|
38
|
+
## Help
|
39
|
+
|
40
|
+
Email support@profileit.io if you need a hand.
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|