From b12280993ffa0a628c3d881398cf4ed4a353d2f3 Mon Sep 17 00:00:00 2001 From: Thomas Heslin Date: Wed, 16 Oct 2019 10:09:36 +0100 Subject: [PATCH] bumping version to 1.3.1 --- README.md | 2 +- build.gradle | 2 +- docs/configuration.md | 4 ++-- docs/endpoints.md | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index edea407..ca4a9f1 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/build.gradle b/build.gradle index 3b364a2..20ba345 100644 --- a/build.gradle +++ b/build.gradle @@ -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' diff --git a/docs/configuration.md b/docs/configuration.md index 64dffe7..237b612 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -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 @@ -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. diff --git a/docs/endpoints.md b/docs/endpoints.md index c6b8afe..2cb0cbd 100644 --- a/docs/endpoints.md +++ b/docs/endpoints.md @@ -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.