it's been working for other code blocks, e.g.
https://github.com/edx/cs_comments_service/blob/master/models/user.rb#L54


On Wed, Oct 23, 2013 at 11:39 AM, Greg Price <notifications@github.com>wrote:

> In lib/helpers.rb:
>
> >        if params[:flagged]
> > -        #get flagged threads and threads containing flagged responses
> > -        comment_ids = Comment.where(:course_id=>params[:course_id]).
> > -          where(:abuse_flaggers.ne => [],:abuse_flaggers.exists => true).
> > -          collect{|c| c.comment_thread_id}.uniq
> > +        self.class.trace_execution_scoped(['Custom/handle_threads_query/find_flagged']) do
>
> Do custom metrics show up in a trace?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/edx/cs_comments_service/pull/64/files#r7161014>
> .
>