Releases: LartTyler/prometheus-client
Releases · LartTyler/prometheus-client
3.0.1
3.0.0
Changelog
- Bumped required PHP version to 7.3.
- Added support for using Redis to store Prometheus data.
- Added support for in-memory metric storage (for testing and debugging purposes).
- Added timing utility functions to
Histogram
(seeHistogram::startTimer()
andHistogram::time()
); requiressymfony/stopwatch
. - Fixed a bug wherein the
$throwOnMissing
argument was being ignored for calls toCollectorRegistry::getCounter()
,CollectorRegistry::getGauge()
, andCollectorRegistry::getHistogram()
.
Breaking Changes
- PHP versions before 7.3 are no longer supported.
- The
ApcuAdapter
andFilesystemAdapter
have been moved to child namespaces underDaybreakStudios\PrometheusClient\Adapter
. - The return signature for
AdapterInterface::search()
has been changed to expect a generator instead of an iterator.
2.0.4
2.0.3
Changelog
- Fixed a bug wherein calls to
FilesystemAdapter::modify()
(including calls used internally byFilesystemAdapter::increment()
andFilesystemAdapter::decrement()
) would not consistently lock the key being modified if many processes attempted to acquire the lock at the same time.