Instrumenters are stored in a thread local.
Methods
- F
- I
- N
- S
Attributes
[R] | id |
Class Public methods
new(notifier)
Link
Instance Public methods
finish(name, payload)
Link
Send a finish notification with name
and payload
.
instrument(name, payload={})
Link
Instrument the given block by measuring the time taken to execute it and publish it. Notice that events get sent even if an error occurs in the passed-in block.