Skip to content

Commit

Permalink
Merge branch 'master' into sparsehistogram
Browse files Browse the repository at this point in the history
  • Loading branch information
beorn7 committed Jun 11, 2021
2 parents 97eb041 + 1965365 commit 5aa8534
Show file tree
Hide file tree
Showing 18 changed files with 546 additions and 372 deletions.
30 changes: 28 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 1.11.0 / 2021-06-07

* [CHANGE] Add new collectors package. #862
* [CHANGE] `prometheus.NewExpvarCollector` is deprecated, use `collectors.NewExpvarCollector` instead. #862
* [CHANGE] `prometheus.NewGoCollector` is deprecated, use `collectors.NewGoCollector` instead. #862
* [CHANGE] `prometheus.NewBuildInfoCollector` is deprecated, use `collectors.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

## 1.10.0 / 2021-03-18

* [CHANGE] Minimum required Go version is now 1.13.
Expand All @@ -14,7 +25,7 @@

* [CHANGE] API client: Use `time.Time` rather than `string` for timestamps in `RuntimeinfoResult`. #777
* [FEATURE] Export `MetricVec` to facilitate implementation of vectors of custom `Metric` types. #803
* [FEATURE API client: Support `/status/tsdb` endpoint. #773
* [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

Expand Down Expand Up @@ -94,6 +105,7 @@ _This release removes all previously deprecated features, resulting in the break
* [BUGFIX] Make `AlreadyRegisteredError` usable for wrapped registries. #607

## 0.9.4 / 2019-06-07

* [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
Expand All @@ -103,6 +115,7 @@ _This release removes all previously deprecated features, resulting in the break
* [BUGFIX] Reduce test flakiness. #573

## 0.9.3 / 2019-05-16

* [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
Expand All @@ -124,14 +137,16 @@ _This release removes all previously deprecated features, resulting in the break
* [BUGFIX] API client: Deal with discovered labels properly. #529

## 0.9.2 / 2018-12-06

* [FEATURE] Support for Go modules. #501
* [FEATURE] `Timer.ObserveDuration` returns observed duration. #509
* [ENHANCEMENT] Improved doc comments and error messages. #504
* [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

* [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
Expand All @@ -144,6 +159,7 @@ _This release removes all previously deprecated features, resulting in the break
#479

## 0.9.0 / 2018-10-15

* [CHANGE] Go1.6 is no longer supported.
* [CHANGE] More refinements of the `Registry` consistency checks: Duplicated
labels are now detected, but inconsistent label dimensions are now allowed.
Expand Down Expand Up @@ -196,6 +212,7 @@ _This release removes all previously deprecated features, resulting in the break
responses. #476 #414

## 0.8.0 / 2016-08-17

* [CHANGE] Registry is doing more consistency checks. This might break
existing setups that used to export inconsistent metrics.
* [CHANGE] Pushing to Pushgateway moved to package `push` and changed to allow
Expand All @@ -219,6 +236,7 @@ _This release removes all previously deprecated features, resulting in the break
* [BUGFIX] Handle collisions in MetricVec.

## 0.7.0 / 2015-07-27

* [CHANGE] Rename ExporterLabelPrefix to ExportedLabelPrefix.
* [BUGFIX] Closed gaps in metric consistency check.
* [BUGFIX] Validate LabelName/LabelSet on JSON unmarshaling.
Expand All @@ -229,12 +247,14 @@ _This release removes all previously deprecated features, resulting in the break
* [ENHANCEMENT] Change responseWriterDelegator.written to int64.

## 0.6.0 / 2015-06-01

* [CHANGE] Rename process_goroutines to go_goroutines.
* [ENHANCEMENT] Validate label names during YAML decoding.
* [ENHANCEMENT] Add LabelName regular expression.
* [BUGFIX] Ensure alignment of struct members for 32-bit systems.

## 0.5.0 / 2015-05-06

* [BUGFIX] Removed a weakness in the fingerprinting aka signature code.
This makes fingerprinting slower and more allocation-heavy, but the
weakness was too severe to be tolerated.
Expand All @@ -253,6 +273,7 @@ _This release removes all previously deprecated features, resulting in the break
* [CHANGE] A number of new reserved labels and prefixes.

## 0.4.0 / 2015-04-08

* [CHANGE] Return NaN when Summaries have no observations yet.
* [BUGFIX] Properly handle Summary decay upon Write().
* [BUGFIX] Fix the documentation link to the consumption library.
Expand All @@ -262,16 +283,19 @@ _This release removes all previously deprecated features, resulting in the break
* [MAINTENANCE] Adjusted to changes in matttproud/golang_protobuf_extensions.

## 0.3.2 / 2015-03-11

* [BUGFIX] Fixed the receiver type of COWMetric.Set(). This method is
only used by the Prometheus server internally.
* [CLEANUP] Added licenses of vendored code left out by godep.

## 0.3.1 / 2015-03-04

* [ENHANCEMENT] Switched fingerprinting functions from own free list to
sync.Pool.
* [CHANGE] Makefile uses Go 1.4.2 now (only relevant for examples and tests).

## 0.3.0 / 2015-03-03

* [CHANGE] Changed the fingerprinting for metrics. THIS WILL INVALIDATE ALL
PERSISTED FINGERPRINTS. IF YOU COMPILE THE PROMETHEUS SERVER WITH THIS
VERSION, YOU HAVE TO WIPE THE PREVIOUSLY CREATED STORAGE.
Expand All @@ -286,6 +310,7 @@ _This release removes all previously deprecated features, resulting in the break
require fewer allocations than the ones currently used by the server.

## 0.2.0 / 2015-02-23

* [FEATURE] Introduce new Histagram metric type.
* [CHANGE] Ignore process collector errors for now (better error handling
pending).
Expand All @@ -302,5 +327,6 @@ _This release removes all previously deprecated features, resulting in the break
* [CLEANUP] Updated vendoring of beorn7/perks.

## 0.1.0 / 2015-02-02

* [CLEANUP] Introduced semantic versioning and changelog. From now on,
changes will be reported in this file.
3 changes: 2 additions & 1 deletion MAINTAINERS.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* Björn Rabenstein <beorn@grafana.com> @beorn7
* Bartłomiej Płotka <bwplotka@gmail.com> @bwplotka
* Kemal Akkoyun <kakkoyun@gmail.com> @kakkoyun
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.10.0
1.11.0
8 changes: 5 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ require (
github.com/beorn7/perks v1.0.1
github.com/cespare/xxhash/v2 v2.1.1
github.com/golang/protobuf v1.4.3
github.com/json-iterator/go v1.1.10
github.com/json-iterator/go v1.1.11
github.com/prometheus/client_model v0.2.1-0.20210403151606-24db95a3d5d6
github.com/prometheus/common v0.18.0
github.com/prometheus/common v0.26.0
github.com/prometheus/procfs v0.6.0
golang.org/x/sys v0.0.0-20210309074719-68d13333faf2
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40
golang.org/x/text v0.3.2 // indirect
google.golang.org/protobuf v1.26.0-rc.1 // indirect
)

go 1.13
Loading

0 comments on commit 5aa8534

Please sign in to comment.