Skip to content

Use int64 types? #4

Description

@kevinburke1

Per the specification available at https://github.com/b/statsd_spec, gauges can take any uint64 value and counters can take any int64 value. Using an int for gauge raises the possibility of measuring a negative number, or attempting to pass a value that's too large for the int type on a given machine.

Should we change the type definitions to better match the specification?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions