Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Allow user to supply a callback function#8

Merged
chingor13 merged 8 commits intomasterfrom
trace-callback-array
Aug 14, 2017
Merged

Allow user to supply a callback function#8
chingor13 merged 8 commits intomasterfrom
trace-callback-array

Conversation

@chingor13
Copy link
Copy Markdown
Member

@chingor13 chingor13 commented Aug 14, 2017

Enables:

  • opencensus_trace_function('function_name', ['MyClass', 'myMethod'])
  • opencensus_trace_function('function_name', 'MyClass::myMethod'])
  • opencensus_trace_method('SomeClass', 'method_name', ['MyClass', 'myMethod'])
  • opencensus_trace_method('SomeClass', 'method_name', 'MyClass::myMethod'])

@chingor13 chingor13 requested a review from tmatsuo August 14, 2017 21:14
Comment thread ext/tests/method_callback_string.phpt Outdated
@@ -0,0 +1,47 @@
--TEST--
OpenCensus Trace: Customize the trace span options for a function with a callback closure
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Is the comment correct?

@chingor13 chingor13 merged commit 4d32c6f into master Aug 14, 2017
@chingor13 chingor13 deleted the trace-callback-array branch August 14, 2017 21:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants