From a191699808538d56ed7c0fd3c953dcca53157cb2 Mon Sep 17 00:00:00 2001 From: "minwoo.jung" Date: Tue, 12 Oct 2021 14:29:06 +0900 Subject: [PATCH] [#8004] add swap and system load metric in yml --- .../resources/pinot-web/telegraf-metric.yml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/metric-module/metric/src/main/resources/pinot-web/telegraf-metric.yml b/metric-module/metric/src/main/resources/pinot-web/telegraf-metric.yml index 30a3c6ff08b7..3d8320123e5c 100644 --- a/metric-module/metric/src/main/resources/pinot-web/telegraf-metric.yml +++ b/metric-module/metric/src/main/resources/pinot-web/telegraf-metric.yml @@ -71,3 +71,26 @@ mappings: - name: "inodes_free" matchingRule: ALL + - definitionId: "systemLoad" + name: "system" + title: "system load" + grouping: "TAG" + unit: "count" + fields: + - name: "load1" + matchingRule: EXACT + - name: "load5" + matchingRule: EXACT + - name: "load15" + matchingRule: EXACT + + - definitionId: "swap" + name: "swap" + title: "swap" + grouping: "TAG" + unit: "count" + fields: + - name: "total" + matchingRule: EXACT + - name: "used" + matchingRule: EXACT