From 9d1b615f871a2231402af42789a93b127a4ec7d8 Mon Sep 17 00:00:00 2001 From: belomore Date: Fri, 22 Jul 2016 19:59:22 +0400 Subject: [PATCH] parse host comment from config; --- yandextank/plugins/Telegraf/collector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yandextank/plugins/Telegraf/collector.py b/yandextank/plugins/Telegraf/collector.py index 16b3082..560262c 100644 --- a/yandextank/plugins/Telegraf/collector.py +++ b/yandextank/plugins/Telegraf/collector.py @@ -74,7 +74,7 @@ class MonitoringCollector(object): "timestamp": ts, "data": { agent.host: { - "comment": "test", + "comment": agent.config.get("comment", ""), "metrics": prepared_results } }