diff --git a/src/PrometheusServiceProvider.php b/src/PrometheusServiceProvider.php index 97f5280..018f997 100644 --- a/src/PrometheusServiceProvider.php +++ b/src/PrometheusServiceProvider.php @@ -49,7 +49,7 @@ public function register() $this->app->bind(Adapter::class, function ($app) { $factory = $app['prometheus.storage_adapter_factory']; /** @var StorageAdapterFactory $factory */ $driver = config('prometheus.storage_adapter'); - $configs = config('storage_adapters'); + $configs = config('prometheus.storage_adapters'); $config = array_get($configs, $driver, []); return $factory->make($driver, $config); });