Skip to content

Commit

Permalink
docs: add timeout section (influxdata#11550)
Browse files Browse the repository at this point in the history
  • Loading branch information
MyaLongmire authored Jul 26, 2022
1 parent 911072c commit 9a7c308
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions plugins/inputs/sqlserver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,15 @@ config file to use windows authentication.
servers = ["Server=192.168.1.10;Port=1433;app name=telegraf;log=1;",]
```

To set up a configurable timeout, add timeout to the connections string
in your config file.

```toml
servers = [
"Server=192.168.1.10;Port=1433;User Id=<user>;Password=<pw>;app name=telegraf;log=1;dial timeout=30",
]
```

## Configuration

```toml @sample.conf
Expand Down

0 comments on commit 9a7c308

Please sign in to comment.