Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct PostgreSQL DSN example on SQL_DRIVERS_INPUT.md #16204

Open
Tonic8 opened this issue Nov 18, 2024 · 0 comments · May be fixed by #16229
Open

Correct PostgreSQL DSN example on SQL_DRIVERS_INPUT.md #16204

Tonic8 opened this issue Nov 18, 2024 · 0 comments · May be fixed by #16229
Assignees
Labels
bug unexpected problem or unintended behavior

Comments

@Tonic8
Copy link

Tonic8 commented Nov 18, 2024

Relevant telegraf.conf

telegraf.conf not relevant for this Documentation issue

in the the SQL_DRIVERS_INPUT.md, the PostgreSQL DSN is not correct

`[user[:password]@][netloc][:port][,...][/dbname][?param1=value1&...]`

it should be:

`postgres://[user[:password]@][netloc][:port][,...][/dbname][?param1=value1&...]`

Logs from Telegraf

logs of telegraf not relevant for this Documentation issue

System info

telegraf 1.31.1

Docker

No response

Steps to reproduce

  1. go on https://github.com/influxdata/telegraf/blob/master/docs/SQL_DRIVERS_INPUT.md
  2. check the PostgreSQL DSN example

Expected behavior

it should be

postgres://[user[:password]@][netloc][:port][,...][/dbname][?param1=value1&...]

Actual behavior

it's 👍

[user[:password]@][netloc][:port][,...][/dbname][?param1=value1&...]

Additional info

No response

@Tonic8 Tonic8 added the bug unexpected problem or unintended behavior label Nov 18, 2024
@DStrand1 DStrand1 self-assigned this Nov 25, 2024
@DStrand1 DStrand1 linked a pull request Nov 25, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants