Skip to content

Commit

Permalink
fix: flush usage metrics after stopping the usage reader (#427)
Browse files Browse the repository at this point in the history
flush usage metrics after stopping the usage reader


opened, this PR as I pushed dummy commits to the last PR.
  • Loading branch information
nityanandagohain authored Oct 18, 2024
1 parent 6c7cb88 commit 32036b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions usage/usage.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ func (e *UsageCollector) Start() error {

func (c *UsageCollector) Stop() error {
c.ir.Stop()
c.ir.Flush()
return nil
}

Expand Down

0 comments on commit 32036b9

Please sign in to comment.