-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Description
I'm using Predis on my laravel, I tried to use something like this:
$connection = $this->app->make('redis')->connection(config('prometheus.redis'))->client();
$adapter = Redis::fromExistingConnection($connection);
$registry = new CollectorRegistry($adapter, false);
$renderer = new RenderTextFormat();
$result = $renderer->render($registry->getMetricFamilySamples());
return response()->json(['data' => $result]);
its saying that is not possible to convert Predis to Redis, but I would like to continue working with Predis,
What can I do to keep using this lib?
erycson-cubo, erycson and mtk3d
Metadata
Metadata
Assignees
Labels
No labels