Skip to content

Commit b3d7612

Browse files
committed
StatsD: Implement suggestions by CodeRabbit
1 parent 09b9c2b commit b3d7612

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

docs/integrate/statsd/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
:::{rubric} About
1111
:::
1212

13-
[StatsD] is a daemon for easy but powerful system and application
13+
[StatsD] provides easy but powerful system and application
1414
metrics and stats aggregation.
1515

16-
It is a network daemon that runs on the Node.js platform and listens for
17-
statistics, like counters and timers, sent over UDP or TCP and sends
16+
This network daemon runs on the Node.js platform and listens for
17+
statistics, like counters and timers, sent over UDP or TCP. It then sends
1818
aggregates to one or more pluggable backend services.
1919

20-
StatsD traditionally uses the Graphite backend and its successors, but it
21-
can also use CrateDB as a backend, by relaying data through Telegraf and
22-
using its built-in [CrateDB Output Plugin for Telegraf].
20+
StatsD traditionally uses the Graphite backend and its successors, but you
21+
can also configure it to use CrateDB as a backend by relaying data through Telegraf
22+
with its built-in [CrateDB Output Plugin for Telegraf].
2323

2424
:::{rubric} Synopsis
2525
:::

docs/integrate/statsd/tutorial.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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
2323
alias nc="docker run --rm -i --network=cratedb-demo docker.io/toolbelt/netcat:2025-08-23"
2424
alias 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
3131
function nc { docker run --rm -i --network=cratedb-demo docker.io/toolbelt/netcat:2025-08-23 @args }
3232
function 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
:::
@@ -133,8 +132,9 @@ Nim.
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
139139
psql "postgresql://crate:crate@cratedb:5432/" -c "SELECT * FROM doc.metrics ORDER BY timestamp LIMIT 5;"
140140
```

0 commit comments

Comments
 (0)