Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes, note change

  • Loading branch information...
commit 961acdcfa3ea473513a94e27f40dfcc3d607266d 1 parent a11b79b
Mike Perham mperham authored
Showing with 7 additions and 3 deletions.
  1. +4 −0 CHANGELOG
  2. +3 −3 lib/data_fabric/dash.rb
4 CHANGELOG
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
6 lib/data_fabric/dash.rb
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
Please sign in to comment.
Something went wrong with that request. Please try again.