提交 940313bd 编写于 作者: U Ulric Qin

use big nodata interval

上级 5057cd0a
......@@ -101,7 +101,7 @@ Headers = ["Content-Type", "application/json", "X-From", "N9E"]
[NoData]
Metric = "target_up"
# unit: second
Interval = 15
Interval = 120
[Ibex]
# callback: ${ibex}/${tplid}/${host}
......
......@@ -107,7 +107,7 @@ Headers = ["Content-Type", "application/json", "X-From", "N9E"]
[NoData]
Metric = "target_up"
# unit: second
Interval = 15
Interval = 120
[Ibex]
# callback: ${ibex}/${tplid}/${host}
......
......@@ -49,7 +49,7 @@ func toRedis() {
// clean old idents
for key, at := range items {
if at.(int64) < now-10 {
if at.(int64) < now-config.C.NoData.Interval {
Idents.Remove(key)
} else {
// use now as timestamp to redis
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册