makise-co/prometheus
Composer 安装命令:
composer require makise-co/prometheus
包简介
Makise-Co set of Prometheus StorageAdapters for Swoole
README 文档
README
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
统计信息
- 总下载量: 320
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-08-11