Skip to content

Commit

Permalink
fix(otelbench): report formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota committed Apr 27, 2024
1 parent 5f7d972 commit aa18f7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/otelbench/otel_log_bench.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ func (b *LogsBench) RunReporter(ctx context.Context) error {
sb strings.Builder
)

fmt.Fprintf(&sb, "lines=%v/s, bytes=%v/s",
compactBytes(int(deltaLines/deltaSeconds)),
fmtInt(int(deltaBytes/deltaSeconds)),
fmt.Fprintf(&sb, "lines=%v/s bytes=%v/s",
fmtInt(int(deltaLines/deltaSeconds)),
compactBytes(int(deltaBytes/deltaSeconds)),
)
if v := b.storageInfo.Load(); v != nil && b.clickhouseAddr != "" {
v.WriteInfo(&sb, now)
Expand Down

0 comments on commit aa18f7e

Please sign in to comment.