Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus Swoole Adapters

Prometheus endclothing/prometheus_client_php Storage Adapters for Swoole

MakiseRedisAdaper

This adapter is a copy of original RedisAdapter, but it works with RedisPool (makise-co/redis) and it's no longer work with static variables.

Usage

/** @var \MakiseCo\Redis\RedisPool $pool */
$adapter = new \MakiseCo\Prometheus\Storage\MakiseRedisStorage($pool, 'test_makise');
$collector = new \Prometheus\CollectorRegistry($adapter);

// do anything what you want with $collector

About

Prometheus Storage Adapters for Swoole

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages