File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -21,25 +21,28 @@ docker run --name=cratedb --rm -it --network=cratedb-demo \
2121 --env=CRATE_HEAP_SIZE=2g docker.io/crate -Cdiscovery.type=single-node
2222```
2323
24- Prepare shortcut for the CrateDB shell.
24+ Prepare shortcut for the CrateDB shell and the Telegraf command .
2525
2626::::{tab-set}
2727
2828:::{tab-item} Linux and macOS
2929To make the settings persistent, add them to your shell profile (` ~/.profile ` ).
3030``` shell
3131alias crash=" docker run --rm -it --network=cratedb-demo ghcr.io/crate/cratedb-toolkit crash"
32+ alias telegraf=" docker run --rm --network=cratedb-demo docker.io/telegraf"
3233```
3334:::
3435:::{tab-item} Windows PowerShell
3536To make the settings persistent, add them to your PowerShell profile (` $PROFILE ` ).
3637``` powershell
3738function crash { docker run --rm -it --network=cratedb-demo ghcr.io/crate/cratedb-toolkit crash @args }
39+ function telegraf { docker run --rm --network=cratedb-demo docker.io/telegraf @args }
3840```
3941:::
4042:::{tab-item} Windows Command
4143``` shell
4244doskey crash=docker run --rm -it --network=cratedb-demo ghcr.io/crate/cratedb-toolkit crash $*
45+ doskey telegraf=docker run --rm --network=cratedb-demo docker.io/telegraf $*
4346```
4447:::
4548
@@ -55,7 +58,7 @@ to limit input plugins so that Telegraf only collects readings about CPU usage
5558on the local computer. To send the collected data to CrateDB, use
5659` --output-filter cratedb ` .
5760``` shell
58- docker run --rm docker.io/ telegraf \
61+ telegraf \
5962 --input-filter cpu \
6063 --output-filter cratedb \
6164 config > telegraf.conf
You can’t perform that action at this time.
0 commit comments