Merge branch 'pr/1649'
[collectd.git] / src / pinba.proto
1 syntax = "proto2";
2
3 package Pinba;
4 option optimize_for = SPEED;
5
6 message Request {
7         required string hostname                = 1;
8         required string server_name             = 2;
9         required string script_name             = 3;
10         required uint32 request_count   = 4;
11         required uint32 document_size   = 5;
12         required uint32 memory_peak             = 6;
13         required float request_time             = 7;
14         required float ru_utime                 = 8;
15         required float ru_stime                 = 9;
16
17         repeated uint32 timer_hit_count = 10;
18         repeated float timer_value      = 11;
19         repeated uint32 timer_tag_count = 12;
20         repeated uint32 timer_tag_name  = 13;
21         repeated uint32 timer_tag_value = 14;
22         repeated string dictionary      = 15;
23         optional uint32 status          = 16;
24 }