Skip to content

Latest commit

 

History

History
66 lines (37 loc) · 1.58 KB

CHANGELOG.md

File metadata and controls

66 lines (37 loc) · 1.58 KB

1.0.0+1

  • Upgrade lints package to version 2.0.0.

1.0.0

  • Stable release of prometheus_client 🎉, contains no changes since 0.6.0.

0.6.0

  • Introduce a collectCallback into every metric type, which allows to update the metric before the sample values are collected. This is useful to perform more complex metric calculation only when the metrics are scraped.
  • Breaking Change: Make Collector.collect() method on metrics async. Related code like CollectorRegistry.collectMetricFamilySamples(), is now async, too.
  • Polish documentation towards a 1.0.0 release.

0.5.1

  • Migrate from pedantic to lints

0.5.0

  • Migrate to null-safety.
  • Change all metrics constructors to take name and help as required named parameters.

0.4.1

  • counter.inc() should only allow to increment by values greater than zero.

0.4.0+4

0.4.0+3

  • Remove author from pubspec.

0.4.0+2

  • Fix some analyzer issues, no functional changes.

0.4.0+1

  • Align version constraint to prometheus_client_shelf.

0.4.0

0.3.0+1

  • Increase version constraint range on package collection to ^1.14.11 to be compatible with flutter.

0.3.0

  • Implement Summary metric type.

0.2.0

  • Support timestamp for samples.

0.1.0

  • Initial version.
  • Implements Counter, Gauge and Histogram.
  • Includes a shelf handler to export metrics and a shelf middleware to measure performance.