Skip to content

Commit

Permalink
Add connections to reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
bojand committed Apr 14, 2019
1 parent c183c8b commit b85a2e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runner/reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ type Options struct {
Total uint `json:"total,omitempty"`
Concurrency uint `json:"concurrency,omitempty"`
QPS uint `json:"qps,omitempty"`
Connections uint `json:"connections,omitempty"`
Duration time.Duration `json:"duration,omitempty"`
Timeout time.Duration `json:"timeout,omitempty"`
DialTimeout time.Duration `json:"dial-timeout,omitempty"`
Expand Down Expand Up @@ -187,6 +188,7 @@ func (r *Reporter) Finalize(stopReason StopReason, total time.Duration) *Report
Total: uint(r.config.n),
Concurrency: uint(r.config.c),
QPS: uint(r.config.qps),
Connections: uint(r.config.nConns),
Duration: r.config.z,
Timeout: r.config.timeout,
DialTimeout: r.config.dialTimeout,
Expand Down

0 comments on commit b85a2e0

Please sign in to comment.