Expose arbitrary stats in web status page
Reported by Arun Jacob | June 12th, 2009 @ 12:35 AM | in 1.1.0 release
Allow the user to pass in values like this:
{:value1=>200, :value2=>"foobar", :value3=>3.22}
and display those in list format on the page:
value1 200
value2 foobar
value3 3.22
Comments and changes to this ticket
-
David Balatero June 12th, 2009 @ 12:37 AM
- Milestone set to 1.1.0 release
Seems like we would just want a nice DSL for that, such as:
class MyWorker < QueueStick::Worker def process(message) set :var1, 'myvalue' set :var2, 500.00 end end
Which would maintain a hash internally of: { :var1 => 'myvalue', :var2 => 500.0 }
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
This library allows you to write the minimal amount of code to process queue messages. Supports SQS out of the box.