Skip to content

Commit 735d381

Browse files
committed
v0.3.1
* fix some collector definition bug under corner cases * fix version string to `pg_exporter`
1 parent 03d9f1f commit 735d381

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Latest binaries & rpms can be found on [release](https://github.com/Vonng/pg_exporter/releases) page. Supported pg version: PostgreSQL 9.4+ & Pgbouncer 1.8+. Default collectors definition is compatible with PostgreSQL 10,11,12,13.
66

7-
Latest `pg_exporter` version: `0.3.0`
7+
Latest `pg_exporter` version: `0.3.1`
88

99

1010

pg_exporter.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// ┃ Desc : pg_exporter metrics exporter ┃ //
66
// ┃ Ctime : 2019-12-09 ┃ //
77
// ┃ Mtime : 2020-10-20 ┃ //
8-
// ┃ Version : 0.3.0 ┃ //
8+
// ┃ Version : 0.3.1 ┃ //
99
// ┃ Support : PostgreSQL 10~13 pgbouncer 1.9+ ┃ //
1010
// ┃ Author : Vonng (fengruohang@outlook.com) ┃ //
1111
// ┃ Copyright (C) 2019-2020 Ruohang Feng ┃ //
@@ -48,7 +48,7 @@ import (
4848
\**********************************************************************************************/
4949

5050
// Version is read by make build procedure
51-
var Version = "0.3.0"
51+
var Version = "0.3.1"
5252

5353
var defaultPGURL = "postgresql:///?sslmode=disable"
5454

@@ -1968,7 +1968,7 @@ func Reload() error {
19681968

19691969
// parse parameters & retrieve dsn
19701970
func ParseArgs() {
1971-
kingpin.Version(fmt.Sprintf("postgres_exporter %s (built with %s)\n", Version, runtime.Version()))
1971+
kingpin.Version(fmt.Sprintf("pg_exporter %s (built with %s)\n", Version, runtime.Version()))
19721972
log.AddFlags(kingpin.CommandLine)
19731973
kingpin.Parse()
19741974
log.Debugf("init pg_exporter, configPath=%v constLabels=%v, disableCache=%v, autoDiscovery=%v, excludeDatabase=%v listenAdress=%v metricPath=%v",

0 commit comments

Comments
 (0)