fix: collect proc by file

This commit is contained in:
710leo 2020-03-27 14:10:52 +08:00
parent 53f1c1e64d
commit aac5fd1a93
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ func GetProcCollects() map[string]*model.ProcCollect {
tags := fmt.Sprintf("target=%s,service=%s", name, service)
p := NewProcCollect(method, name, tags, step)
procs[p.Name] = p
procs[name] = p
}
return procs