You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorial/custom_installation.md
+6-9Lines changed: 6 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -354,27 +354,24 @@ The content of a file is a array of sources definitions, like this:
354
354
355
355
```yaml
356
356
- name: test1 # An arbitrary unique name for the monitored source
357
-
kind: postgres # One of the:
357
+
kind: postgres # One of:
358
358
# - postgres
359
359
# - postgres-continuous-discovery
360
360
# - pgbouncer
361
361
# - pgpool
362
362
# - patroni
363
-
# - patroni-continuous-discovery
364
-
# - patroni-namespace-discover
365
-
# Defaults to postgres if not specified
366
363
conn_str: postgresql://pgwatch:xyz@somehost/mydb
367
364
preset_metrics: exhaustive # from list of presets defined in "metrics.yaml" or in the config DB
368
-
custom_metrics: # map of metrics and intervals, if both preset_metrics and custom_metrics are specified, custom wins
369
-
backends: 300
365
+
custom_metrics: # map of metrics and intervals, if both preset_metrics and custom_metrics are specified, preset wins
366
+
backends: 300 # integral number of seconds
370
367
archiver: 120
371
368
preset_metrics_standby: # optional preset configuration for standby state, same as preset_metrics
372
369
custom_metrics_standby: # optional custom metrics for standby state, same as custom_metrics
373
370
include_pattern: # regex to filter databases to actually monitor for the "continuous" modes
374
371
exclude_pattern:
375
372
is_enabled: true
376
-
group: default # just for logical grouping of DB hosts or for "sharding", i.e. splitting the workload between many gatherer daemons
377
-
custom_tags: # option to add arbitrary tags for every stored data row,
378
-
aws_instance_id: i-0af01c0123456789a # for example to fetch data from some other source onto a same Grafana graph
373
+
group: default # just for logical grouping of DB hosts or for "sharding", i.e. splitting the workload between many gatherer daemons (via --group option)
374
+
custom_tags: # option to add arbitrary tags for every stored data row,
375
+
aws_instance_id: i-0af01c0123456789a # for example to fetch data from some other source onto a same Grafana graph
0 commit comments