@@ -18,15 +18,15 @@ Prepare shortcut for the psql command.
1818
1919:::{tab-item} Linux and macOS
2020:sync: unix
21- To make the settings persistent, add them to your shell profile (` ~/.profile ` ).
21+ Add these settings to your shell profile (` ~/.profile ` ) to make them persistent .
2222``` shell
2323alias nc=" docker run --rm -i --network=cratedb-demo docker.io/toolbelt/netcat:2025-08-23"
2424alias psql=" docker run --rm -i --network=cratedb-demo docker.io/postgres:16 psql"
2525```
2626:::
2727:::{tab-item} Windows PowerShell
2828:sync: powershell
29- To make the settings persistent, add them to your PowerShell profile (` $PROFILE ` ).
29+ Add these settings to your PowerShell profile (` $PROFILE ` ) to make them persistent .
3030``` powershell
3131function nc { docker run --rm -i --network=cratedb-demo docker.io/toolbelt/netcat:2025-08-23 @args }
3232function psql { docker run --rm -i --network=cratedb-demo docker.io/postgres:16 psql @args }
@@ -59,10 +59,9 @@ docker run --name=cratedb --rm -it --network=cratedb-demo \
5959
6060## Configure Telegraf
6161
62- Configure Telegraf to receive StatsD and to store them
63- in CrateDB, by using the configuration blueprint outlined below, possibly
64- adjusting it to match your environment. Store this file under the name
65- ` telegraf.conf ` .
62+ Use the configuration blueprint below to configure Telegraf to receive StatsD
63+ metrics and store them in CrateDB. Adjust the configuration to match your
64+ environment and save this file as ` telegraf.conf ` .
6665
6766:::{literalinclude} telegraf.conf
6867:::
133132
134133## Explore data
135134
136- After receiving data, the first metrics will appear in the designated table in
137- CrateDB, ready to be inspected.
135+ After Telegraf receives data, CrateDB stores the metrics in the designated table,
136+ ready for inspection.
137+
138138``` shell
139139psql " postgresql://crate:crate@cratedb:5432/" -c " SELECT * FROM doc.metrics ORDER BY timestamp LIMIT 5;"
140140```
0 commit comments