All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.0 - 2020-01-29
- Support for labels using unsigned integers.
1.0.0 - 2020-01-10
- 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.
- Breaking:
prometheus.Histogram
is now used to build histograms, instead ofprometheus.Observer
, which means that previous code buildingprometheus.Observer
won't compile anymore.
- 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.
- Summary building was not failing with malformed objectives.
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.
0.3.0 - 2019-10-10
- Add objectives to summaries through struct tag and set default values when none specified
- Upgraded client_golang to v1
0.2.1 - 2019-06-05
- Reduced the number of default buckets from 12 to 7 between 0.05s and 10s
0.2.0 - 2019-05-20
- Included the implementation builder for summaries #14
0.1.1 - 2019-05-08
- Not failing when embedded labels are wrong #13
0.1.0 - 2019-05-07
- All the code for the initial open source release