Skip to content

Instantly share code, notes, and snippets.

@samg
Created November 8, 2011 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samg/1348988 to your computer and use it in GitHub Desktop.
Save samg/1348988 to your computer and use it in GitHub Desktop.
self.class.trace_execution_scoped(['External/servicename/all', 'External/allWeb']) do
#your service call code here
end
# "External/allWeb" will cause the calls to be included in the
# green "Web External" stripe of your response time graph.
# "External/servicename/all" will enable you to see specific
# metrics in the "External services" tab, such as calls per minute and average call time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment