From 13019d78e38bdde24bca0cd09b7c2a86ec2c243a Mon Sep 17 00:00:00 2001 From: tomsun28 Date: Sat, 20 Nov 2021 19:36:41 +0800 Subject: [PATCH] =?UTF-8?q?[collector]=20=E7=B3=BB=E7=BB=9F=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E6=95=B0=E6=8D=AE=E8=A7=A3=E6=9E=90http=E5=93=8D?= =?UTF-8?q?=E5=BA=94=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/main/resources/define/app/A-example.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manager/src/main/resources/define/app/A-example.yml b/manager/src/main/resources/define/app/A-example.yml index 8877769..87f16d6 100644 --- a/manager/src/main/resources/define/app/A-example.yml +++ b/manager/src/main/resources/define/app/A-example.yml @@ -1,6 +1,6 @@ # 监控应用类型名称(与文件名保持一致) eg: linux windows tomcat mysql aws... app: TanCloud -# 参数映射map. type是参数类型: number数字, string明文字符串, secret加密字符串 +# 参数映射map. type是参数类型: 0-number数字, 1-string明文字符串, 2-secret加密字符串 # 强制固定必须参数 - host configmap: - key: host @@ -83,6 +83,7 @@ metrics: fields: - field: hostname type: string + instance: true - field: total type: number unit: kb