提交 eb82d869 编写于 作者: S slguan

fix issue #313

上级 bcc1b406
...@@ -68,7 +68,7 @@ static const char DEFAULT_TELEGRAF_CFG[] = ...@@ -68,7 +68,7 @@ static const char DEFAULT_TELEGRAF_CFG[] =
"{\"name\":\"system\",\"tbname\":\"system_uptime\",\"fields\":[\"uptime\"]}," "{\"name\":\"system\",\"tbname\":\"system_uptime\",\"fields\":[\"uptime\"]},"
"{\"name\":\"system\",\"tbname\":\"system_uptime_format\",\"fields\":[\"uptime_format\"]}," "{\"name\":\"system\",\"tbname\":\"system_uptime_format\",\"fields\":[\"uptime_format\"]},"
"{\"name\":\"swap\",\"tbname\":\"swap_in\",\"fields\":[\"in\"]}," "{\"name\":\"swap\",\"tbname\":\"swap_in\",\"fields\":[\"in\"]},"
"{\"name\":\"cpu\",\"tbname\":\"cpu_time\",\"fields\":[\"time_active\",\"time_guest\"]}" "{\"name\":\"cpu\",\"tbname\":\"cpu_usage\",\"fields\":[\"usage_active\",\"usage_guest\"]}"
"]}"; "]}";
typedef struct { typedef struct {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册