Skip to content

Commit

Permalink
Fix comment in remote_write.go (#4925)
Browse files Browse the repository at this point in the history
This comment was copied from `instance.go` where there's `getRemoteWriteTimestamp` function. We don't have in this file, so this PR updates the comment.
  • Loading branch information
marctc authored Aug 24, 2023
1 parent 98cf981 commit 494cde2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/prometheus/remotewrite/remote_write.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (c *Component) Run(ctx context.Context) error {
ts = 0
}

// Network issues can prevent the result of getRemoteWriteTimestamp from
// Network issues can prevent the result of LowestSentTimestamp from
// changing. We don't want data in the WAL to grow forever, so we set a cap
// on the maximum age data can be. If our ts is older than this cutoff point,
// we'll shift it forward to start deleting very stale data.
Expand Down

0 comments on commit 494cde2

Please sign in to comment.