add unit tests
This commit is contained in:
parent
00cb369d0b
commit
9c2453f0e4
8 changed files with 508 additions and 22 deletions
|
@ -42,8 +42,8 @@ class PrometheusServiceProvider extends ServiceProvider
|
|||
});
|
||||
$this->app->alias(PrometheusExporter::class, 'prometheus');
|
||||
|
||||
$this->app->bind('prometheus.storage_adapter_factory', function ($app) {
|
||||
return new StorageAdapterFactory($app);
|
||||
$this->app->bind('prometheus.storage_adapter_factory', function () {
|
||||
return new StorageAdapterFactory();
|
||||
});
|
||||
|
||||
$this->app->bind(Adapter::class, function ($app) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue