Skip to content

Commit

Permalink
bumping version to 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Heslin committed Oct 16, 2019
1 parent 2761582 commit b122809
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Prometheus Oracle database exporter. Runs provided queries.

`docker run -d -p 7000:7000 -v /your/jdbc/odjbc7.jar:/app/odjbc7.jar -v /your/config/directory:/config -v /your/secrets/directory:/passwords tjheslin1/patterdale:1.3.0`
`docker run -d -p 7000:7000 -v /your/jdbc/odjbc7.jar:/app/odjbc7.jar -v /your/config/directory:/config -v /your/secrets/directory:/passwords tjheslin1/patterdale:1.3.1`

If a `logback.xml` file is included in the directory passed into the `/config` container volume, this will override your logging configuration.

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
}

group 'io.github.tjheslin1'
version '1.3.0'
version '1.3.1'

apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
Expand Down
4 changes: 2 additions & 2 deletions docs/configuration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The example `docker run` command from the README includes two volume mounts:

`docker run -d -p 7000:7000 -v /your/jdbc/ojdbc8.jar:/app/ojdbc8.jar -v /your/config/directory:/config -v /your/secrets/directory:/passwords tjheslin1/patterdale:1.3.0`
`docker run -d -p 7000:7000 -v /your/jdbc/ojdbc8.jar:/app/ojdbc8.jar -v /your/config/directory:/config -v /your/secrets/directory:/passwords tjheslin1/patterdale:1.3.1`

## System properties

Expand Down Expand Up @@ -31,7 +31,7 @@ Application configuration as well as database connection and probe information i

`cacheDuration` is the lifetime, in seconds, of the cache of SQL probe results.
In the background the queries will run periodically according to the `cacheDuration`. Requests to the _/metrics_
endpoint will return the current cache, his is to prevent overloading the databases with requests.
endpoint will return the current cache, this is to prevent overloading the databases with requests.

`probeConnectionWaitInSeconds` is the time, in seconds, to wait during a probe scrape for the initial database connection pools to be initialised.
If this times out, no metrics for that probe are returned.
Expand Down
6 changes: 3 additions & 3 deletions docs/endpoints.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## /metrics
## `/metrics`

Displays the Prometheus style metrics.

## /ready
## `/ready`

Useful for readiness and liveliness probes. Returns a 200 and an "OK" message if successul.
Returns a failure code otherwise.

## /status
## `/status`

Displays the provided `patterdale.yml` file from start up.

Expand Down

0 comments on commit b122809

Please sign in to comment.