...

Text file src/github.com/prometheus/client_golang/CHANGELOG.md

Documentation: github.com/prometheus/client_golang

     1## Unreleased
     2
     3## 1.19.0 / 2023-02-27
     4
     5The module `prometheus/common v0.48.0` introduced an incompatibility when used together with client_golang (See https://github.com/prometheus/client_golang/pull/1448 for more details). If your project uses client_golang and you want to use `prometheus/common v0.48.0` or higher, please update client_golang to v1.19.0.
     6
     7* [CHANGE] Minimum required go version is now 1.20 (we also test client_golang against new 1.22 version). #1445 #1449
     8* [FEATURE] collectors: Add version collector. #1422 #1427
     9
    10## 1.18.0 / 2023-12-22
    11
    12* [FEATURE] promlint: Allow creation of custom metric validations. #1311
    13* [FEATURE] Go programs using client_golang can be built in wasip1 OS. #1350
    14* [BUGFIX] histograms: Add timer to reset ASAP after bucket limiting has happened. #1367
    15* [BUGFIX] testutil: Fix comparison of metrics with empty Help strings. #1378
    16* [ENHANCEMENT] Improved performance of `MetricVec.WithLabelValues(...)`. #1360
    17
    18## 1.17.0 / 2023-09-27
    19
    20* [CHANGE] Minimum required go version is now 1.19 (we also test client_golang against new 1.21 version). #1325
    21* [FEATURE] Add support for Created Timestamps in Counters, Summaries and Historams. #1313
    22* [ENHANCEMENT] Enable detection of a native histogram without observations. #1314
    23
    24## 1.16.0 / 2023-06-15
    25
    26* [BUGFIX] api: Switch to POST for LabelNames, Series, and QueryExemplars. #1252
    27* [BUGFIX] api: Fix undefined execution order in return statements. #1260
    28* [BUGFIX] native histograms: Fix bug in bucket key calculation. #1279
    29* [ENHANCEMENT] Reduce constrainLabels allocations for all metrics. #1272
    30* [ENHANCEMENT] promhttp: Add process start time header for scrape efficiency. #1278
    31* [ENHANCEMENT] promlint: Improve metricUnits runtime. #1286
    32
    33## 1.15.1 / 2023-05-3
    34
    35* [BUGFIX] Fixed promhttp.Instrument* handlers wrongly trying to attach exemplar to unsupported metrics (e.g. summary), \
    36causing panics. #1253
    37
    38## 1.15.0 / 2023-04-13
    39
    40* [BUGFIX] Fix issue with atomic variables on ppc64le. #1171
    41* [BUGFIX] Support for multiple samples within same metric. #1181
    42* [BUGFIX] Bump golang.org/x/text to v0.3.8 to mitigate CVE-2022-32149. #1187
    43* [ENHANCEMENT] Add exemplars and middleware examples. #1173
    44* [ENHANCEMENT] Add more context to "duplicate label names" error to enable debugging. #1177
    45* [ENHANCEMENT] Add constrained labels and constrained variant for all MetricVecs. #1151
    46* [ENHANCEMENT] Moved away from deprecated github.com/golang/protobuf package. #1183
    47* [ENHANCEMENT] Add possibility to dynamically get label values for http instrumentation. #1066
    48* [ENHANCEMENT] Add ability to Pusher to add custom headers. #1218
    49* [ENHANCEMENT] api: Extend and improve efficiency of json-iterator usage. #1225
    50* [ENHANCEMENT] Added (official) support for go 1.20. #1234
    51* [ENHANCEMENT] timer: Added support for exemplars. #1233
    52* [ENHANCEMENT] Filter expected metrics as well in CollectAndCompare. #1143
    53* [ENHANCEMENT] :warning: Only set start/end if time is not Zero. This breaks compatibility in experimental api package. If you strictly depend on empty time.Time as actual value, the behavior is now changed. #1238
    54
    55## 1.14.0 / 2022-11-08
    56
    57* [FEATURE] Add Support for Native Histograms. #1150
    58* [CHANGE] Extend `prometheus.Registry` to implement `prometheus.Collector` interface. #1103
    59
    60## 1.13.1 / 2022-11-01
    61
    62* [BUGFIX] Fix race condition with Exemplar in Counter. #1146
    63* [BUGFIX] Fix `CumulativeCount` value of `+Inf` bucket created from exemplar. #1148
    64* [BUGFIX] Fix double-counting bug in `promhttp.InstrumentRoundTripperCounter`. #1118
    65
    66## 1.13.0 / 2022-08-05
    67
    68* [CHANGE] Minimum required Go version is now 1.17 (we also test client_golang against new 1.19 version).
    69* [ENHANCEMENT] Added `prometheus.TransactionalGatherer` interface for `promhttp.Handler` use which allows using low allocation update techniques for custom collectors. #989
    70* [ENHANCEMENT] Added exemplar support to `prometheus.NewConstHistogram`. See [`ExampleNewConstHistogram_WithExemplar`](prometheus/examples_test.go#L602) example on how to use it. #986
    71* [ENHANCEMENT] `prometheus/push.Pusher` has now context aware methods that pass context to HTTP request. #1028
    72* [ENHANCEMENT] `prometheus/push.Pusher` has now `Error` method that retrieve last error. #1075
    73* [ENHANCEMENT] `testutil.GatherAndCompare` provides now readable diff on failed comparisons. #998
    74* [ENHANCEMENT] Query API now supports timeouts. #1014
    75* [ENHANCEMENT] New `MetricVec` method `DeletePartialMatch(labels Labels)` for deleting all metrics that match provided labels. #1013
    76* [ENHANCEMENT] `api.Config` now accepts passing custom `*http.Client`. #1025
    77* [BUGFIX] Raise exemplar labels limit from 64 to 128 bytes as specified in OpenMetrics spec. #1091
    78* [BUGFIX] Allow adding exemplar to +Inf bucket to const histograms. #1094
    79* [ENHANCEMENT] Most `promhttp.Instrument*` middlewares now supports adding exemplars to metrics. This allows hooking those to your tracing middleware that retrieves trace ID and put it in exemplar if present. #1055
    80* [ENHANCEMENT] Added `testutil.ScrapeAndCompare` method. #1043
    81* [BUGFIX] Fixed `GopherJS` build support. #897
    82* [ENHANCEMENT] :warning: Added way to specify what `runtime/metrics`  `collectors.NewGoCollector` should use. See [`ExampleGoCollector_WithAdvancedGoMetrics`](prometheus/collectors/go_collector_latest_test.go#L263). #1102
    83
    84## 1.12.2 / 2022-05-13
    85
    86* [CHANGE] Added `collectors.WithGoCollections` that allows to choose what collection of Go runtime metrics user wants: Equivalent of [`MemStats` structure](https://pkg.go.dev/runtime#MemStats) configured using `GoRuntimeMemStatsCollection`, new based on dedicated [runtime/metrics](https://pkg.go.dev/runtime/metrics) metrics represented by `GoRuntimeMetricsCollection` option, or both by specifying `GoRuntimeMemStatsCollection | GoRuntimeMetricsCollection` flag. #1031
    87* [CHANGE] :warning: Change in `collectors.NewGoCollector` metrics: Reverting addition of new ~80 runtime metrics by default. You can enable this back with `GoRuntimeMetricsCollection` option or `GoRuntimeMemStatsCollection | GoRuntimeMetricsCollection` for smooth transition.
    88* [BUGFIX] Fixed the bug that causes generated histogram metric names to end with `_total`. ⚠️ This changes 3 metric names in the new Go collector that was reverted from default in this release.
    89  * `go_gc_heap_allocs_by_size_bytes_total` -> `go_gc_heap_allocs_by_size_bytes`,
    90  * `go_gc_heap_frees_by_size_bytes_total` -> `go_gc_heap_allocs_by_size_bytes`
    91  * `go_gc_pauses_seconds_total` -> `go_gc_pauses_seconds`.
    92* [CHANCE] Removed `-Inf` buckets from new Go Collector histograms.
    93
    94## 1.12.1 / 2022-01-29
    95
    96* [BUGFIX] Make the Go 1.17 collector concurrency-safe #969
    97  * Use simpler locking in the Go 1.17 collector #975
    98* [BUGFIX] Reduce granularity of histogram buckets for Go 1.17 collector #974
    99* [ENHANCEMENT] API client: make HTTP reads more efficient #976
   100
   101## 1.12.0 / 2022-01-19
   102
   103* [CHANGE] example/random: Move flags and metrics into main() #935
   104* [FEATURE] API client: Support wal replay status api #944
   105* [FEATURE] Use the runtime/metrics package for the Go collector for 1.17+ #955
   106* [ENHANCEMENT] API client: Update /api/v1/status/tsdb to include headStats #925
   107* [ENHANCEMENT] promhttp: Check validity of method and code label values #962
   108
   109## 1.11.0 / 2021-06-07
   110
   111* [CHANGE] Add new collectors package. #862
   112* [CHANGE] `prometheus.NewExpvarCollector` is deprecated, use `collectors.NewExpvarCollector` instead. #862
   113* [CHANGE] `prometheus.NewGoCollector` is deprecated, use `collectors.NewGoCollector` instead. #862
   114* [CHANGE] `prometheus.NewBuildInfoCollector` is deprecated, use `collectors.NewBuildInfoCollector` instead. #862
   115* [FEATURE] Add new collector for database/sql#DBStats. #866
   116* [FEATURE] API client: Add exemplars API support. #861
   117* [ENHANCEMENT] API client: Add newer fields to Rules API. #855
   118* [ENHANCEMENT] API client: Add missing fields to Targets API. #856
   119
   120## 1.10.0 / 2021-03-18
   121
   122* [CHANGE] Minimum required Go version is now 1.13.
   123* [CHANGE] API client: Add matchers to `LabelNames` and `LabesValues`. #828
   124* [FEATURE] API client: Add buildinfo call. #841
   125* [BUGFIX] Fix build on riscv64. #833
   126
   127## 1.9.0 / 2020-12-17
   128
   129* [FEATURE] `NewPidFileFn` helper to create process collectors for processes whose PID is read from a file. #804
   130* [BUGFIX] promhttp: Prevent endless loop in `InstrumentHandler...` middlewares with invalid metric or label names. #823
   131
   132## 1.8.0 / 2020-10-15
   133
   134* [CHANGE] API client: Use `time.Time` rather than `string` for timestamps in `RuntimeinfoResult`. #777
   135* [FEATURE] Export `MetricVec` to facilitate implementation of vectors of custom `Metric` types. #803
   136* [FEATURE] API client: Support `/status/tsdb` endpoint. #773
   137* [ENHANCEMENT] API client: Enable GET fallback on status code 501. #802
   138* [ENHANCEMENT] Remove `Metric` references after reslicing to free up more memory. #784
   139
   140## 1.7.1 / 2020-06-23
   141
   142* [BUGFIX] API client: Actually propagate start/end parameters of `LabelNames` and `LabelValues`. #771
   143
   144## 1.7.0 / 2020-06-17
   145
   146* [CHANGE] API client: Add start/end parameters to `LabelNames` and `LabelValues`. #767
   147* [FEATURE] testutil: Add `GatherAndCount` and enable filtering in `CollectAndCount` #753
   148* [FEATURE] API client: Add support for `status` and `runtimeinfo` endpoints. #755
   149* [ENHANCEMENT] Wrapping `nil` with a `WrapRegistererWith...` function creates a no-op `Registerer`.  #764
   150* [ENHANCEMENT] promlint: Allow Kelvin as a base unit for cases like color temperature. #761
   151* [BUGFIX] push: Properly handle empty job and label values. #752
   152
   153## 1.6.0 / 2020-04-28
   154
   155* [FEATURE] testutil: Add lint checks for metrics, including a sub-package `promlint` to expose the linter engine for external usage. #739 #743
   156* [ENHANCEMENT] API client: Improve error messages. #731
   157* [BUGFIX] process collector: Fix `process_resident_memory_bytes` on 32bit MS Windows. #734
   158
   159## 1.5.1 / 2020-03-14
   160
   161* [BUGFIX] promhttp: Remove another superfluous `WriteHeader` call. #726
   162
   163## 1.5.0 / 2020-03-03
   164
   165* [FEATURE] promauto: Add a factory to allow automatic registration with a local registry. #713
   166* [FEATURE] promauto: Add `NewUntypedFunc`. #713
   167* [FEATURE] API client: Support new metadata endpoint. #718
   168
   169## 1.4.1 / 2020-02-07
   170
   171* [BUGFIX] Fix timestamp of exemplars in `CounterVec`. #710
   172
   173## 1.4.0 / 2020-01-27
   174
   175* [CHANGE] Go collector: Improve doc string for `go_gc_duration_seconds`. #702
   176* [FEATURE] Support a subset of OpenMetrics, including exemplars. Needs opt-in via `promhttp.HandlerOpts`. **EXPERIMENTAL** #706
   177* [FEATURE] Add `testutil.CollectAndCount`. #703
   178
   179## 1.3.0 / 2019-12-21
   180
   181* [FEATURE] Support tags in Graphite bridge. #668
   182* [BUGFIX] API client: Actually return Prometheus warnings. #699
   183
   184## 1.2.1 / 2019-10-17
   185
   186* [BUGFIX] Fix regression in the implementation of `Registerer.Unregister`. #663
   187
   188## 1.2.0 / 2019-10-15
   189
   190* [FEATURE] Support pushing to Pushgateway v0.10+. #652
   191* [ENHANCEMENT] Improve hashing to make a spurious `AlreadyRegisteredError` less likely to occur. #657
   192* [ENHANCEMENT] API client: Add godoc examples. #630
   193* [BUGFIX] promhttp: Correctly call WriteHeader in HTTP middleware. #634
   194
   195## 1.1.0 / 2019-08-01
   196
   197* [CHANGE] API client: Format time as UTC rather than RFC3339Nano. #617
   198* [CHANGE] API client: Add warnings to `LabelValues` and `LabelNames` calls. #609
   199* [FEATURE] Push: Support base64 encoding in grouping key. #624
   200* [FEATURE] Push: Add Delete method to Pusher. #613
   201
   202## 1.0.0 / 2019-06-15
   203
   204_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._
   205
   206* [CHANGE] Remove objectives from the default `Summary`. (Objectives have to be set explicitly in the `SummaryOpts`.) #600
   207* [CHANGE] Remove all HTTP related feature in the `prometheus` package. (Use the `promhttp` package instead.)  #600
   208* [CHANGE] Remove `push.FromGatherer`, `push.AddFromGatherer`, `push.Collectors`. (Use `push.New` instead.) #600
   209* [CHANGE] API client: Pass warnings through on non-error responses. #599
   210* [CHANGE] API client: Add warnings to `Series` call. #603
   211* [FEATURE] Make process collector work on Microsoft Windows. **EXPERIMENTAL** #596
   212* [FEATURE] API client: Add `/labels` call. #604
   213* [BUGFIX] Make `AlreadyRegisteredError` usable for wrapped registries. #607
   214
   215## 0.9.4 / 2019-06-07
   216
   217* [CHANGE] API client: Switch to alert values as strings. #585
   218* [FEATURE] Add a collector for Go module build information. #595
   219* [FEATURE] promhttp: Add an counter for internal errors during HTTP exposition. #594
   220* [FEATURE] API client: Support target metadata API. #590
   221* [FEATURE] API client: Support storage warnings. #562
   222* [ENHANCEMENT] API client: Improve performance handling JSON. #570
   223* [BUGFIX] Reduce test flakiness. #573
   224
   225## 0.9.3 / 2019-05-16
   226
   227* [CHANGE] Required Go version is now 1.9+. #561
   228* [FEATURE] API client: Add POST with get fallback for Query/QueryRange. #557
   229* [FEATURE] API client: Add alerts endpoint. #552
   230* [FEATURE] API client: Add rules endpoint. #508
   231* [FEATURE] push: Add option to pick metrics format. #540
   232* [ENHANCEMENT] Limit time the Go collector may take to collect memstats,
   233  returning results from the previous collection in case of a timeout. #568
   234* [ENHANCEMENT] Pusher now requires only a thin interface instead of a full
   235  `http.Client`, facilitating mocking and custom HTTP client implementation.
   236  #559
   237* [ENHANCEMENT] Memory usage improvement for histograms and summaries without
   238  objectives. #536
   239* [ENHANCEMENT] Summaries without objectives are now lock-free. #521
   240* [BUGFIX] promhttp: `InstrumentRoundTripperTrace` now takes into account a pre-set context. #582
   241* [BUGFIX] `TestCounterAddLarge` now works on all platforms. #567
   242* [BUGFIX] Fix `promhttp` examples. #535 #544
   243* [BUGFIX] API client: Wait for done before writing to shared response
   244  body. #532
   245* [BUGFIX] API client: Deal with discovered labels properly. #529
   246
   247## 0.9.2 / 2018-12-06
   248
   249* [FEATURE] Support for Go modules. #501
   250* [FEATURE] `Timer.ObserveDuration` returns observed duration. #509
   251* [ENHANCEMENT] Improved doc comments and error messages. #504
   252* [BUGFIX] Fix race condition during metrics gathering. #512
   253* [BUGFIX] Fix testutil metric comparison for Histograms and empty labels. #494
   254  #498
   255
   256## 0.9.1 / 2018-11-03
   257
   258* [FEATURE] Add `WriteToTextfile` function to facilitate the creation of
   259  *.prom files for the textfile collector of the node exporter. #489
   260* [ENHANCEMENT] More descriptive error messages for inconsistent label
   261  cardinality. #487
   262* [ENHANCEMENT] Exposition: Use a GZIP encoder pool to avoid allocations in
   263  high-frequency scrape scenarios. #366
   264* [ENHANCEMENT] Exposition: Streaming serving of metrics data while encoding.
   265  #482
   266* [ENHANCEMENT] API client: Add a way to return the body of a 5xx response.
   267  #479
   268
   269## 0.9.0 / 2018-10-15
   270
   271* [CHANGE] Go1.6 is no longer supported.
   272* [CHANGE] More refinements of the `Registry` consistency checks: Duplicated
   273  labels are now detected, but inconsistent label dimensions are now allowed.
   274  Collisions with the “magic” metric and label names in Summaries and
   275  Histograms are detected now. #108 #417 #471
   276* [CHANGE] Changed `ProcessCollector` constructor. #219
   277* [CHANGE] Changed Go counter `go_memstats_heap_released_bytes_total` to gauge
   278  `go_memstats_heap_released_bytes`. #229
   279* [CHANGE] Unexported `LabelPairSorter`. #453
   280* [CHANGE] Removed the `Untyped` metric from direct instrumentation. #340
   281* [CHANGE] Unexported `MetricVec`. #319
   282* [CHANGE] Removed deprecated `Set` method from `Counter` #247
   283* [CHANGE] Removed deprecated `RegisterOrGet` and `MustRegisterOrGet`. #247
   284* [CHANGE] API client: Introduced versioned packages.
   285* [FEATURE] A `Registerer` can be wrapped with prefixes and labels. #357
   286* [FEATURE] “Describe by collect” helper function. #239
   287* [FEATURE] Added package `testutil`. #58
   288* [FEATURE] Timestamp can be explicitly set for const metrics. #187
   289* [FEATURE] “Unchecked” collectors are possible now without cheating. #47
   290* [FEATURE] Pushing to the Pushgateway reworked in package `push` to support
   291  many new features. (The old functions are still usable but deprecated.) #372
   292  #341
   293* [FEATURE] Configurable connection limit for scrapes. #179
   294* [FEATURE] New HTTP middlewares to instrument `http.Handler` and
   295  `http.RoundTripper`. The old middlewares and the pre-instrumented `/metrics`
   296  handler are (strongly) deprecated. #316 #57 #101 #224
   297* [FEATURE] “Currying” for metric vectors. #320
   298* [FEATURE] A `Summary` can be created without quantiles. #118
   299* [FEATURE] Added a `Timer` helper type. #231
   300* [FEATURE] Added a Graphite bridge. #197
   301* [FEATURE] Help strings are now optional. #460
   302* [FEATURE] Added `process_virtual_memory_max_bytes` metric. #438 #440
   303* [FEATURE] Added `go_gc_cpu_fraction` and `go_threads` metrics. #281 #277
   304* [FEATURE] Added `promauto` package with auto-registering metrics. #385 #393
   305* [FEATURE] Add `SetToCurrentTime` method to `Gauge`. #259
   306* [FEATURE] API client: Add AlertManager, Status, and Target methods. #402
   307* [FEATURE] API client: Add admin methods. #398
   308* [FEATURE] API client: Support series API. #361
   309* [FEATURE] API client: Support querying label values.
   310* [ENHANCEMENT] Smarter creation of goroutines during scraping. Solves memory
   311  usage spikes in certain situations. #369
   312* [ENHANCEMENT] Counters are now faster if dealing with integers only. #367
   313* [ENHANCEMENT] Improved label validation. #274 #335
   314* [BUGFIX] Creating a const metric with an invalid `Desc` returns an error. #460
   315* [BUGFIX] Histogram observations don't race any longer with exposition. #275
   316* [BUGFIX] Fixed goroutine leaks. #236 #472
   317* [BUGFIX] Fixed an error message for exponential histogram buckets. #467
   318* [BUGFIX] Fixed data race writing to the metric map. #401
   319* [BUGFIX] API client: Decode JSON on a 4xx response but do not on 204
   320  responses. #476 #414
   321
   322## 0.8.0 / 2016-08-17
   323
   324* [CHANGE] Registry is doing more consistency checks. This might break
   325  existing setups that used to export inconsistent metrics.
   326* [CHANGE] Pushing to Pushgateway moved to package `push` and changed to allow
   327  arbitrary grouping.
   328* [CHANGE] Removed `SelfCollector`.
   329* [CHANGE] Removed `PanicOnCollectError` and `EnableCollectChecks` methods.
   330* [CHANGE] Moved packages to the prometheus/common repo: `text`, `model`,
   331  `extraction`.
   332* [CHANGE] Deprecated a number of functions.
   333* [FEATURE] Allow custom registries. Added `Registerer` and `Gatherer`
   334  interfaces.
   335* [FEATURE] Separated HTTP exposition, allowing custom HTTP handlers (package
   336  `promhttp`) and enabling the creation of other exposition mechanisms.
   337* [FEATURE] `MustRegister` is variadic now, allowing registration of many
   338  collectors in one call.
   339* [FEATURE] Added HTTP API v1 package.
   340* [ENHANCEMENT] Numerous documentation improvements.
   341* [ENHANCEMENT] Improved metric sorting.
   342* [ENHANCEMENT] Inlined fnv64a hashing for improved performance.
   343* [ENHANCEMENT] Several test improvements.
   344* [BUGFIX] Handle collisions in MetricVec.
   345
   346## 0.7.0 / 2015-07-27
   347
   348* [CHANGE] Rename ExporterLabelPrefix to ExportedLabelPrefix.
   349* [BUGFIX] Closed gaps in metric consistency check.
   350* [BUGFIX] Validate LabelName/LabelSet on JSON unmarshaling.
   351* [ENHANCEMENT] Document the possibility to create "empty" metrics in
   352  a metric vector.
   353* [ENHANCEMENT] Fix and clarify various doc comments and the README.md.
   354* [ENHANCEMENT] (Kind of) solve "The Proxy Problem" of http.InstrumentHandler.
   355* [ENHANCEMENT] Change responseWriterDelegator.written to int64.
   356
   357## 0.6.0 / 2015-06-01
   358
   359* [CHANGE] Rename process_goroutines to go_goroutines.
   360* [ENHANCEMENT] Validate label names during YAML decoding.
   361* [ENHANCEMENT] Add LabelName regular expression.
   362* [BUGFIX] Ensure alignment of struct members for 32-bit systems.
   363
   364## 0.5.0 / 2015-05-06
   365
   366* [BUGFIX] Removed a weakness in the fingerprinting aka signature code.
   367  This makes fingerprinting slower and more allocation-heavy, but the
   368  weakness was too severe to be tolerated.
   369* [CHANGE] As a result of the above, Metric.Fingerprint is now returning
   370  a different fingerprint. To keep the same fingerprint, the new method
   371  Metric.FastFingerprint was introduced, which will be used by the
   372  Prometheus server for storage purposes (implying that a collision
   373  detection has to be added, too).
   374* [ENHANCEMENT] The Metric.Equal and Metric.Before do not depend on
   375  fingerprinting anymore, removing the possibility of an undetected
   376  fingerprint collision.
   377* [FEATURE] The Go collector in the exposition library includes garbage
   378  collection stats.
   379* [FEATURE] The exposition library allows to create constant "throw-away"
   380  summaries and histograms.
   381* [CHANGE] A number of new reserved labels and prefixes.
   382
   383## 0.4.0 / 2015-04-08
   384
   385* [CHANGE] Return NaN when Summaries have no observations yet.
   386* [BUGFIX] Properly handle Summary decay upon Write().
   387* [BUGFIX] Fix the documentation link to the consumption library.
   388* [FEATURE] Allow the metric family injection hook to merge with existing
   389  metric families.
   390* [ENHANCEMENT] Removed cgo dependency and conditional compilation of procfs.
   391* [MAINTENANCE] Adjusted to changes in matttproud/golang_protobuf_extensions.
   392
   393## 0.3.2 / 2015-03-11
   394
   395* [BUGFIX] Fixed the receiver type of COWMetric.Set(). This method is
   396  only used by the Prometheus server internally.
   397* [CLEANUP] Added licenses of vendored code left out by godep.
   398
   399## 0.3.1 / 2015-03-04
   400
   401* [ENHANCEMENT] Switched fingerprinting functions from own free list to
   402  sync.Pool.
   403* [CHANGE] Makefile uses Go 1.4.2 now (only relevant for examples and tests).
   404
   405## 0.3.0 / 2015-03-03
   406
   407* [CHANGE] Changed the fingerprinting for metrics. THIS WILL INVALIDATE ALL
   408  PERSISTED FINGERPRINTS. IF YOU COMPILE THE PROMETHEUS SERVER WITH THIS
   409  VERSION, YOU HAVE TO WIPE THE PREVIOUSLY CREATED STORAGE.
   410* [CHANGE] LabelValuesToSignature removed. (Nobody had used it, and it was
   411  arguably broken.)
   412* [CHANGE] Vendored dependencies. Those are only used by the Makefile. If
   413  client_golang is used as a library, the vendoring will stay out of your way.
   414* [BUGFIX] Remove a weakness in the fingerprinting for metrics. (This made
   415  the fingerprinting change above necessary.)
   416* [FEATURE] Added new fingerprinting functions SignatureForLabels and
   417  SignatureWithoutLabels to be used by the Prometheus server. These functions
   418  require fewer allocations than the ones currently used by the server.
   419
   420## 0.2.0 / 2015-02-23
   421
   422* [FEATURE] Introduce new Histagram metric type.
   423* [CHANGE] Ignore process collector errors for now (better error handling
   424  pending).
   425* [CHANGE] Use clear error interface for process pidFn.
   426* [BUGFIX] Fix Go download links for several archs and OSes.
   427* [ENHANCEMENT] Massively improve Gauge and Counter performance.
   428* [ENHANCEMENT] Catch illegal label names for summaries in histograms.
   429* [ENHANCEMENT] Reduce allocations during fingerprinting.
   430* [ENHANCEMENT] Remove cgo dependency. procfs package will only be included if
   431  both cgo is available and the build is for an OS with procfs.
   432* [CLEANUP] Clean up code style issues.
   433* [CLEANUP] Mark slow test as such and exclude them from travis.
   434* [CLEANUP] Update protobuf library package name.
   435* [CLEANUP] Updated vendoring of beorn7/perks.
   436
   437## 0.1.0 / 2015-02-02
   438
   439* [CLEANUP] Introduced semantic versioning and changelog. From now on,
   440  changes will be reported in this file.

View as plain text