Permalink
Browse files

Fixes, note change

  • Loading branch information...
1 parent a11b79b commit 961acdcfa3ea473513a94e27f40dfcc3d607266d @mperham mperham committed Feb 6, 2009
Showing with 7 additions and 3 deletions.
  1. +4 −0 CHANGELOG
  2. +3 −3 lib/data_fabric/dash.rb
View
@@ -1,5 +1,9 @@
DataFabric changelog
+v1.2.4 - Unreleased
+
+- Add FiveRuns Dash recipe for data_fabric. See http://dash.fiveruns.com for details.
+
v1.2.3 - 2008-02-05
- Release connections at the end of each Rails action. If you see 5 second
View
@@ -6,15 +6,15 @@
#
# require 'data_fabric/dash'
# Fiveruns::Dash::Rails.start :production => 'your-token' do |config|
-# config.add_recipe :data_fabric, 'http://mikeperham.com'
+# config.add_recipe :data_fabric, :url => 'http://mikeperham.com'
# end
#
raise ArgumentError, "The Dash recipe for DataFabric is only supported on ActiveRecord 2.2 and greater" if ActiveRecord::VERSION::STRING < '2.2.0'
-Fiveruns::Dash.register_recipe :data_fabric, 'http://mikeperham.com' do |recipe|
+Fiveruns::Dash.register_recipe :data_fabric, :url => 'http://mikeperham.com' do |recipe|
recipe.absolute :open_connections, 'Open Connections' do
ConnectionProxy.shard_pools.map do |pool|
pool.instance_variable_get(:@checked_out) || 0
end.sum
end
-end
+end

0 comments on commit 961acdc

Please sign in to comment.