Skip to content

Releases: LartTyler/prometheus-client

3.0.1

19 Sep 16:36
a154c1d
Compare
Choose a tag to compare

Changelog

  • Fixed a bug wherein FilesystemAdapter::search() was returning every key it contained, instead of just those matching the prefix. Resolves #5 (thanks to @underscore200 for the PR).

3.0.0

08 Sep 18:29
5c234f2
Compare
Choose a tag to compare

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 (see Histogram::startTimer() and Histogram::time()); requires symfony/stopwatch.
  • Fixed a bug wherein the $throwOnMissing argument was being ignored for calls to CollectorRegistry::getCounter(), CollectorRegistry::getGauge(), and CollectorRegistry::getHistogram().

Breaking Changes

  • PHP versions before 7.3 are no longer supported.
  • The ApcuAdapter and FilesystemAdapter have been moved to child namespaces under DaybreakStudios\PrometheusClient\Adapter.
  • The return signature for AdapterInterface::search() has been changed to expect a generator instead of an iterator.

2.0.4

21 Mar 19:15
Compare
Choose a tag to compare

Changelog

  • Fixed a bug introduced by 2.0.3 wherein lock files would incorrectly be included by FilesystemAdapter::search().

2.0.3

21 Mar 18:54
9076211
Compare
Choose a tag to compare

Changelog

  • Fixed a bug wherein calls to FilesystemAdapter::modify() (including calls used internally by FilesystemAdapter::increment() and FilesystemAdapter::decrement()) would not consistently lock the key being modified if many processes attempted to acquire the lock at the same time.

2.0.2

14 Mar 21:12
Compare
Choose a tag to compare

Changelog

  • Fixed an issue wherein FilesystemAdapter::clear() would incorrectly delete dot files in the cache directory.

2.0.1

14 Mar 20:48
Compare
Choose a tag to compare

Changelog

  • Fixed an issue wherein bucket keys with a fractional value would not be found during collection.

2.0.0

14 Mar 20:12
facac17
Compare
Choose a tag to compare

Changelog

  • Moved special value encoding into adapters, instead of relying on collectors to properly handle all cases.

1.0.0

07 Mar 18:52
Compare
Choose a tag to compare

Changelog

  • Initial release of 1.0.0.

0.4.0

06 Mar 22:38
Compare
Choose a tag to compare
0.4.0 Pre-release
Pre-release

Changelog

  • Renamed AdapterInterface::compareAndSwap() to AdapterInterface::modify().
  • Improved many PHPDoc blocks.

0.3.3

06 Mar 21:53
Compare
Choose a tag to compare
0.3.3 Pre-release
Pre-release

Changelog

  • Fixed Gauge values not decoding during Gauge::collect().
  • Fixed the +Inf bucket not being included during Histogram::collect().
  • Fixed the sum value for Histogram collectors not being decoded during Histogram::collect().