zipkin_query 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/thrift/thrift/gen-rb/zipkin_core_constants.rb +19 -0
- data/lib/thrift/thrift/gen-rb/zipkin_core_types.rb +117 -0
- data/lib/thrift/thrift/gen-rb/zipkin_dependencies_constants.rb +11 -0
- data/lib/thrift/thrift/gen-rb/zipkin_dependencies_types.rb +74 -0
- data/lib/thrift/thrift/gen-rb/zipkin_query.rb +1225 -0
- data/lib/thrift/thrift/gen-rb/zipkin_query_constants.rb +11 -0
- data/lib/thrift/thrift/gen-rb/zipkin_query_types.rb +224 -0
- data/lib/zipkin_query/zipkin_query.rb +27 -23
- data/lib/zipkin_query/zipkin_query_types.rb +3 -1
- metadata +10 -3
@@ -0,0 +1,224 @@
|
|
1
|
+
#
|
2
|
+
# Autogenerated by Thrift Compiler (0.9.1)
|
3
|
+
#
|
4
|
+
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
5
|
+
#
|
6
|
+
|
7
|
+
require 'thrift'
|
8
|
+
require 'zipkin_core_types'
|
9
|
+
require 'zipkin_dependencies_types'
|
10
|
+
|
11
|
+
|
12
|
+
module Zipkin
|
13
|
+
module Order
|
14
|
+
TIMESTAMP_DESC = 0
|
15
|
+
TIMESTAMP_ASC = 1
|
16
|
+
DURATION_ASC = 2
|
17
|
+
DURATION_DESC = 3
|
18
|
+
NONE = 4
|
19
|
+
VALUE_MAP = {0 => "TIMESTAMP_DESC", 1 => "TIMESTAMP_ASC", 2 => "DURATION_ASC", 3 => "DURATION_DESC", 4 => "NONE"}
|
20
|
+
VALID_VALUES = Set.new([TIMESTAMP_DESC, TIMESTAMP_ASC, DURATION_ASC, DURATION_DESC, NONE]).freeze
|
21
|
+
end
|
22
|
+
|
23
|
+
module Adjust
|
24
|
+
NOTHING = 0
|
25
|
+
TIME_SKEW = 1
|
26
|
+
VALUE_MAP = {0 => "NOTHING", 1 => "TIME_SKEW"}
|
27
|
+
VALID_VALUES = Set.new([NOTHING, TIME_SKEW]).freeze
|
28
|
+
end
|
29
|
+
|
30
|
+
class Trace
|
31
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
32
|
+
SPANS = 1
|
33
|
+
|
34
|
+
FIELDS = {
|
35
|
+
SPANS => {:type => ::Thrift::Types::LIST, :name => 'spans', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Zipkin::Span}}
|
36
|
+
}
|
37
|
+
|
38
|
+
def struct_fields; FIELDS; end
|
39
|
+
|
40
|
+
def validate
|
41
|
+
end
|
42
|
+
|
43
|
+
::Thrift::Struct.generate_accessors self
|
44
|
+
end
|
45
|
+
|
46
|
+
class QueryException < ::Thrift::Exception
|
47
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
48
|
+
def initialize(message=nil)
|
49
|
+
super()
|
50
|
+
self.msg = message
|
51
|
+
end
|
52
|
+
|
53
|
+
def message; msg end
|
54
|
+
|
55
|
+
MSG = 1
|
56
|
+
|
57
|
+
FIELDS = {
|
58
|
+
MSG => {:type => ::Thrift::Types::STRING, :name => 'msg'}
|
59
|
+
}
|
60
|
+
|
61
|
+
def struct_fields; FIELDS; end
|
62
|
+
|
63
|
+
def validate
|
64
|
+
end
|
65
|
+
|
66
|
+
::Thrift::Struct.generate_accessors self
|
67
|
+
end
|
68
|
+
|
69
|
+
# This sums up a single Trace to make it easy for a client to get an overview of what happened.
|
70
|
+
class TraceSummary
|
71
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
72
|
+
TRACE_ID = 1
|
73
|
+
START_TIMESTAMP = 2
|
74
|
+
END_TIMESTAMP = 3
|
75
|
+
DURATION_MICRO = 4
|
76
|
+
SERVICE_COUNTS = 5
|
77
|
+
ENDPOINTS = 6
|
78
|
+
|
79
|
+
FIELDS = {
|
80
|
+
TRACE_ID => {:type => ::Thrift::Types::I64, :name => 'trace_id'},
|
81
|
+
START_TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'start_timestamp'},
|
82
|
+
END_TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'end_timestamp'},
|
83
|
+
DURATION_MICRO => {:type => ::Thrift::Types::I32, :name => 'duration_micro'},
|
84
|
+
SERVICE_COUNTS => {:type => ::Thrift::Types::MAP, :name => 'service_counts', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::I32}},
|
85
|
+
ENDPOINTS => {:type => ::Thrift::Types::LIST, :name => 'endpoints', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Zipkin::Endpoint}}
|
86
|
+
}
|
87
|
+
|
88
|
+
def struct_fields; FIELDS; end
|
89
|
+
|
90
|
+
def validate
|
91
|
+
end
|
92
|
+
|
93
|
+
::Thrift::Struct.generate_accessors self
|
94
|
+
end
|
95
|
+
|
96
|
+
# A modified version of the Annotation struct that brings in more information
|
97
|
+
class TimelineAnnotation
|
98
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
99
|
+
TIMESTAMP = 1
|
100
|
+
VALUE = 2
|
101
|
+
HOST = 3
|
102
|
+
SPAN_ID = 4
|
103
|
+
PARENT_ID = 5
|
104
|
+
SERVICE_NAME = 6
|
105
|
+
SPAN_NAME = 7
|
106
|
+
|
107
|
+
FIELDS = {
|
108
|
+
TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
|
109
|
+
VALUE => {:type => ::Thrift::Types::STRING, :name => 'value'},
|
110
|
+
HOST => {:type => ::Thrift::Types::STRUCT, :name => 'host', :class => ::Zipkin::Endpoint},
|
111
|
+
SPAN_ID => {:type => ::Thrift::Types::I64, :name => 'span_id'},
|
112
|
+
PARENT_ID => {:type => ::Thrift::Types::I64, :name => 'parent_id', :optional => true},
|
113
|
+
SERVICE_NAME => {:type => ::Thrift::Types::STRING, :name => 'service_name'},
|
114
|
+
SPAN_NAME => {:type => ::Thrift::Types::STRING, :name => 'span_name'}
|
115
|
+
}
|
116
|
+
|
117
|
+
def struct_fields; FIELDS; end
|
118
|
+
|
119
|
+
def validate
|
120
|
+
end
|
121
|
+
|
122
|
+
::Thrift::Struct.generate_accessors self
|
123
|
+
end
|
124
|
+
|
125
|
+
# This sums up a single Trace to make it easy for a client to get an overview of what happened.
|
126
|
+
class TraceTimeline
|
127
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
128
|
+
TRACE_ID = 1
|
129
|
+
ROOT_MOST_SPAN_ID = 2
|
130
|
+
ANNOTATIONS = 6
|
131
|
+
BINARY_ANNOTATIONS = 7
|
132
|
+
|
133
|
+
FIELDS = {
|
134
|
+
TRACE_ID => {:type => ::Thrift::Types::I64, :name => 'trace_id'},
|
135
|
+
ROOT_MOST_SPAN_ID => {:type => ::Thrift::Types::I64, :name => 'root_most_span_id'},
|
136
|
+
ANNOTATIONS => {:type => ::Thrift::Types::LIST, :name => 'annotations', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Zipkin::TimelineAnnotation}},
|
137
|
+
BINARY_ANNOTATIONS => {:type => ::Thrift::Types::LIST, :name => 'binary_annotations', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Zipkin::BinaryAnnotation}}
|
138
|
+
}
|
139
|
+
|
140
|
+
def struct_fields; FIELDS; end
|
141
|
+
|
142
|
+
def validate
|
143
|
+
end
|
144
|
+
|
145
|
+
::Thrift::Struct.generate_accessors self
|
146
|
+
end
|
147
|
+
|
148
|
+
# Returns a combination of trace, summary and timeline.
|
149
|
+
class TraceCombo
|
150
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
151
|
+
TRACE = 1
|
152
|
+
SUMMARY = 2
|
153
|
+
TIMELINE = 3
|
154
|
+
SPAN_DEPTHS = 4
|
155
|
+
|
156
|
+
FIELDS = {
|
157
|
+
TRACE => {:type => ::Thrift::Types::STRUCT, :name => 'trace', :class => ::Zipkin::Trace},
|
158
|
+
SUMMARY => {:type => ::Thrift::Types::STRUCT, :name => 'summary', :class => ::Zipkin::TraceSummary, :optional => true},
|
159
|
+
TIMELINE => {:type => ::Thrift::Types::STRUCT, :name => 'timeline', :class => ::Zipkin::TraceTimeline, :optional => true},
|
160
|
+
SPAN_DEPTHS => {:type => ::Thrift::Types::MAP, :name => 'span_depths', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::I32}, :optional => true}
|
161
|
+
}
|
162
|
+
|
163
|
+
def struct_fields; FIELDS; end
|
164
|
+
|
165
|
+
def validate
|
166
|
+
end
|
167
|
+
|
168
|
+
::Thrift::Struct.generate_accessors self
|
169
|
+
end
|
170
|
+
|
171
|
+
class QueryRequest
|
172
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
173
|
+
SERVICE_NAME = 1
|
174
|
+
SPAN_NAME = 2
|
175
|
+
ANNOTATIONS = 3
|
176
|
+
BINARY_ANNOTATIONS = 4
|
177
|
+
END_TS = 5
|
178
|
+
LIMIT = 6
|
179
|
+
ORDER = 7
|
180
|
+
START_TS = 8
|
181
|
+
|
182
|
+
FIELDS = {
|
183
|
+
SERVICE_NAME => {:type => ::Thrift::Types::STRING, :name => 'service_name'},
|
184
|
+
SPAN_NAME => {:type => ::Thrift::Types::STRING, :name => 'span_name', :optional => true},
|
185
|
+
ANNOTATIONS => {:type => ::Thrift::Types::LIST, :name => 'annotations', :element => {:type => ::Thrift::Types::STRING}, :optional => true},
|
186
|
+
BINARY_ANNOTATIONS => {:type => ::Thrift::Types::LIST, :name => 'binary_annotations', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Zipkin::BinaryAnnotation}, :optional => true},
|
187
|
+
END_TS => {:type => ::Thrift::Types::I64, :name => 'end_ts'},
|
188
|
+
LIMIT => {:type => ::Thrift::Types::I32, :name => 'limit'},
|
189
|
+
ORDER => {:type => ::Thrift::Types::I32, :name => 'order', :enum_class => ::Zipkin::Order},
|
190
|
+
START_TS => {:type => ::Thrift::Types::I64, :name => 'start_ts'}
|
191
|
+
}
|
192
|
+
|
193
|
+
def struct_fields; FIELDS; end
|
194
|
+
|
195
|
+
def validate
|
196
|
+
unless @order.nil? || ::Zipkin::Order::VALID_VALUES.include?(@order)
|
197
|
+
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field order!')
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
::Thrift::Struct.generate_accessors self
|
202
|
+
end
|
203
|
+
|
204
|
+
class QueryResponse
|
205
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
206
|
+
TRACE_IDS = 1
|
207
|
+
START_TS = 2
|
208
|
+
END_TS = 3
|
209
|
+
|
210
|
+
FIELDS = {
|
211
|
+
TRACE_IDS => {:type => ::Thrift::Types::LIST, :name => 'trace_ids', :element => {:type => ::Thrift::Types::I64}},
|
212
|
+
START_TS => {:type => ::Thrift::Types::I64, :name => 'start_ts'},
|
213
|
+
END_TS => {:type => ::Thrift::Types::I64, :name => 'end_ts'}
|
214
|
+
}
|
215
|
+
|
216
|
+
def struct_fields; FIELDS; end
|
217
|
+
|
218
|
+
def validate
|
219
|
+
end
|
220
|
+
|
221
|
+
::Thrift::Struct.generate_accessors self
|
222
|
+
end
|
223
|
+
|
224
|
+
end
|
@@ -28,13 +28,13 @@ module Zipkin
|
|
28
28
|
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTraceIds failed: unknown result')
|
29
29
|
end
|
30
30
|
|
31
|
-
def getTraceIdsBySpanName(service_name, span_name, end_ts, limit, order)
|
32
|
-
send_getTraceIdsBySpanName(service_name, span_name, end_ts, limit, order)
|
31
|
+
def getTraceIdsBySpanName(service_name, span_name, end_ts, limit, order, start_ts = 0)
|
32
|
+
send_getTraceIdsBySpanName(service_name, span_name, end_ts, limit, order, start_ts)
|
33
33
|
return recv_getTraceIdsBySpanName()
|
34
34
|
end
|
35
35
|
|
36
|
-
def send_getTraceIdsBySpanName(service_name, span_name, end_ts, limit, order)
|
37
|
-
send_message('getTraceIdsBySpanName', GetTraceIdsBySpanName_args, :service_name => service_name, :span_name => span_name, :end_ts => end_ts, :limit => limit, :order => order)
|
36
|
+
def send_getTraceIdsBySpanName(service_name, span_name, end_ts, limit, order, start_ts)
|
37
|
+
send_message('getTraceIdsBySpanName', GetTraceIdsBySpanName_args, :service_name => service_name, :span_name => span_name, :end_ts => end_ts, :limit => limit, :order => order, :start_ts => start_ts)
|
38
38
|
end
|
39
39
|
|
40
40
|
def recv_getTraceIdsBySpanName()
|
@@ -44,13 +44,13 @@ module Zipkin
|
|
44
44
|
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTraceIdsBySpanName failed: unknown result')
|
45
45
|
end
|
46
46
|
|
47
|
-
def getTraceIdsByServiceName(service_name, end_ts, limit, order)
|
48
|
-
send_getTraceIdsByServiceName(service_name, end_ts, limit, order)
|
47
|
+
def getTraceIdsByServiceName(service_name, end_ts, limit, order, start_ts = 0)
|
48
|
+
send_getTraceIdsByServiceName(service_name, end_ts, limit, order, start_ts)
|
49
49
|
return recv_getTraceIdsByServiceName()
|
50
50
|
end
|
51
51
|
|
52
|
-
def send_getTraceIdsByServiceName(service_name, end_ts, limit, order)
|
53
|
-
send_message('getTraceIdsByServiceName', GetTraceIdsByServiceName_args, :service_name => service_name, :end_ts => end_ts, :limit => limit, :order => order)
|
52
|
+
def send_getTraceIdsByServiceName(service_name, end_ts, limit, order, start_ts)
|
53
|
+
send_message('getTraceIdsByServiceName', GetTraceIdsByServiceName_args, :service_name => service_name, :end_ts => end_ts, :limit => limit, :order => order, :start_ts => start_ts)
|
54
54
|
end
|
55
55
|
|
56
56
|
def recv_getTraceIdsByServiceName()
|
@@ -60,13 +60,13 @@ module Zipkin
|
|
60
60
|
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTraceIdsByServiceName failed: unknown result')
|
61
61
|
end
|
62
62
|
|
63
|
-
def getTraceIdsByAnnotation(service_name, annotation, value, end_ts, limit, order)
|
64
|
-
send_getTraceIdsByAnnotation(service_name, annotation, value, end_ts, limit, order)
|
63
|
+
def getTraceIdsByAnnotation(service_name, annotation, value, end_ts, limit, order, start_ts = 0)
|
64
|
+
send_getTraceIdsByAnnotation(service_name, annotation, value, end_ts, limit, order, start_ts)
|
65
65
|
return recv_getTraceIdsByAnnotation()
|
66
66
|
end
|
67
67
|
|
68
|
-
def send_getTraceIdsByAnnotation(service_name, annotation, value, end_ts, limit, order)
|
69
|
-
send_message('getTraceIdsByAnnotation', GetTraceIdsByAnnotation_args, :service_name => service_name, :annotation => annotation, :value => value, :end_ts => end_ts, :limit => limit, :order => order)
|
68
|
+
def send_getTraceIdsByAnnotation(service_name, annotation, value, end_ts, limit, order, start_ts)
|
69
|
+
send_message('getTraceIdsByAnnotation', GetTraceIdsByAnnotation_args, :service_name => service_name, :annotation => annotation, :value => value, :end_ts => end_ts, :limit => limit, :order => order, :start_ts => start_ts)
|
70
70
|
end
|
71
71
|
|
72
72
|
def recv_getTraceIdsByAnnotation()
|
@@ -92,7 +92,7 @@ module Zipkin
|
|
92
92
|
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'tracesExist failed: unknown result')
|
93
93
|
end
|
94
94
|
|
95
|
-
def getTracesByIds(trace_ids, adjust)
|
95
|
+
def getTracesByIds(trace_ids, adjust=[])
|
96
96
|
send_getTracesByIds(trace_ids, adjust)
|
97
97
|
return recv_getTracesByIds()
|
98
98
|
end
|
@@ -124,9 +124,7 @@ module Zipkin
|
|
124
124
|
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTraceTimelinesByIds failed: unknown result')
|
125
125
|
end
|
126
126
|
|
127
|
-
|
128
|
-
# more info to see zipkinQuery.thrift line 79
|
129
|
-
def getTraceSummariesByIds(trace_ids, adjust=[1])
|
127
|
+
def getTraceSummariesByIds(trace_ids, adjust)
|
130
128
|
send_getTraceSummariesByIds(trace_ids, adjust)
|
131
129
|
return recv_getTraceSummariesByIds()
|
132
130
|
end
|
@@ -142,7 +140,7 @@ module Zipkin
|
|
142
140
|
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTraceSummariesByIds failed: unknown result')
|
143
141
|
end
|
144
142
|
|
145
|
-
def getTraceCombosByIds(trace_ids, adjust
|
143
|
+
def getTraceCombosByIds(trace_ids, adjust)
|
146
144
|
send_getTraceCombosByIds(trace_ids, adjust)
|
147
145
|
return recv_getTraceCombosByIds()
|
148
146
|
end
|
@@ -335,7 +333,7 @@ module Zipkin
|
|
335
333
|
args = read_args(iprot, GetTraceIdsBySpanName_args)
|
336
334
|
result = GetTraceIdsBySpanName_result.new()
|
337
335
|
begin
|
338
|
-
result.success = @handler.getTraceIdsBySpanName(args.service_name, args.span_name, args.end_ts, args.limit, args.order)
|
336
|
+
result.success = @handler.getTraceIdsBySpanName(args.service_name, args.span_name, args.end_ts, args.limit, args.order, args.start_ts)
|
339
337
|
rescue ::Zipkin::QueryException => qe
|
340
338
|
result.qe = qe
|
341
339
|
end
|
@@ -346,7 +344,7 @@ module Zipkin
|
|
346
344
|
args = read_args(iprot, GetTraceIdsByServiceName_args)
|
347
345
|
result = GetTraceIdsByServiceName_result.new()
|
348
346
|
begin
|
349
|
-
result.success = @handler.getTraceIdsByServiceName(args.service_name, args.end_ts, args.limit, args.order)
|
347
|
+
result.success = @handler.getTraceIdsByServiceName(args.service_name, args.end_ts, args.limit, args.order, args.start_ts)
|
350
348
|
rescue ::Zipkin::QueryException => qe
|
351
349
|
result.qe = qe
|
352
350
|
end
|
@@ -357,7 +355,7 @@ module Zipkin
|
|
357
355
|
args = read_args(iprot, GetTraceIdsByAnnotation_args)
|
358
356
|
result = GetTraceIdsByAnnotation_result.new()
|
359
357
|
begin
|
360
|
-
result.success = @handler.getTraceIdsByAnnotation(args.service_name, args.annotation, args.value, args.end_ts, args.limit, args.order)
|
358
|
+
result.success = @handler.getTraceIdsByAnnotation(args.service_name, args.annotation, args.value, args.end_ts, args.limit, args.order, args.start_ts)
|
361
359
|
rescue ::Zipkin::QueryException => qe
|
362
360
|
result.qe = qe
|
363
361
|
end
|
@@ -566,13 +564,15 @@ module Zipkin
|
|
566
564
|
END_TS = 4
|
567
565
|
LIMIT = 5
|
568
566
|
ORDER = 6
|
567
|
+
START_TS = 7
|
569
568
|
|
570
569
|
FIELDS = {
|
571
570
|
SERVICE_NAME => {:type => ::Thrift::Types::STRING, :name => 'service_name'},
|
572
571
|
SPAN_NAME => {:type => ::Thrift::Types::STRING, :name => 'span_name'},
|
573
572
|
END_TS => {:type => ::Thrift::Types::I64, :name => 'end_ts'},
|
574
573
|
LIMIT => {:type => ::Thrift::Types::I32, :name => 'limit'},
|
575
|
-
ORDER => {:type => ::Thrift::Types::I32, :name => 'order', :enum_class => ::Zipkin::Order}
|
574
|
+
ORDER => {:type => ::Thrift::Types::I32, :name => 'order', :enum_class => ::Zipkin::Order},
|
575
|
+
START_TS => {:type => ::Thrift::Types::I64, :name => 'start_ts'}
|
576
576
|
}
|
577
577
|
|
578
578
|
def struct_fields; FIELDS; end
|
@@ -610,12 +610,14 @@ module Zipkin
|
|
610
610
|
END_TS = 3
|
611
611
|
LIMIT = 4
|
612
612
|
ORDER = 5
|
613
|
+
START_TS = 6
|
613
614
|
|
614
615
|
FIELDS = {
|
615
616
|
SERVICE_NAME => {:type => ::Thrift::Types::STRING, :name => 'service_name'},
|
616
617
|
END_TS => {:type => ::Thrift::Types::I64, :name => 'end_ts'},
|
617
618
|
LIMIT => {:type => ::Thrift::Types::I32, :name => 'limit'},
|
618
|
-
ORDER => {:type => ::Thrift::Types::I32, :name => 'order', :enum_class => ::Zipkin::Order}
|
619
|
+
ORDER => {:type => ::Thrift::Types::I32, :name => 'order', :enum_class => ::Zipkin::Order},
|
620
|
+
START_TS => {:type => ::Thrift::Types::I64, :name => 'start_ts'}
|
619
621
|
}
|
620
622
|
|
621
623
|
def struct_fields; FIELDS; end
|
@@ -655,6 +657,7 @@ module Zipkin
|
|
655
657
|
END_TS = 5
|
656
658
|
LIMIT = 6
|
657
659
|
ORDER = 7
|
660
|
+
START_TS = 8
|
658
661
|
|
659
662
|
FIELDS = {
|
660
663
|
SERVICE_NAME => {:type => ::Thrift::Types::STRING, :name => 'service_name'},
|
@@ -662,7 +665,8 @@ module Zipkin
|
|
662
665
|
VALUE => {:type => ::Thrift::Types::STRING, :name => 'value', :binary => true},
|
663
666
|
END_TS => {:type => ::Thrift::Types::I64, :name => 'end_ts'},
|
664
667
|
LIMIT => {:type => ::Thrift::Types::I32, :name => 'limit'},
|
665
|
-
ORDER => {:type => ::Thrift::Types::I32, :name => 'order', :enum_class => ::Zipkin::Order}
|
668
|
+
ORDER => {:type => ::Thrift::Types::I32, :name => 'order', :enum_class => ::Zipkin::Order},
|
669
|
+
START_TS => {:type => ::Thrift::Types::I64, :name => 'start_ts'}
|
666
670
|
}
|
667
671
|
|
668
672
|
def struct_fields; FIELDS; end
|
@@ -177,6 +177,7 @@ module Zipkin
|
|
177
177
|
END_TS = 5
|
178
178
|
LIMIT = 6
|
179
179
|
ORDER = 7
|
180
|
+
START_TS = 8
|
180
181
|
|
181
182
|
FIELDS = {
|
182
183
|
SERVICE_NAME => {:type => ::Thrift::Types::STRING, :name => 'service_name'},
|
@@ -185,7 +186,8 @@ module Zipkin
|
|
185
186
|
BINARY_ANNOTATIONS => {:type => ::Thrift::Types::LIST, :name => 'binary_annotations', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Zipkin::BinaryAnnotation}, :optional => true},
|
186
187
|
END_TS => {:type => ::Thrift::Types::I64, :name => 'end_ts'},
|
187
188
|
LIMIT => {:type => ::Thrift::Types::I32, :name => 'limit'},
|
188
|
-
ORDER => {:type => ::Thrift::Types::I32, :name => 'order', :enum_class => ::Zipkin::Order}
|
189
|
+
ORDER => {:type => ::Thrift::Types::I32, :name => 'order', :enum_class => ::Zipkin::Order},
|
190
|
+
START_TS => {:type => ::Thrift::Types::I64, :name => 'start_ts'}
|
189
191
|
}
|
190
192
|
|
191
193
|
def struct_fields; FIELDS; end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zipkin_query
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zerd Liu
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-10-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thrift
|
@@ -46,6 +46,13 @@ executables: []
|
|
46
46
|
extensions: []
|
47
47
|
extra_rdoc_files: []
|
48
48
|
files:
|
49
|
+
- lib/thrift/thrift/gen-rb/zipkin_core_constants.rb
|
50
|
+
- lib/thrift/thrift/gen-rb/zipkin_core_types.rb
|
51
|
+
- lib/thrift/thrift/gen-rb/zipkin_dependencies_constants.rb
|
52
|
+
- lib/thrift/thrift/gen-rb/zipkin_dependencies_types.rb
|
53
|
+
- lib/thrift/thrift/gen-rb/zipkin_query.rb
|
54
|
+
- lib/thrift/thrift/gen-rb/zipkin_query_constants.rb
|
55
|
+
- lib/thrift/thrift/gen-rb/zipkin_query_types.rb
|
49
56
|
- lib/zipkin_query.rb
|
50
57
|
- lib/zipkin_query/zipkin_core_constants.rb
|
51
58
|
- lib/zipkin_query/zipkin_core_types.rb
|
@@ -73,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
80
|
version: '0'
|
74
81
|
requirements: []
|
75
82
|
rubyforge_project:
|
76
|
-
rubygems_version: 2.
|
83
|
+
rubygems_version: 2.4.2
|
77
84
|
signing_key:
|
78
85
|
specification_version: 4
|
79
86
|
summary: A Zipkin query client.
|