Trace
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Gets the value of the metric with the given name in the current trace. If a metric with the given name doesn't exist, it is NOT created and a 0 is returned. This method is atomic.
Link copied to clipboard
Atomically increments the metric with the given name in this trace by the incrementBy value. If the metric does not exist, a new one will be created. If the trace has not been started or has already been stopped, returns immediately without taking action.
Link copied to clipboard
Link copied to clipboard
Sets the value of the metric with the given name in this trace to the value provided. If a metric with the given name doesn't exist, a new one will be created. If the trace has not been started or has already been stopped, returns immediately without taking action. This method is atomic.
Link copied to clipboard
Link copied to clipboard