garelic 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,15 +1,27 @@
1
1
  # Garelic: Google Analytics Reports as "New Relic"-like performance monitoring for your Rails app
2
2
 
3
- This is a proof of concept and will probably break things. Use it at your own risk.
3
+ This gem uses Google Analytics User Timing API to report application performance statistics directly to Google Analytics, where you can slice & dice your data as you wish.
4
+
5
+ Here are some features with pictures:
6
+
7
+ - [Showing average response times for each action](http://twitpic.com/b0gwkx/full)
8
+ - [Identify slow page loads & drill down to different actions](http://twitpic.com/b0gump/full)
9
+ - [Histogram of response times for an actions](http://twitpic.com/b0gv6e/full)
10
+ - [Performance reports as a nice dashboard](http://twitpic.com/b0gt4j/full)
11
+
12
+
13
+ *This is a proof of concept and will probably break things. Use it at your own risk.*
4
14
 
5
15
 
6
16
  ## Installation
7
17
 
8
- 1. Add this line to your application's Gemfile:
18
+ It's easy as 1-2-3.
19
+
20
+ *Step 1.* Add this line to your application's Gemfile:
9
21
 
10
22
  gem 'garelic'
11
23
 
12
- 2. Add Garelic::Timing instrumentation to your GA code in application layout template like this:
24
+ *Step 2.* Add `<%= Garelic::Timing %>` instrumentation to your GA code in application layout template like this:
13
25
 
14
26
  <script type="text/javascript">
15
27
  var _gaq = _gaq || [];
@@ -26,10 +38,9 @@ This is a proof of concept and will probably break things. Use it at your own ri
26
38
  })();
27
39
  </script>
28
40
 
29
- 3. Go to Google Analytics > Content > Site speed > User Timings
30
-
31
- 4. Enjoy!
41
+ *Step 3.* Go to Google Analytics > Content > Site speed > User Timings
32
42
 
43
+ Enjoy!
33
44
 
34
45
  ## Know advantages
35
46
 
data/garelic.gemspec CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
6
6
  gem.email = ["johno@jsmf.net"]
7
7
  gem.description = %q{Google Analytics Reports as "New Relic"-like performance monitoring for your Rails app}
8
8
  gem.summary = %q{}
9
- gem.homepage = ""
9
+ gem.homepage = "https://github.com/jsuchal/garelic"
10
10
 
11
11
  gem.files = `git ls-files`.split($\)
12
12
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -1,3 +1,3 @@
1
1
  class Garelic
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: garelic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -28,7 +28,7 @@ files:
28
28
  - lib/garelic.rb
29
29
  - lib/garelic/dispatcher.rb
30
30
  - lib/garelic/version.rb
31
- homepage: ''
31
+ homepage: https://github.com/jsuchal/garelic
32
32
  licenses: []
33
33
  post_install_message:
34
34
  rdoc_options: []