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

metrics: swap ready_to_upload with period_end in index #27

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/bitdrift_public/protobuf/client/v1/metric.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ message PendingAggregationIndex {
string name = 1;
// The start of the period that this file covers. All metrics are aggregated over this period.
google.protobuf.Timestamp period_start = 2;
// True if an aggregation is ready to upload and should no longer be written to.
bool ready_to_upload = 3;
// When the aggregation was closed. If specified, the server can decide to handle variable
// size aggregation windows by averaging the data over the period or some other heuristic. Also
// indicates that the file is ready for upload.
google.protobuf.Timestamp period_end = 3;
}
// List of files, in order of period_start, that are pending upload.
repeated PendingFile pending_files = 1;
Expand Down
Loading