Method |
Description |
|
count ( string $context, string $source, integer $value = 1, string $metric = '' ) |
Send a count. |
|
decrement ( string $context, string $source, string $metric = '' ) |
Decrement a metric by 1. |
|
endMemoryProfile ( string $context, string $source, string $metric = '' ) |
End the memory profiling and send the value. |
|
endTiming ( string $context, string $source, string $metric = '' ) |
End the timing for a metric and send the value. |
|
gauge ( string $context, string $source, integer $value, string $metric = '' ) |
Send a gauged metric. |
|
increment ( string $context, string $source, string $metric = '' ) |
Increment the metric by 1. |
|
memory ( string $context, string $source, integer | null $memory = null, string $metric = '' ) |
Report memory usage. |
|
set ( string $context, string $source, integer $value, string $metric = '' ) |
Send a unique metric. |
|
setNamespace ( string $namespace = self::DEFAULT_NAMESPACE ) |
Set the slug namespace. |
|
startMemoryProfile ( string $context, string $source, string $metric = '' ) |
Start memory "profiling". |
|
startTiming ( string $context, string $source, string $metric = '' ) |
Starts timing a metric. |
|
time ( string $context, string $source, Closure $func, string $metric = '' ) : mixed |
Execute, measure execution time, and return a \Closure's return value. |
|
timing ( string $context, string $source, integer $value, string $metric = '' ) |
Send a timing metric. |
|