All Versions
7
Latest Version
Avg Release Cycle
45 days
Latest Release
1339 days ago
Changelog History
Changelog History
-
v1.1.0 Changes
January 29, 2020โ Added
- ๐ Support for labels using unsigned integers.
-
v1.0.0 Changes
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 ofprometheus.Observer
, which means that previous code buildingprometheus.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
byMetric func() prometheus.Histogram
- ๐ On
prometheus.Histogram
metrics, addbuckets:""
which will use theprometheus.DefBuckets
bucekts, or even better, define yours. - On
prometheus.Summary
metrics, addobjectives:".5,.95,.99"
to keep using the same objectives, or define yours.
-
v0.3.0 Changes
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 Changes
June 05, 2019๐ Changed
- โฌ๏ธ Reduced the number of default buckets from 12 to 7 between 0.05s and 10s
-
v0.2.0 Changes
May 20, 2019๐ Fixed
- ๐ Included the implementation builder for summaries #14
-
v0.1.1 Changes
May 08, 2019๐ Fixed
- Not failing when embedded labels are wrong #13
-
v0.1.0 Changes
May 07, 2019โ Added
- ๐ All the code for the initial open source release
๐ [Unreleased]: https://github.com/cabify/gotoprom/compare/v1.1.0...HEAD