Skip to content

Commit

Permalink
Merge pull request #37 from interchainio/fix/avg-tx-rate
Browse files Browse the repository at this point in the history
Fix tx average rate calculation
  • Loading branch information
thanethomson committed Sep 11, 2019
2 parents 9ae5a84 + 1829bc2 commit 7176e08
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog

## v0.6.2
* [\#37](https://github.com/interchainio/tm-load-test/pull/37) - Fix average
transaction throughput rate in reporting/metrics.

## v0.6.1
* [\#35](https://github.com/interchainio/tm-load-test/pull/35) - Minor fix for
broken shutdown-wait functionality.
Expand Down
2 changes: 1 addition & 1 deletion pkg/loadtest/cli.go
Expand Up @@ -12,7 +12,7 @@ import (
)

// CLIVersion must be manually updated as new versions are released.
const CLIVersion = "v0.6.1"
const CLIVersion = "v0.6.2"

// cliVersionCommitID must be set through linker settings. See
// https://stackoverflow.com/a/11355611/1156132 for details.
Expand Down
1 change: 1 addition & 0 deletions pkg/loadtest/master.go
Expand Up @@ -354,6 +354,7 @@ func (m *Master) logTestingProgress() {
)

m.lastProgressUpdate = time.Now()
m.totalTxs = totalTxs
m.totalTxsMetric.Set(float64(totalTxs))
m.txRateMetric.Set(avgRate)
m.overallTxRateMetric.Set(overallAvgRate)
Expand Down

0 comments on commit 7176e08

Please sign in to comment.