-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
1,032 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
syntax = "proto3"; | ||
|
||
package clutch.timeseries.v1; | ||
|
||
option go_package = "github.com/lyft/clutch/backend/api/timeseries/v1;timeseriesv1"; | ||
|
||
import "google/protobuf/any.proto"; | ||
import "validate/validate.proto"; | ||
|
||
message TimeRange { | ||
int64 start_millis = 1 [ (validate.rules).int64.gt = 0 ]; | ||
int64 end_millis = 2 [ (validate.rules).int64.gt = 0 ]; | ||
} | ||
|
||
// A timeseries Point message is useful for organizing events | ||
// to be displayed in a timeline view. Users can transform data | ||
// into a timeseries format and be able to organize them. | ||
message Point { | ||
oneof timestamp { | ||
option (validate.required) = true; | ||
TimeRange range = 1; | ||
int64 millis = 2; | ||
} | ||
google.protobuf.Any pb = 3; | ||
string description = 4; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.