Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement sending metrics with a timestamp #211

Merged
merged 4 commits into from
Jan 20, 2023
Merged

Implement sending metrics with a timestamp #211

merged 4 commits into from
Jan 20, 2023

Conversation

vickenty
Copy link
Contributor

No description provided.

Revive previously unused Message#canAggregate to control
aggregation. This will allow subclasses to have finer control over aggregation.
Timestamps outside of the protocol range are normalized to the minimum
representable value, as the running convention is to to not have any
exceptions.
java.time.Instant is only available on Java 8 and later.

To avoid confusion with sample rate, which occupies the same slot in
the parameter list, methods that accept a timestamp were given a
distinct new name.
@vickenty vickenty merged commit d8e4f0a into master Jan 20, 2023
@vickenty vickenty deleted the vickenty/tsm branch January 20, 2023 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants