Skip to content

Instantly share code, notes, and snippets.

@jhsu
Created April 20, 2011 18:19
Show Gist options
  • Save jhsu/932209 to your computer and use it in GitHub Desktop.
Save jhsu/932209 to your computer and use it in GitHub Desktop.
Module Daikon
class Monitor
# ...
NEW_FORMAT = /^\+?\d+\.\d+[^"]+"(.*)"$/i
# ...
end
end
1303321998.631857 (db 1) "SELECT" "1"
1303321998.632291 (db 1) "get" "whattt"
1303322003.551683 (db 1) "SELECT" "1"
1303322003.551979 (db 1) "llen" "blah"
+1303322884.814439 (db 6) "lpop" "resque:something:queue:email"
+1303322885.105356 (db 6) "lpop" "resque:something:queue:export_processing"
+1303322885.368209 (db 6) "sadd" "resque:something:queues" "email"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment