Skip to content

Releases: prometheus/client_golang

1.4.0 / 2020-01-27

27 Jan 18:36
v1.4.0
76dd6c5
Compare
Choose a tag to compare
  • [CHANGE] Go collector: Improve doc string for go_gc_duration_seconds. #702
  • [FEATURE] Support a subset of OpenMetrics, including exemplars. Needs opt-in via promhttp.HandlerOpts. EXPERIMENTAL #706
  • [FEATURE] Add testutil.CollectAndCount. #703

1.3.0 / 2019-12-21

20 Dec 21:18
v1.3.0
c42bebe
Compare
Choose a tag to compare
  • [FEATURE] Support tags in Graphite bridge. #668
  • [BUGFIX] API client: Actually return Prometheus warnings. #699

1.2.1 / 2019-10-17

17 Oct 13:08
v1.2.1
5545057
Compare
Choose a tag to compare

1.2.1 / 2019-10-17

  • [BUGFIX] Fix regression in the implementation of Registerer.Unregister. #663

1.2.0 / 2019-10-15

15 Oct 16:24
v1.2.0
9a2ab94
Compare
Choose a tag to compare
  • [FEATURE] Support pushing to Pushgateway v0.10+. #652
  • [ENHANCEMENT] Improve hashing to make a spurious AlreadyRegisteredError less likely to occur. #657
  • [ENHANCEMENT] API client: Add godoc examples. #630
  • [BUGFIX] promhttp: Correctly call WriteHeader in HTTP middleware. #634

1.1.0 / 2019-08-01

01 Aug 14:22
v1.1.0
170205f
Compare
Choose a tag to compare
  • [CHANGE] API client: Format time as UTC rather than RFC3339Nano. #617
  • [CHANGE] API client: Add warnings to LabelValues and LabelNames calls. #609
  • [FEATURE] Push: Support base64 encoding in grouping key. #624
  • [FEATURE] Push: Add Delete method to Pusher. #613

1.0.0 / 2019-06-15

15 Jun 20:48
v1.0.0
4ab88e8
Compare
Choose a tag to compare

This release removes all previously deprecated features, resulting in the breaking changes listed below. As this is v1.0.0, semantic versioning applies from now on, with the exception of the API client and parts marked explicitly as experimental.

  • [CHANGE] Remove objectives from the default Summary. (Objectives have to be set explicitly in the SummaryOpts.) #600
  • [CHANGE] Remove all HTTP related feature in the prometheus package. (Use the promhttp package instead.) #600
  • [CHANGE] Remove push.FromGatherer, push.AddFromGatherer, push.Collectors. (Use push.New instead.) #600
  • [CHANGE] API client: Pass warnings through on non-error responses. #599
  • [CHANGE] API client: Add warnings to Series call. #603
  • [FEATURE] Make process collector work on Microsoft Windows. EXPERIMENTAL #596
  • [FEATURE] API client: Add /labels call. #604
  • [BUGFIX] Make AlreadyRegisteredError usable for wrapped registries. #607

0.9.4 / 2019-06-07

07 Jun 15:00
v0.9.4
2641b98
Compare
Choose a tag to compare
  • [CHANGE] API client: Switch to alert values as strings. #585
  • [FEATURE] Add a collector for Go module build information. #595
  • [FEATURE] promhttp: Add an counter for internal errors during HTTP exposition. #594
  • [FEATURE] API client: Support target metadata API. #590
  • [FEATURE] API client: Support storage warnings. #562
  • [ENHANCEMENT] API client: Improve performance handling JSON. #570
  • [BUGFIX] Reduce test flakiness. #573

0.9.3 / 2019-05-16

16 May 21:25
v0.9.3
50c4339
Compare
Choose a tag to compare
  • [CHANGE] Required Go version is now 1.9+. #561
  • [FEATURE] API client: Add POST with get fallback for Query/QueryRange. #557
  • [FEATURE] API client: Add alerts endpoint. #552
  • [FEATURE] API client: Add rules endpoint. #508
  • [FEATURE] push: Add option to pick metrics format. #540
  • [ENHANCEMENT] Limit time the Go collector may take to collect memstats,
    returning results from the previous collection in case of a timeout. #568
  • [ENHANCEMENT] Pusher now requires only a thin interface instead of a full
    http.Client, facilitating mocking and custom HTTP client implementation.
    #559
  • [ENHANCEMENT] Memory usage improvement for histograms and summaries without
    objectives. #536
  • [ENHANCEMENT] Summaries without objectives are now lock-free. #521
  • [BUGFIX] promhttp: InstrumentRoundTripperTrace now takes into account a pre-set context. #582
  • [BUGFIX] TestCounterAddLarge now works on all platforms. #567
  • [BUGFIX] Fix promhttp examples. #535 #544
  • [BUGFIX] API client: Wait for done before writing to shared response
    body. #532
  • [BUGFIX] API client: Deal with discovered labels properly. #529

0.9.2 / 2018-12-06

07 Dec 10:54
505eaef
Compare
Choose a tag to compare
  • [FEATURE] Support for Go modules. #501
  • [FEATURE] Timer.ObserveDuration returns observed duration. #509
  • [ENHANCEMENT] Improved doc comments and error messages. #504
  • [BUGFIX] Fix race condition during metrics gathering. #512
  • [BUGFIX] Fix testutil metric comparison for Histograms and empty labels. #494 #498

0.9.1 / 2018-11-03

03 Nov 14:26
abad2d1
Compare
Choose a tag to compare
  • [FEATURE] Add WriteToTextfile function to facilitate the creation of
    *.prom files for the textfile collector of the node exporter. #489
  • [ENHANCEMENT] More descriptive error messages for inconsistent label
    cardinality. #487
  • [ENHANCEMENT] Exposition: Use a GZIP encoder pool to avoid allocations in
    high-frequency scrape scenarios. #366
  • [ENHANCEMENT] Exposition: Streaming serving of metrics data while encoding.
    #482
  • [ENHANCEMENT] API client: Add a way to return the body of a 5xx response.
    #479