-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
monotonic counters should store values as uint64_t
We have use cases in the environment, where monotonic counters are stored as unit64_t values, particularly for Open Connect Appliances. Since the monotonic counter data types in spectatord are convenience wrappers that help users avoid the need to calculate their own deltas, they should be uint64_t types here. The actual deltas that are calculated and sent to the backend are doubles, which matches the backend data type used by Atlas. This is acceptable, because the deltas are expected to be much smaller values. Some of the newer thin clients, such as spectator-go, specify the uint64 data type for monotonic counters.
- Loading branch information
1 parent
02c19b3
commit d30a967
Showing
12 changed files
with
165 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.