File tree 5 files changed +12
-7
lines changed
packages/postgres_exporter
5 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -106,10 +106,10 @@ nginx/pcre-8.43.tar.gz:
106
106
size : 2085854
107
107
object_id : 3653d041-229c-42ca-6df0-4e2485393c1b
108
108
sha : sha256:0b8e7465dc5e98c757cc3650a20a7843ee4c3edf50aaf60bb33fd879690d2c73
109
- postgres_exporter/postgres_exporter_v0.5.1_linux -amd64.tar.gz :
110
- size : 5922452
111
- object_id : d9440f55-f807-4888-54d3-ed1b65b30c00
112
- sha : sha256:7b00cc56d83e3a8f5a58d2b0f17f12b1b3b1b1ecccffffc3e8446ff187058c0e
109
+ postgres_exporter/postgres_exporter_v0.7.0_linux -amd64.tar.gz :
110
+ size : 5949662
111
+ object_id : 0681f912-2ffc-4f81-577a-7042252a7a3a
112
+ sha : sha256:a8409e64c5f377134e15cfd40a2da973c059f0955346379606a505677354125a
113
113
prometheus/prometheus-1.8.2.linux-amd64.tar.gz :
114
114
size : 17748716
115
115
object_id : 54fd8c7b-a676-44cd-64b2-d5788552e607
Original file line number Diff line number Diff line change @@ -33,3 +33,5 @@ properties:
33
33
postgres_exporter.auto_discover_databases:
34
34
description: "Whether to discover the databases on a server dynamically"
35
35
default: false
36
+ postgres_exporter.exclude_databases:
37
+ description: "A list of databases to remove when autoDiscoverDatabases is enabled"
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ case $1 in
27
27
< % if_p(' postgres_exporter.constant_labels' ) do | constant_labels| %> \
28
28
--constantLabels=" <%= constant_labels %>" \
29
29
< % end %> \
30
+ < % if_p(' postgres_exporter.exclude_databases' ) do | exclude_databases| %> \
31
+ --exclude-databases=" <%= exclude_databases %>" \
32
+ < % end %> \
30
33
< % if_p(' postgres_exporter.custom_queries' ) do %> \
31
34
--extend.query-path=" /var/vcap/jobs/postgres_exporter/config/custom_queries.sql" \
32
35
< % end %> \
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ cp -a ${BOSH_COMPILE_TARGET}/common/* ${BOSH_INSTALL_TARGET}/common
8
8
9
9
# Extract postgres_exporter package
10
10
mkdir -p ${BOSH_INSTALL_TARGET} /bin
11
- tar xzvf ${BOSH_COMPILE_TARGET} /postgres_exporter/postgres_exporter_v0.5.1_linux -amd64.tar.gz
12
- cp -a ${BOSH_COMPILE_TARGET} /postgres_exporter_v0.5.1_linux -amd64/* ${BOSH_INSTALL_TARGET} /bin
11
+ tar xzvf ${BOSH_COMPILE_TARGET} /postgres_exporter/postgres_exporter_v0.7.0_linux -amd64.tar.gz
12
+ cp -a ${BOSH_COMPILE_TARGET} /postgres_exporter_v0.7.0_linux -amd64/* ${BOSH_INSTALL_TARGET} /bin
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ name: postgres_exporter
3
3
4
4
files:
5
5
- common/utils.sh
6
- - postgres_exporter/postgres_exporter_v0.5.1_linux -amd64.tar.gz
6
+ - postgres_exporter/postgres_exporter_v0.7.0_linux -amd64.tar.gz
You can’t perform that action at this time.
0 commit comments