From eb82d86903f569e86f5b0e3ee8ae2d214050967b Mon Sep 17 00:00:00 2001 From: slguan Date: Fri, 9 Aug 2019 15:25:12 +0800 Subject: [PATCH] fix issue #313 --- src/modules/http/src/tgHandle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/http/src/tgHandle.c b/src/modules/http/src/tgHandle.c index db64b4601f..1a166d48eb 100644 --- a/src/modules/http/src/tgHandle.c +++ b/src/modules/http/src/tgHandle.c @@ -68,7 +68,7 @@ static const char DEFAULT_TELEGRAF_CFG[] = "{\"name\":\"system\",\"tbname\":\"system_uptime\",\"fields\":[\"uptime\"]}," "{\"name\":\"system\",\"tbname\":\"system_uptime_format\",\"fields\":[\"uptime_format\"]}," "{\"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 { -- GitLab