From e34332dee1a79df66d1fe3ae720ee31e86382557 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Wed, 20 Apr 2022 18:30:37 +0800 Subject: [PATCH] docs: fix statsd doc (#11683) * docs: refine statsd doc [TD-14923] * docs: fix format * docs: fix 06-statsd.md --- docs-cn/09-third-party/06-statsd.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs-cn/09-third-party/06-statsd.md b/docs-cn/09-third-party/06-statsd.md index e52520026a..fc61a0d0cd 100644 --- a/docs-cn/09-third-party/06-statsd.md +++ b/docs-cn/09-third-party/06-statsd.md @@ -26,16 +26,16 @@ StatsD 是汇总和总结应用指标的一个简单的守护进程,近些年 运行 StatsD: ``` -ubuntu@shuduo-1804 $ node stats.js config.js & +$ node stats.js config.js & [1] 8546 -ubuntu@shuduo-1804 ~/work/statsd (master)c47fc48$ 20 Apr 09:54:41 - [8546] reading config file: exampleConfig.js +$ 20 Apr 09:54:41 - [8546] reading config file: exampleConfig.js 20 Apr 09:54:41 - server is up INFO ``` 使用 nc 写入测试数据: ``` -ubuntu@shuduo-1804 ~/work/statsd (master)c47fc48$ echo "foo:1|c" | nc -u -w0 127.0.0.1 8125 +$ echo "foo:1|c" | nc -u -w0 127.0.0.1 8125 ``` 使用 TDengine CLI 验证从 StatsD 向 TDengine 写入数据并能够正确读出: -- GitLab