Skip to content

Commit 9a2ab94

Browse files
authored
Merge pull request #658 from prometheus/beorn7/release
Cut v1.2.0
2 parents c13325c + 3ee92df commit 9a2ab94

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 1.2.0 / 2019-10-15
2+
3+
* [FEATURE] Support pushing to Pushgateway v0.10+. #652
4+
* [ENHANCEMENT] Improve hashing to make a spurious `AlreadyRegisteredError` less likely to occur. #657
5+
* [ENHANCEMENT] API client: Add godoc examples. #630
6+
* [BUGFIX] promhttp: Correctly call WriteHeader in HTTP middleware. #634
7+
18
## 1.1.0 / 2019-08-01
29

310
* [CHANGE] API client: Format time as UTC rather than RFC3339Nano. #617

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.0
1+
1.2.0

api/prometheus/v1/example_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
v1 "github.com/prometheus/client_golang/api/prometheus/v1"
2626
)
2727

28-
func ExampleAPI_Query() {
28+
func ExampleAPI_query() {
2929
client, err := api.NewClient(api.Config{
3030
Address: "http://demo.robustperception.io:9090",
3131
})
@@ -48,7 +48,7 @@ func ExampleAPI_Query() {
4848
fmt.Printf("Result:\n%v\n", result)
4949
}
5050

51-
func ExampleAPI_QueryRange() {
51+
func ExampleAPI_queryRange() {
5252
client, err := api.NewClient(api.Config{
5353
Address: "http://demo.robustperception.io:9090",
5454
})
@@ -76,7 +76,7 @@ func ExampleAPI_QueryRange() {
7676
fmt.Printf("Result:\n%v\n", result)
7777
}
7878

79-
func ExampleAPI_Series() {
79+
func ExampleAPI_series() {
8080
client, err := api.NewClient(api.Config{
8181
Address: "http://demo.robustperception.io:9090",
8282
})

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
99
github.com/prometheus/common v0.7.0
1010
github.com/prometheus/procfs v0.0.5
11-
golang.org/x/sys v0.0.0-20190927073244-c990c680b611
11+
golang.org/x/sys v0.0.0-20191010194322-b09406accb47
1212
)
1313

1414
go 1.11

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5 h1:mzjBh+S5frKOsOBobWIMAbXav
9090
golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
9191
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
9292
golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
93-
golang.org/x/sys v0.0.0-20190927073244-c990c680b611 h1:q9u40nxWT5zRClI/uU9dHCiYGottAg6Nzz4YUQyHxdA=
94-
golang.org/x/sys v0.0.0-20190927073244-c990c680b611/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
93+
golang.org/x/sys v0.0.0-20191010194322-b09406accb47 h1:/XfQ9z7ib8eEJX2hdgFTZJ/ntt0swNk5oYBziWeTCvY=
94+
golang.org/x/sys v0.0.0-20191010194322-b09406accb47/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
9595
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
9696
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
9797
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

0 commit comments

Comments
 (0)