Created
March 14, 2017 09:14
-
-
Save moolex/00b29dd797081e1bd01e91190a894437 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
syntax = "proto3"; | |
message Span { | |
fixed64 traceID = 1; | |
string spanID = 2; | |
int64 time = 3; | |
map<string, string> properties = 4; | |
map<string, string> context = 5; | |
message Transaction { | |
int64 time = 1; | |
enum Flag { | |
CS = 0; | |
CR = 1; | |
SR = 2; | |
SS = 3; | |
} | |
Flag flag = 2; | |
int32 duration = 3; | |
enum Status { | |
SUCCESS = 0; | |
FAILED = 1; | |
} | |
Status status = 4; | |
} | |
Transaction transaction = 6; | |
message Event { | |
int64 time = 1; | |
string type = 2; | |
map<string, string> data = 3; | |
} | |
repeated Event events = 7; | |
map<string, string> metrics = 8; | |
message Annotation { | |
map<string, string> sys = 1; | |
map<string, string> usr = 2; | |
} | |
Annotation annotations = 9; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment