memcached_graphite 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/memcached_graphite +1 -1
- data/lib/memcached_graphite/version.rb +1 -1
- metadata +3 -3
data/bin/memcached_graphite
CHANGED
@@ -23,7 +23,7 @@ def format_hostname ( hostname, options )
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def get_stats_items (host, port)
|
26
|
-
Hash[MemcacheDo.exec('stats items').gsub(/^STAT items:(\d+):/,'STAT items_\1.').scan(/^STAT (.*?) (.*)\r$/)]
|
26
|
+
Hash[MemcacheDo.exec('stats items',host,port).gsub(/^STAT items:(\d+):/,'STAT items_\1.').scan(/^STAT (.*?) (.*)\r$/)]
|
27
27
|
end
|
28
28
|
|
29
29
|
def get_stats_slabs (host, port)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: memcached_graphite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Aaron Brown
|