Skip to content

Commit

Permalink
rename send metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
ljmerza committed Dec 30, 2023
1 parent 588a0b1 commit e190df7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Since you are logging to a file, you can use logrotate to manage the file size.

| Metric | Description |
| ------ | ----------- |
rsync_bytes_sent_total_bytes | Total bytes sent in bytes
rsync_sent_total_bytes | Total bytes sent in bytes
rsync_received_total_bytes | Total bytes received in bytes
rsync_total_size_bytes | Total size of files transferred in bytes
rsync_last_sync | Last sync time
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var (

var (
bytesSentCounter = promauto.NewCounter(prometheus.CounterOpts{
Name: "rsync_bytes_sent_total_bytes",
Name: "rsync_sent_total_bytes",
Help: "Total bytes sentin bytes",
})

Expand Down

0 comments on commit e190df7

Please sign in to comment.