dd-trace-rb icon indicating copy to clipboard operation
dd-trace-rb copied to clipboard

Adds method tracing helper

Open ronan-mch opened this issue 6 years ago • 5 comments

This PR adds a new module to ddtrace. MethodTracing allows developers to quickly add tracing to their classes without muddying up their code with trace blocks.

Example usage

class FizzBuzz

  extend Datadog::MethodTracing
  trace_methods self, :fizz, :buzz

  ...
end

ronan-mch avatar Jan 15 '19 21:01 ronan-mch

Also, so much has changed since you last rebased, you might want to update your branch with master too.

marcotc avatar Jan 07 '20 00:01 marcotc

@marcotc - is this mergeable?

ronan-mch avatar Feb 01 '20 08:02 ronan-mch

I'll take a look at this, see if we can merge it.

delner avatar Feb 03 '20 16:02 delner

I'll take a look at this, see if we can merge it.

@delner - any update on this?

ronan-mch avatar Feb 25 '20 11:02 ronan-mch

Sorry haven't had the chance yet. Will try to make some time.

delner avatar Feb 25 '20 17:02 delner

Closing as I'm no longer working in a company that uses Datadog.

ronan-mch avatar May 02 '24 10:05 ronan-mch

Thanks for the contribution and food for thought! We definitely will reference this PR and discussion in the future, and I wish you well in your new endeavour :)

ivoanjo avatar May 07 '24 12:05 ivoanjo

Thank you! I'm ashamed to admit that I'd forgotten all about this PR until I reviewed my open PRs recently...

ronan-mch avatar May 07 '24 12:05 ronan-mch

Thank you! I'm ashamed to admit that I'd forgotten all about this PR until I reviewed my open PRs recently...

:rofl: yeah, definitely can relate on this one!

ivoanjo avatar May 07 '24 14:05 ivoanjo