v2.1.0
Features:
- Expose
php_info
metrics by default (including the PHP version) (#2)
# HELP php_info Information about the PHP environment.
# TYPE php_info gauge
php_info{version="7.4.10"} 1
This was introduced to be more in line with the official (and recommended) client libraries for Prometheus (Golang, Python, Ruby). It is planned to introduce more default metrics about the collection process in future versions.
Notes/Improvements:
- Added phpstan to improve code quality (#3)
- Enabled APCU tests within CI (#7)
- Refactored RedisStorage to be easier understandable (#5 , #9)
- Renamed the first parameter
$redisAdapter
to$storageAdapter
onCollectorRegistry
Bug Fixes:
- Improve type validation of apcu_fetch calls (#8)