diff --git a/config/statsd-adapter.php b/config/statsd-adapter.php index 32dd385..d10c7f5 100644 --- a/config/statsd-adapter.php +++ b/config/statsd-adapter.php @@ -9,7 +9,7 @@ "default_tags" => [], /** - * You may name your channel anything you wish. Valid drivers are: + * You may name your channel anything you wish. Valid adapters are: * memory * league * datadog @@ -49,6 +49,7 @@ "global_tags" => [], "metric_prefix" => null, "disable_telemetry" => null, + "origin_detection" => false, ], ], ]; diff --git a/src/AdapterManager.php b/src/AdapterManager.php index f8a7b1b..26d15ed 100644 --- a/src/AdapterManager.php +++ b/src/AdapterManager.php @@ -159,7 +159,7 @@ protected function createLogDatadogAdapter(array $config): DatadogStatsDClientAd protected function createDatadogAdapter(array $config): DatadogStatsDClientAdapter { return new DatadogStatsDClientAdapter( - new DogStatsd($config), + new DogStatsd($config), // @phpstan-ignore argument.type $this->getDefaultTags(), clock: $this->getClockImplementation() );