This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"method": "GET", | |
"path": "/v1/users/528", | |
"format": "*/*", | |
"controller": "Api::V1::UsersController", | |
"action": "show", | |
"status": 200, | |
"duration": 2249.83, | |
"view": 14.45, | |
"db": 2103.34, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> yell/lib/yell/event.rb | |
def request_id | |
env['action_dispatch.request_id'] | |
end | |
> yell-adapters-gelf/lib/yell/adapters/gelf.rb | |
write do |event| | |
message = format({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'bundler/capistrano' | |
default_run_options[:pty] = true | |
ssh_options[:forward_agent] = true | |
set :user, "<<your webfaction user>>" | |
set :domain, "#{user}@<<your domain>>" | |
set :application, "<<your application>>" | |
set :repository, "<< your ssh repository link >>" | |
set :deploy_to, "/home/#{user}/webapps/#{application}" |