Skip to content

Commit 17f07d5

Browse files
committed
[-] remove outdated ssl options from sample.sources.yaml
1 parent c4f63ce commit 17f07d5

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

internal/sources/sample.sources.yaml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
- name: test1 # an arbitrary name for the monitored DB. functions also as prefix for found DBs if using continuous discovery "dbtype"-s
2-
# Should be chosen carefully - cannot be (easily) changed for the already stored metric data!
3-
kind: postgres # postgres|postgres-continuous-discovery|pgbouncer|pgpool|patroni|patroni-continuous-discovery|patroni-namespace-discovery
4-
# defaults to postgres if not specified
5-
conn_str: postgresql://pgwatch:pgwatchadmin@localhost/pgwatch
6-
is_superuser: false # setting to true will try to auto-create all metric fetching "helpers"
7-
preset_metrics: exhaustive # from list of presets defined in "metrics/preset-configs.yaml"
8-
custom_metrics: # if both preset and custom are specified, custom wins
9-
preset_metrics_standby: # optional metrics configuration for standby / replica state, v1.8.1+
1+
- name: test1 # An arbitrary unique name for the monitored source
2+
conn_str: postgresql://pgwatch:pgwatchadmin@somehost/mydb
3+
kind: postgres # One of the:
4+
# - postgres
5+
# - postgres-continuous-discovery
6+
# - pgbouncer
7+
# - pgpool
8+
# - patroni
9+
# - patroni-continuous-discovery
10+
# - patroni-namespace-discover
11+
# Defaults to postgres if not specified
12+
preset_metrics: exhaustive # from list of presets defined in "metrics/preset-configs.yaml"
13+
custom_metrics: # if both preset and custom are specified, custom wins
14+
preset_metrics_standby: # optional metrics configuration for standby / replica state, v1.8.1+
1015
custom_metrics_standby:
11-
include_pattern: # regex to filter databases to actually monitor for the "continuous" modes
16+
include_pattern: # regex to filter databases to actually monitor for the "continuous" modes
1217
exclude_pattern:
1318
is_enabled: true
14-
group: default # just for logical grouping of DB hosts or for "sharding", i.e. splitting the workload between many gatherer daemons
15-
custom_tags: # option to add arbitrary tags (Influx / Postgres storage only) for every stored data row,
16-
aws_instance_id: i-0af01c0123456789a # for example to fetch data from some other source onto a same Grafana graph
17-
sslrootcert: ''
18-
sslcert: ''
19-
sslkey: ''
19+
group: default # just for logical grouping of DB hosts or for "sharding", i.e. splitting the workload between many gatherer daemons
20+
custom_tags: # option to add arbitrary tags for every stored data row,
21+
aws_instance_id: i-0af01c0123456789a # for example to fetch data from some other source onto a same Grafana graph
2022

2123
- name: test2
2224
kind: patroni-continuous-discovery
@@ -48,9 +50,6 @@
4850
pgbouncer_stats: 10
4951
pgbouncer_clients: 10
5052
is_enabled: true
51-
sslrootcert: ''
52-
sslcert: ''
53-
sslkey: ''
5453

5554
- name: envvar
5655
kind: $kind

0 commit comments

Comments
 (0)