dd-trace-rb
dd-trace-rb copied to clipboard
Adds method tracing helper
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
Also, so much has changed since you last rebased, you might want to update your branch with master too.
@marcotc - is this mergeable?
I'll take a look at this, see if we can merge it.
I'll take a look at this, see if we can merge it.
@delner - any update on this?
Sorry haven't had the chance yet. Will try to make some time.
Closing as I'm no longer working in a company that uses Datadog.
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 :)
Thank you! I'm ashamed to admit that I'd forgotten all about this PR until I reviewed my open PRs recently...
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!