File tree Expand file tree Collapse file tree 5 files changed +14
-7
lines changed Expand file tree Collapse file tree 5 files changed +14
-7
lines changed Original file line number Diff line number Diff line change
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
+
1
8
## 1.1.0 / 2019-08-01
2
9
3
10
* [ CHANGE] API client: Format time as UTC rather than RFC3339Nano. #617
Original file line number Diff line number Diff line change 1
- 1.1 .0
1
+ 1.2 .0
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import (
25
25
v1 "github.com/prometheus/client_golang/api/prometheus/v1"
26
26
)
27
27
28
- func ExampleAPI_Query () {
28
+ func ExampleAPI_query () {
29
29
client , err := api .NewClient (api.Config {
30
30
Address : "http://demo.robustperception.io:9090" ,
31
31
})
@@ -48,7 +48,7 @@ func ExampleAPI_Query() {
48
48
fmt .Printf ("Result:\n %v\n " , result )
49
49
}
50
50
51
- func ExampleAPI_QueryRange () {
51
+ func ExampleAPI_queryRange () {
52
52
client , err := api .NewClient (api.Config {
53
53
Address : "http://demo.robustperception.io:9090" ,
54
54
})
@@ -76,7 +76,7 @@ func ExampleAPI_QueryRange() {
76
76
fmt .Printf ("Result:\n %v\n " , result )
77
77
}
78
78
79
- func ExampleAPI_Series () {
79
+ func ExampleAPI_series () {
80
80
client , err := api .NewClient (api.Config {
81
81
Address : "http://demo.robustperception.io:9090" ,
82
82
})
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ require (
8
8
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
9
9
github.com/prometheus/common v0.7.0
10
10
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
12
12
)
13
13
14
14
go 1.11
Original file line number Diff line number Diff line change @@ -90,8 +90,8 @@ golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5 h1:mzjBh+S5frKOsOBobWIMAbXav
90
90
golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5 /go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY =
91
91
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a /go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY =
92
92
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 =
95
95
golang.org/x/text v0.3.0 /go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ =
96
96
gopkg.in/alecthomas/kingpin.v2 v2.2.6 /go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw =
97
97
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
You can’t perform that action at this time.
0 commit comments