diff --git a/src/modules/http/src/tgHandle.c b/src/modules/http/src/tgHandle.c index db64b4601f08f9dcd313cc58db90f52bdc5501ce..1a166d48ebdbe62f76f39e73d2e0d3a17fc4c97f 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 {