Skip to content

Commit 57719ba

Browse files
authored
Merge pull request prometheus-community#555 from sysadmind/release-v0.10.0
Release v0.10.0
2 parents df461c2 + 820c05b commit 57719ba

File tree

5 files changed

+413
-162
lines changed

5 files changed

+413
-162
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.10.0 / 2021-07-08
2+
3+
* [ENHANCEMENT] Add ability to set included databases when autoDiscoverDatabases is enabled #499
4+
* [BUGFIX] fix pg_replication_slots on postgresql versions 9.4 <> 10.0 #537
5+
16
## 0.9.0 / 2021-03-01
27

38
First release under the Prometheus Community organisation.

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.9.0
1+
0.10.0

cmd/postgres_exporter/util.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,10 @@ func parseFingerprint(url string) (string, error) {
184184
if len(splitted) != 2 {
185185
return "", fmt.Errorf("malformed dsn %q", dsn)
186186
}
187-
kv[splitted[0]] = splitted[1]
187+
// Newer versions of pq.ParseURL quote values so trim them off if they exist
188+
key := strings.Trim(splitted[0], "'\"")
189+
value := strings.Trim(splitted[1], "'\"")
190+
kv[key] = value
188191
}
189192

190193
var fingerprint string

go.mod

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ go 1.14
44

55
require (
66
github.com/blang/semver v3.5.1+incompatible
7-
github.com/go-kit/kit v0.10.0
8-
github.com/lib/pq v1.9.0
9-
github.com/prometheus/client_golang v1.9.0
7+
github.com/go-kit/kit v0.11.0
8+
github.com/lib/pq v1.10.1
9+
github.com/prometheus/client_golang v1.11.0
1010
github.com/prometheus/client_model v0.2.0
11-
github.com/prometheus/common v0.17.0
12-
github.com/prometheus/exporter-toolkit v0.5.1
11+
github.com/prometheus/common v0.29.0
12+
github.com/prometheus/exporter-toolkit v0.6.0
1313
gopkg.in/alecthomas/kingpin.v2 v2.2.6
1414
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
1515
gopkg.in/yaml.v2 v2.4.0

0 commit comments

Comments
 (0)