Skip to content

Releases: PromPHP/prometheus_client_php

v2.1.0

02 Oct 16:48
1e046c0
Compare
Choose a tag to compare

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 on CollectorRegistry

Bug Fixes:

  • Improve type validation of apcu_fetch calls (#8)

v2.0.1

30 Sep 19:12
Compare
Choose a tag to compare
  • First Release as PromPHP/prometheus_client_php

This releases does not contain any breaking change.