diff --git a/README.md b/README.md index 3f03c38..7bc40b5 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/main.go b/main.go index c4e9c94..51a4c78 100644 --- a/main.go +++ b/main.go @@ -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", })