Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
OscarLuu committed Mar 5, 2020
1 parent 5286269 commit ba741e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,5 @@ Usage of ./statsdaemon:
-receive-counter="": Metric name for total metrics received per interval
-tcpaddr="": TCP service address, if set
-version=false: print version string
-heartbeat-file="": heartbeat file to update after a successful write to graphite
```
2 changes: 1 addition & 1 deletion statsdaemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func submit(deadline time.Time) error {
}

log.Printf("sent %d stats to %s", num, *graphiteAddress)
if *heartbeatFile != "" {
if *heartbeatFilePath != "" {
heartbeat()
}

Expand Down

0 comments on commit ba741e3

Please sign in to comment.