Skip to content

Why reset Response Counts? #28

@steamrolla

Description

@steamrolla

https://github.com/thoas/stats/blob/master/stats.go#L33

Why reset the ResponseCounts every second? My team and I were using this value, banking on getting a total of status codes from this, but, after seeing this have switched to using the TotalResponseCounts and diffing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions