docs: Fix PostgreSQL DSN example [skip ci]#434
docs: Fix PostgreSQL DSN example [skip ci]#434burningalchemist merged 1 commit intoburningalchemist:masterfrom
Conversation
burningalchemist
left a comment
There was a problem hiding this comment.
Good catch, thank you! 👍
|
@rc5hack Hold on, it's actually incorrect. What was the original problem with the example? I'll revert it for now. |
|
My fault. Indentation inside of This works for me: jobs:
- job_name: db_targets
collectors: [dummy]
enable_ping: true
static_configs:
- targets:
db-foo: 'postgresql://user:passw0rd@hostname:5432/dummy?sslmode=disable'
db-bar: 'postgresql://user:passw0rd@other-host:5432/dummy?sslmode=disable'Original problem is that |
|
Yeah, it works fine since we use Other than that, no objections. Do you mind creating one more PR? 🙂 |
Fix DSN example for PostgreSQL db in Readme + fix yaml indentation (2 spaces per level).