-
Notifications
You must be signed in to change notification settings - Fork 50
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
Create accessors to first/last data points #513
Conversation
These accessors expose the two fields (ts, val) of the TSPoints in each of the "first" and "last" fields for both TimeWeightSummary and CounterAgg.
last_time(timeweightsummary), | ||
last_val(), | ||
last_val(countersummary), | ||
last_val(timeweightsummary), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It really is interesting to see how much a simple feature costs.
Does it make sense to have this for counter_agg but not gauge_agg? |
bors r+ |
Build succeeded:
|
Discussed at standup today where it was agreed that it makes sense to wait on #523 to be sorted out before adding these functions to |
Resolves #512
We can continue bike shedding the names either here or in the linked issue.
Just wanted to get the PR up.