Skip to content

Commit dc015cb

Browse files
authored
Merge branch 'master' into master
2 parents 14780fe + 2c6594e commit dc015cb

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ after_success:
2121
# Push a tagged build if a tag is found.
2222
- if [ ! -z "$TRAVIS_TAG" ]; then
2323
docker tag wrouesnel/postgres_exporter:latest wrouesnel/postgres_exporter:$TRAVIS_TAG ;
24+
docker push wrouesnel/postgres_exporter:$TRAVIS_TAG ;
2425
fi
2526
# Push a latest version
2627
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker push wrouesnel/postgres_exporter ; fi

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ Package vendoring is handled with [`govendor`](https://github.com/kardianos/gove
4040
* `web.telemetry-path`
4141
Path under which to expose metrics.
4242

43-
* `config.expect-replication-stats`
44-
The target database has replication turned on - log errors when
45-
replication stats are missing.
46-
4743
### Setting the Postgres server's data source name
4844

4945
The PostgresSQL server's [data source name](http://en.wikipedia.org/wiki/Data_source_name)

postgres_exporter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ func (e *Exporter) scrape(ch chan<- prometheus.Metric) {
985985

986986
// Check if map versions need to be updated
987987
if err := e.checkMapVersions(ch, db); err != nil {
988-
log.Warnln("Postgres version could not be determined. Proceeding with outdated query maps.")
988+
log.Warnln("Proceeding with outdated query maps, as the Postgres version could not be determined:", err)
989989
e.error.Set(1)
990990
}
991991

0 commit comments

Comments
 (0)