Releases: prometheus/client_golang
Releases · prometheus/client_golang
1.12.0 / 2022-01-19
- [CHANGE] example/random: Move flags and metrics into main() #935
- [FEATURE] API client: Support wal replay status api #944
- [FEATURE] Use the runtime/metrics package for the Go collector for 1.17+ #955
- [ENHANCEMENT] API client: Update /api/v1/status/tsdb to include headStats #925
- [SECURITY FIX] promhttp: Check validity of method and code label values #962 (Addressed
CVE-2022-21698
)
What's Changed
- Address minor issues on the changelog by @kakkoyun in #879
- Synchronize common files from prometheus/prometheus by @prombot in #888
- Update status badgets by @SuperQ in #885
- Updating dependency versions + cleanup by @sivabalan in #881
- Synchronize common files from prometheus/prometheus by @prombot in #892
- add ExponentialBucketsRange function by @sbunce in #899
- Synchronize common files from prometheus/prometheus by @prombot in #909
- Update cespare/xxhash dependency by @dtrudg in #913
- example/random: Move flags and metrics into main() by @beorn7 in #935
- Fix typo by @gozeloglu in #939
- Add support for go 1.17 by @mrueg in #950
- Synchronize common files from prometheus/prometheus by @prombot in #928
- Synchronize common files from prometheus/prometheus by @prombot in #952
- API: support wal replay status api by @yeya24 in #944
- Update /api/v1/status/tsdb to include headStats by @prymitive in #925
- Use the runtime/metrics package for the Go collector for 1.17+ by @mknyszek in #955
- promhttp: Check validity of method and code label values by @kakkoyun in #962
- go.*: Update dependencies by @kakkoyun in #965
New Contributors
- @sivabalan made their first contribution in #881
- @sbunce made their first contribution in #899
- @dtrudg made their first contribution in #913
- @gozeloglu made their first contribution in #939
- @mrueg made their first contribution in #950
- @prymitive made their first contribution in #925
- @mknyszek made their first contribution in #955
Full Changelog: v1.11.0...v1.12.0
v1.11.0 / 2021-06-07
- [CHANGE] Add new collectors package. #862
- [CHANGE]
prometheus.NewExpvarCollector
is deprecated, usecollectors.NewExpvarCollector
instead. #862 - [CHANGE]
prometheus.NewGoCollector
is deprecated, usecollectors.NewGoCollector
instead. #862 - [CHANGE]
prometheus.NewBuildInfoCollector
is deprecated, usecollectors.NewBuildInfoCollector
instead. #862 - [FEATURE] Add new collector for database/sql#DBStats. #866
- [FEATURE] API client: Add exemplars API support. #861
- [ENHANCEMENT] API client: Add newer fields to Rules API. #855
- [ENHANCEMENT] API client: Add missing fields to Targets API. #856
What's Changed
- Synchronize common files from prometheus/prometheus by @prombot in #846
- Synchronize common files from prometheus/prometheus by @prombot in #849
- Synchronize common files from prometheus/prometheus by @prombot in #853
- Add newer fields to Rules API by @gouthamve in #855
- Add missing fields to targets API by @yeya24 in #856
- Synchronize common files from prometheus/prometheus by @prombot in #857
- Add exemplars API support by @yeya24 in #861
- Improve description of MaxAge in summary docs by @Dean-Coakley in #864
- Add new collectors package by @johejo in #862
- Add collector for database/sql#DBStats by @johejo in #866
- Make dbStatsCollector more DRY by @beorn7 in #867
- Change maintainers from @beorn7 to @bwplotka/@kakkoyun by @beorn7 in #873
- Document implications of negative observations by @beorn7 in #871
- Update Go modules by @SuperQ in #875
New Contributors
- @gouthamve made their first contribution in #855
Full Changelog: v1.10.0...v1.11.0
1.10.0 / 2021-03-18
- [CHANGE] Minimum required Go version is now 1.13.
- [CHANGE] API client: Add matchers to
LabelNames
andLabesValues
. #828 - [FEATURE] API client: Add buildinfo call. #841
- [BUGFIX] Fix build on riscv64. #833
What's Changed
- Add SECURITY.md by @roidelapluie in #831
- Bump prometheus/procfs to 0.3.0 to fix building on riscv64 by @zhsj in #833
- Fix typo in comments in #835
- Support matchers in labels API by @yeya24 in #828
- Add buildinfo method by @ntk148v in #841
- Update dependencies by @beorn7 in #843
- Synchronize common files from prometheus/prometheus by @prombot in #844
- Cut v1.10.0 by @beorn7 in #845
New Contributors
Full Changelog: v1.9.0...v1.10.0
1.9.0 / 2020-12-17
- [FEATURE]
NewPidFileFn
helper to create process collectors for processes whose PID is read from a file. #804 - [BUGFIX] promhttp: Prevent endless loop in
InstrumentHandler...
middlewares with invalid metric or label names. #823
What's Changed
- add the NewPidFileFn to helper by @sbookworm in #804
- Synchronize common files from prometheus/prometheus by @prombot in #809
- Synchronize common files from prometheus/prometheus by @prombot in #811
- Added example api code showing how to add auth tokens and user agents to prom client. by @bwplotka in #817
- Correct spelling: possibilites -> possibilities by @jubalh in #819
- Be more explicit about the multi-line properties of MultiError by @beorn7 in #821
- promhttp: Correctly detect invalid metric and label names by @beorn7 in #823
-  Cut release 1.9.0 by @beorn7 in #826
New Contributors
- @sbookworm made their first contribution in #804
- @jubalh made their first contribution in #819
Full Changelog: v1.8.0...v1.9.0
1.8.0 / 2020-10-15
- [CHANGE] API client: Use
time.Time
rather thanstring
for timestamps inRuntimeinfoResult
. #777 - [FEATURE] Export
MetricVec
to facilitate implementation of vectors of customMetric
types. #803 - [FEATURE API client: Support
/status/tsdb
endpoint. #773 - [ENHANCEMENT] API client: Enable GET fallback on status code 501. #802
- [ENHANCEMENT] Remove
Metric
references after reslicing to free up more memory. #784
What's Changed
- Add support for tsdb endpoint by @HimaVarsha94 in #773
- Use time.Time for timestamps in Runtimeinfo by @mxey in #777
- fix tests warning about string(int) type conversions by @johejo in #779
- Update collector comment about GC stop-the-world by @roidelapluie in #783
- Remove reference to Metric after reslicing by @hummerd in #784
- Support go 1.15 by @roidelapluie in #792
- Replace with the standard library constant. by @johncming in #793
- Synchronize common files from prometheus/prometheus by @prombot in #797
- Remove spurious commas from links to the docs site by @beorn7 in #800
- API client: Enable fallback on status code 501, too by @beorn7 in #802
- Export MetricVec (again) by @beorn7 in #803
- Cut v1.8.0 by @beorn7 in #806
New Contributors
- @HimaVarsha94 made their first contribution in #773
- @mxey made their first contribution in #777
- @hummerd made their first contribution in #784
- @johncming made their first contribution in #793
Full Changelog: v1.7.1...v1.8.0
1.7.1 / 2020-06-23
- [BUGFIX] API client: Actually propagate start/end parameters of
LabelNames
andLabelValues
. #771
1.7.0 / 2020-06-17
- [CHANGE] API client: Add start/end parameters to
LabelNames
andLabelValues
. #767 - [FEATURE] testutil: Add
GatherAndCount
and enable filtering inCollectAndCount
#753 - [FEATURE] API client: Add support for
status
andruntimeinfo
endpoints. #755 - [ENHANCEMENT] Wrapping
nil
with aWrapRegistererWith...
function creates a no-opRegisterer
. #764 - [ENHANCEMENT] promlint: Allow Kelvin as a base unit for cases like color temperature. #761
- [BUGFIX] push: Properly handle empty job and label values. #752
1.6.0 / 2020-04-28
1.5.1 / 2020-03-14
- [BUGFIX] promhttp: Remove another superfluous
WriteHeader
call.