statsd-default_instrumentation 0.3.0 → 0.3.1
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.
data/README.md
CHANGED
@@ -23,11 +23,11 @@ Instrumentation
|
|
23
23
|
|
24
24
|
Supported clients: memcache-client, memcached
|
25
25
|
|
26
|
-
*
|
26
|
+
* Timing of each operation. Example: memcache.set
|
27
27
|
* Count of hits/misses for get operations as memcache.hit and memcache.miss
|
28
28
|
|
29
29
|
**Redis**
|
30
30
|
|
31
31
|
Supported clients: redis-rb
|
32
32
|
|
33
|
-
*
|
33
|
+
* Timing of each operation. Example: redis.get
|
@@ -7,7 +7,7 @@ module StatsD
|
|
7
7
|
self.prefix = "default_instrumentation"
|
8
8
|
|
9
9
|
def self.detect!
|
10
|
-
require 'statsd/default_instrumentation/action_controller' if defined?(
|
10
|
+
require 'statsd/default_instrumentation/action_controller' if defined?(ActionController)
|
11
11
|
require 'statsd/default_instrumentation/memcache-client' if defined?(MemCache)
|
12
12
|
require 'statsd/default_instrumentation/memcached' if defined?(Memcached)
|
13
13
|
require 'statsd/default_instrumentation/redis' if defined?(Redis)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: statsd-default_instrumentation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 1
|
10
|
+
version: 0.3.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Griffin
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-11-
|
18
|
+
date: 2011-11-10 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|