Skip to content

Commit

Permalink
Merge f49e0e4 into d4781f5
Browse files Browse the repository at this point in the history
  • Loading branch information
lufia committed Jan 30, 2019
2 parents d4781f5 + f49e0e4 commit 40b194e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions metrics/windows/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ func NewInterfaceGenerator(interval time.Duration) (*InterfaceGenerator, error)
name = strings.Replace(name, "(", "[", -1)
name = strings.Replace(name, ")", "]", -1)
name = strings.Replace(name, "#", "_", -1)
name = strings.Replace(name, "/", "_", -1)
name = strings.Replace(name, `\`, "_", -1)
var counter *windows.CounterInfo

counter, err = windows.CreateCounter(
Expand Down

0 comments on commit 40b194e

Please sign in to comment.