github.com/brownsys/tracing-framework-go@v0.0.0-20161210174012-0542a62412fe/xtrace/client/internal/reporting.proto (about)

     1  package pubsub;
     2  
     3  option java_package = "edu.brown.cs.systems.xtrace";
     4  option java_outer_classname = "Reporting";
     5  
     6  // The report specification for X-Trace version 4.
     7  message XTraceReportv4 {
     8  
     9  	// X-Trace related fields
    10  	optional sfixed64 task_id = 1;			// ID of the execution this report belongs to
    11  	optional sfixed64 event_id = 2;			// ID of this report
    12  	repeated sfixed64 parent_event_id = 3;	// ID of causally-preceding reports
    13  	
    14  	// Timestamp fields
    15  	optional int64 timestamp = 4;			// Epoch time in milliseconds
    16  	optional int64 hrt = 5; 				// Process-dependent high-resolution timer in nanoseconds
    17  	optional int64 cycles = 6; 				// Thread-dependent CPU cycle timer
    18  	
    19  	// Report source fields
    20  	optional string host = 7; 				// Hostname
    21  	optional int32 process_id = 8; 			// Numeric process ID
    22  	optional string process_name = 9; 		// Process name
    23  	optional int32 thread_id = 10; 			// Numeric thread ID
    24  	optional string threadName = 11; 		// Thread name
    25  	optional string agent = 12; 			// An arbitrary string, usually a java class, where this report was generated
    26  	optional string source = 13; 			// The source code location where this report was generated
    27  	
    28  	// Messages
    29  	optional string label = 14; 			// String text message
    30  	repeated string key = 15; 				// keys for custom fields; only add a key if you will also add a value
    31  	repeated string value = 16; 			// keys for custom values; only add a value if you also added a key
    32  	repeated string tags = 17; 				// Database tags
    33  	
    34  	// X-Trace Tenant field
    35  	optional int32 tenantClass = 18;		// Tenant ID
    36  	
    37  }