|
3 | 3 | namespace Cosmastech\LaravelStatsDAdapter; |
4 | 4 |
|
5 | 5 | use Illuminate\Support\Facades\Facade; |
| 6 | +use UnitEnum; |
6 | 7 |
|
7 | 8 | /** |
8 | 9 | * @method static \Cosmastech\StatsDClientAdapter\Adapters\StatsDClientAdapter channel(string|null $name = null) |
|
15 | 16 | * @method static \Cosmastech\LaravelStatsDAdapter\AdapterManager forgetInstance(array|string|null $name = null) |
16 | 17 | * @method static void purge(string|null $name = null) |
17 | 18 | * @method static \Cosmastech\LaravelStatsDAdapter\AdapterManager extend(string $name, \Closure $callback) |
18 | | - * @method static void timing(string $stat, float $durationMs, float $sampleRate = 1, array $tags = []) |
19 | | - * @method static mixed time(callable $closure, string $stat, float $sampleRate = 1, array $tags = []) |
20 | | - * @method static void gauge(string $stat, float $value, float $sampleRate = 1, array $tags = []) |
21 | | - * @method static void histogram(string $stat, float $value, float $sampleRate = 1, array $tags = []) |
22 | | - * @method static void distribution(string $stat, float $value, float $sampleRate = 1, array $tags = []) |
23 | | - * @method static void set(string $stat, float|string $value, float $sampleRate = 1, array $tags = []) |
24 | | - * @method static void increment(array|string $stats, float $sampleRate = 1, array $tags = [], int $value = 1) |
25 | | - * @method static void decrement(array|string $stats, float $sampleRate = 1, array $tags = [], int $value = 1) |
26 | | - * @method static void updateStats(array|string $stats, int $delta = 1, float $sampleRate = 1, array $tags = []) |
| 19 | + * @method static void timing(string|UnitEnum $stat, float $durationMs, float $sampleRate = 1, array $tags = []) |
| 20 | + * @method static mixed time(callable $closure, string|UnitEnum $stat, float $sampleRate = 1, array $tags = []) |
| 21 | + * @method static void gauge(string|UnitEnum $stat, float $value, float $sampleRate = 1, array $tags = []) |
| 22 | + * @method static void histogram(string|UnitEnum $stat, float $value, float $sampleRate = 1, array $tags = []) |
| 23 | + * @method static void distribution(string|UnitEnum $stat, float $value, float $sampleRate = 1, array $tags = []) |
| 24 | + * @method static void set(string|UnitEnum $stat, float|string $value, float $sampleRate = 1, array $tags = []) |
| 25 | + * @method static void increment(string|UnitEnum|array $stats, float $sampleRate = 1, array $tags = [], int $value = 1) |
| 26 | + * @method static void decrement(string|UnitEnum|array $stats, float $sampleRate = 1, array $tags = [], int $value = 1) |
| 27 | + * @method static void updateStats(string|UnitEnum|array $stats, int $delta = 1, float $sampleRate = 1, array $tags = []) |
27 | 28 | * @method static mixed getClient() |
28 | 29 | * |
29 | 30 | * @see \Cosmastech\LaravelStatsDAdapter\AdapterManager |
|
0 commit comments