All Versions
7
Latest Version
Avg Release Cycle
45 days
Latest Release
397 days ago

Changelog History

  • v1.1.0

    January 29, 2020

    โž• Added

    • ๐Ÿ‘Œ Support for labels using unsigned integers.
  • v1.0.0

    January 10, 2020

    โž• Added

    • ๐Ÿ‘Œ Support for empty buckets tag, which will generate nil buckets for the prometheus Histogram and use default prometheus buckets.
    • ๐Ÿ‘Œ Support for empty objectives tag, which will generate nil objectives for the prometheus Summary and use an empty objectives map after all.

    ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ Breaking : prometheus.Histogram is now used to build histograms, instead of prometheus.Observer, which means that previous code building prometheus.Observer won't compile anymore.

    โœ‚ Removed

    • ๐Ÿ’ฅ Breaking : default buckets on histograms. All histogram should explicitly specify their buckets now or they will fail to build.
    • ๐Ÿ’ฅ Breaking : default objectives on summaries. All summaries should explicitly specify their objectives now or they will fail to build.

    ๐Ÿ›  Fixed

    • ๐Ÿ— Summary building was not failing with malformed objectives.

    Migration instructions

    If you're migrating from a v0.x.y, you will need to:

    • Replace Metric func() prometheus.Observer by Metric func() prometheus.Histogram
    • ๐Ÿ‘ On prometheus.Histogram metrics, add buckets:"" which will use the prometheus.DefBuckets bucekts, or even better, define yours.
    • On prometheus.Summary metrics, add objectives:".5,.95,.99" to keep using the same objectives, or define yours.
  • v0.3.0

    October 10, 2019

    โž• Added

    • โž• Add objectives to summaries through struct tag and set default values when none specified ### ๐Ÿ”„ Changed
    • โฌ†๏ธ Upgraded client_golang to v1
  • v0.2.1

    June 05, 2019

    ๐Ÿ”„ Changed

    • โฌ‡๏ธ Reduced the number of default buckets from 12 to 7 between 0.05s and 10s
  • v0.2.0

    May 20, 2019

    ๐Ÿ›  Fixed

    • ๐Ÿ— Included the implementation builder for summaries #14
  • v0.1.1

    May 08, 2019

    ๐Ÿ›  Fixed

    • Not failing when embedded labels are wrong #13
  • v0.1.0

    May 07, 2019

    โž• Added

    • ๐Ÿš€ All the code for the initial open source release

    ๐Ÿš€ [Unreleased]: https://github.com/cabify/gotoprom/compare/v1.1.0...HEAD