File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -68,12 +68,18 @@ The database connection URL is a `pgx/v4` connection string. Configure
6868` table_create = true ` to automatically let Telegraf create the metrics table
6969if it doesn't exist.
7070::::{tab-set}
71- :::{tab-item} Linux and macOS
71+ :::{tab-item} Linux
7272``` shell
7373sed -i ' s!postgres://user:password@localhost/schema?sslmode=disable!postgres://crate@cratedb/doc?sslmode=disable!g' telegraf.conf
7474sed -i ' s!# table_create = false!table_create = true!' telegraf.conf
7575```
7676:::
77+ :::{tab-item} macOS and BSD
78+ ``` shell
79+ sed -i ' ' ' s!postgres://user:password@localhost/schema?sslmode=disable!postgres://crate@cratedb/doc?sslmode=disable!g' telegraf.conf
80+ sed -i ' ' ' s!# table_create = false!table_create = true!' telegraf.conf
81+ ```
82+ :::
7783:::{tab-item} Windows PowerShell
7884``` powershell
7985(Get-Content telegraf.conf) -replace 'postgres://user:password@localhost/schema\?sslmode=disable','postgres://crate@cratedb/doc?sslmode=disable' |
You can’t perform that action at this time.
0 commit comments