Skip to content

Commit

Permalink
fix: collect proc by file
Browse files Browse the repository at this point in the history
  • Loading branch information
710leo committed Mar 27, 2020
1 parent 53f1c1e commit aac5fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/collector/stra/proc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aac5fd1

Please sign in to comment.