5 _b=sys.version_info[0]<3
and (
lambda x:x)
or (
lambda x:x.encode(
'latin1'))
12 _sym_db = _symbol_database.Default()
15 from google.protobuf import timestamp_pb2
as google_dot_protobuf_dot_timestamp__pb2
16 from google.protobuf import wrappers_pb2
as google_dot_protobuf_dot_wrappers__pb2
20 DESCRIPTOR = _descriptor.FileDescriptor(
21 name=
'opencensus/proto/metrics/v1/metrics.proto',
22 package=
'opencensus.proto.metrics.v1',
24 serialized_options=
_b(
'\n\036io.opencensus.proto.metrics.v1B\014MetricsProtoP\001ZDgithub.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1\352\002\033OpenCensus.Proto.Metrics.V1'),
25 serialized_pb=
_b(
'\n)opencensus/proto/metrics/v1/metrics.proto\x12\x1bopencensus.proto.metrics.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a+opencensus/proto/resource/v1/resource.proto\"\xc9\x01\n\x06Metric\x12H\n\x11metric_descriptor\x18\x01 \x01(\x0b\x32-.opencensus.proto.metrics.v1.MetricDescriptor\x12;\n\ntimeseries\x18\x02 \x03(\x0b\x32\'.opencensus.proto.metrics.v1.TimeSeries\x12\x38\n\x08resource\x18\x03 \x01(\x0b\x32&.opencensus.proto.resource.v1.Resource\"\xec\x02\n\x10MetricDescriptor\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04unit\x18\x03 \x01(\t\x12@\n\x04type\x18\x04 \x01(\x0e\x32\x32.opencensus.proto.metrics.v1.MetricDescriptor.Type\x12\x39\n\nlabel_keys\x18\x05 \x03(\x0b\x32%.opencensus.proto.metrics.v1.LabelKey\"\xa9\x01\n\x04Type\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0f\n\x0bGAUGE_INT64\x10\x01\x12\x10\n\x0cGAUGE_DOUBLE\x10\x02\x12\x16\n\x12GAUGE_DISTRIBUTION\x10\x03\x12\x14\n\x10\x43UMULATIVE_INT64\x10\x04\x12\x15\n\x11\x43UMULATIVE_DOUBLE\x10\x05\x12\x1b\n\x17\x43UMULATIVE_DISTRIBUTION\x10\x06\x12\x0b\n\x07SUMMARY\x10\x07\",\n\x08LabelKey\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"\xb4\x01\n\nTimeSeries\x12\x33\n\x0fstart_timestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12=\n\x0clabel_values\x18\x02 \x03(\x0b\x32\'.opencensus.proto.metrics.v1.LabelValue\x12\x32\n\x06points\x18\x03 \x03(\x0b\x32\".opencensus.proto.metrics.v1.Point\".\n\nLabelValue\x12\r\n\x05value\x18\x01 \x01(\t\x12\x11\n\thas_value\x18\x02 \x01(\x08\"\x80\x02\n\x05Point\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\x0bint64_value\x18\x02 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x03 \x01(\x01H\x00\x12L\n\x12\x64istribution_value\x18\x04 \x01(\x0b\x32..opencensus.proto.metrics.v1.DistributionValueH\x00\x12\x42\n\rsummary_value\x18\x05 \x01(\x0b\x32).opencensus.proto.metrics.v1.SummaryValueH\x00\x42\x07\n\x05value\"\xc2\x05\n\x11\x44istributionValue\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x0b\n\x03sum\x18\x02 \x01(\x01\x12 \n\x18sum_of_squared_deviation\x18\x03 \x01(\x01\x12T\n\x0e\x62ucket_options\x18\x04 \x01(\x0b\x32<.opencensus.proto.metrics.v1.DistributionValue.BucketOptions\x12\x46\n\x07\x62uckets\x18\x05 \x03(\x0b\x32\x35.opencensus.proto.metrics.v1.DistributionValue.Bucket\x1a\x8e\x01\n\rBucketOptions\x12Y\n\x08\x65xplicit\x18\x01 \x01(\x0b\x32\x45.opencensus.proto.metrics.v1.DistributionValue.BucketOptions.ExplicitH\x00\x1a\x1a\n\x08\x45xplicit\x12\x0e\n\x06\x62ounds\x18\x01 \x03(\x01\x42\x06\n\x04type\x1a\x62\n\x06\x42ucket\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12I\n\x08\x65xemplar\x18\x02 \x01(\x0b\x32\x37.opencensus.proto.metrics.v1.DistributionValue.Exemplar\x1a\xdb\x01\n\x08\x45xemplar\x12\r\n\x05value\x18\x01 \x01(\x01\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12]\n\x0b\x61ttachments\x18\x03 \x03(\x0b\x32H.opencensus.proto.metrics.v1.DistributionValue.Exemplar.AttachmentsEntry\x1a\x32\n\x10\x41ttachmentsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa8\x03\n\x0cSummaryValue\x12*\n\x05\x63ount\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12)\n\x03sum\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x44\n\x08snapshot\x18\x03 \x01(\x0b\x32\x32.opencensus.proto.metrics.v1.SummaryValue.Snapshot\x1a\xfa\x01\n\x08Snapshot\x12*\n\x05\x63ount\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12)\n\x03sum\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12_\n\x11percentile_values\x18\x03 \x03(\x0b\x32\x44.opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile\x1a\x36\n\x11ValueAtPercentile\x12\x12\n\npercentile\x18\x01 \x01(\x01\x12\r\n\x05value\x18\x02 \x01(\x01\x42\x94\x01\n\x1eio.opencensus.proto.metrics.v1B\x0cMetricsProtoP\x01ZDgithub.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1\xea\x02\x1bOpenCensus.Proto.Metrics.V1b\x06proto3')
27 dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,opencensus_dot_proto_dot_resource_dot_v1_dot_resource__pb2.DESCRIPTOR,])
31 _METRICDESCRIPTOR_TYPE = _descriptor.EnumDescriptor(
33 full_name=
'opencensus.proto.metrics.v1.MetricDescriptor.Type',
37 _descriptor.EnumValueDescriptor(
38 name=
'UNSPECIFIED', index=0, number=0,
39 serialized_options=
None,
41 _descriptor.EnumValueDescriptor(
42 name=
'GAUGE_INT64', index=1, number=1,
43 serialized_options=
None,
45 _descriptor.EnumValueDescriptor(
46 name=
'GAUGE_DOUBLE', index=2, number=2,
47 serialized_options=
None,
49 _descriptor.EnumValueDescriptor(
50 name=
'GAUGE_DISTRIBUTION', index=3, number=3,
51 serialized_options=
None,
53 _descriptor.EnumValueDescriptor(
54 name=
'CUMULATIVE_INT64', index=4, number=4,
55 serialized_options=
None,
57 _descriptor.EnumValueDescriptor(
58 name=
'CUMULATIVE_DOUBLE', index=5, number=5,
59 serialized_options=
None,
61 _descriptor.EnumValueDescriptor(
62 name=
'CUMULATIVE_DISTRIBUTION', index=6, number=6,
63 serialized_options=
None,
65 _descriptor.EnumValueDescriptor(
66 name=
'SUMMARY', index=7, number=7,
67 serialized_options=
None,
71 serialized_options=
None,
75 _sym_db.RegisterEnumDescriptor(_METRICDESCRIPTOR_TYPE)
78 _METRIC = _descriptor.Descriptor(
80 full_name=
'opencensus.proto.metrics.v1.Metric',
85 _descriptor.FieldDescriptor(
86 name=
'metric_descriptor', full_name=
'opencensus.proto.metrics.v1.Metric.metric_descriptor', index=0,
87 number=1, type=11, cpp_type=10, label=1,
88 has_default_value=
False, default_value=
None,
89 message_type=
None, enum_type=
None, containing_type=
None,
90 is_extension=
False, extension_scope=
None,
91 serialized_options=
None, file=DESCRIPTOR),
92 _descriptor.FieldDescriptor(
93 name=
'timeseries', full_name=
'opencensus.proto.metrics.v1.Metric.timeseries', index=1,
94 number=2, type=11, cpp_type=10, label=3,
95 has_default_value=
False, default_value=[],
96 message_type=
None, enum_type=
None, containing_type=
None,
97 is_extension=
False, extension_scope=
None,
98 serialized_options=
None, file=DESCRIPTOR),
99 _descriptor.FieldDescriptor(
100 name=
'resource', full_name=
'opencensus.proto.metrics.v1.Metric.resource', index=2,
101 number=3, type=11, cpp_type=10, label=1,
102 has_default_value=
False, default_value=
None,
103 message_type=
None, enum_type=
None, containing_type=
None,
104 is_extension=
False, extension_scope=
None,
105 serialized_options=
None, file=DESCRIPTOR),
112 serialized_options=
None,
118 serialized_start=185,
123 _METRICDESCRIPTOR = _descriptor.Descriptor(
124 name=
'MetricDescriptor',
125 full_name=
'opencensus.proto.metrics.v1.MetricDescriptor',
128 containing_type=
None,
130 _descriptor.FieldDescriptor(
131 name=
'name', full_name=
'opencensus.proto.metrics.v1.MetricDescriptor.name', index=0,
132 number=1, type=9, cpp_type=9, label=1,
133 has_default_value=
False, default_value=
_b(
"").
decode(
'utf-8'),
134 message_type=
None, enum_type=
None, containing_type=
None,
135 is_extension=
False, extension_scope=
None,
136 serialized_options=
None, file=DESCRIPTOR),
137 _descriptor.FieldDescriptor(
138 name=
'description', full_name=
'opencensus.proto.metrics.v1.MetricDescriptor.description', index=1,
139 number=2, type=9, cpp_type=9, label=1,
140 has_default_value=
False, default_value=
_b(
"").
decode(
'utf-8'),
141 message_type=
None, enum_type=
None, containing_type=
None,
142 is_extension=
False, extension_scope=
None,
143 serialized_options=
None, file=DESCRIPTOR),
144 _descriptor.FieldDescriptor(
145 name=
'unit', full_name=
'opencensus.proto.metrics.v1.MetricDescriptor.unit', index=2,
146 number=3, type=9, cpp_type=9, label=1,
147 has_default_value=
False, default_value=
_b(
"").
decode(
'utf-8'),
148 message_type=
None, enum_type=
None, containing_type=
None,
149 is_extension=
False, extension_scope=
None,
150 serialized_options=
None, file=DESCRIPTOR),
151 _descriptor.FieldDescriptor(
152 name=
'type', full_name=
'opencensus.proto.metrics.v1.MetricDescriptor.type', index=3,
153 number=4, type=14, cpp_type=8, label=1,
154 has_default_value=
False, default_value=0,
155 message_type=
None, enum_type=
None, containing_type=
None,
156 is_extension=
False, extension_scope=
None,
157 serialized_options=
None, file=DESCRIPTOR),
158 _descriptor.FieldDescriptor(
159 name=
'label_keys', full_name=
'opencensus.proto.metrics.v1.MetricDescriptor.label_keys', index=4,
160 number=5, type=11, cpp_type=10, label=3,
161 has_default_value=
False, default_value=[],
162 message_type=
None, enum_type=
None, containing_type=
None,
163 is_extension=
False, extension_scope=
None,
164 serialized_options=
None, file=DESCRIPTOR),
170 _METRICDESCRIPTOR_TYPE,
172 serialized_options=
None,
178 serialized_start=389,
183 _LABELKEY = _descriptor.Descriptor(
185 full_name=
'opencensus.proto.metrics.v1.LabelKey',
188 containing_type=
None,
190 _descriptor.FieldDescriptor(
191 name=
'key', full_name=
'opencensus.proto.metrics.v1.LabelKey.key', index=0,
192 number=1, type=9, cpp_type=9, label=1,
193 has_default_value=
False, default_value=
_b(
"").
decode(
'utf-8'),
194 message_type=
None, enum_type=
None, containing_type=
None,
195 is_extension=
False, extension_scope=
None,
196 serialized_options=
None, file=DESCRIPTOR),
197 _descriptor.FieldDescriptor(
198 name=
'description', full_name=
'opencensus.proto.metrics.v1.LabelKey.description', index=1,
199 number=2, type=9, cpp_type=9, label=1,
200 has_default_value=
False, default_value=
_b(
"").
decode(
'utf-8'),
201 message_type=
None, enum_type=
None, containing_type=
None,
202 is_extension=
False, extension_scope=
None,
203 serialized_options=
None, file=DESCRIPTOR),
210 serialized_options=
None,
216 serialized_start=755,
221 _TIMESERIES = _descriptor.Descriptor(
223 full_name=
'opencensus.proto.metrics.v1.TimeSeries',
226 containing_type=
None,
228 _descriptor.FieldDescriptor(
229 name=
'start_timestamp', full_name=
'opencensus.proto.metrics.v1.TimeSeries.start_timestamp', index=0,
230 number=1, type=11, cpp_type=10, label=1,
231 has_default_value=
False, default_value=
None,
232 message_type=
None, enum_type=
None, containing_type=
None,
233 is_extension=
False, extension_scope=
None,
234 serialized_options=
None, file=DESCRIPTOR),
235 _descriptor.FieldDescriptor(
236 name=
'label_values', full_name=
'opencensus.proto.metrics.v1.TimeSeries.label_values', index=1,
237 number=2, type=11, cpp_type=10, label=3,
238 has_default_value=
False, default_value=[],
239 message_type=
None, enum_type=
None, containing_type=
None,
240 is_extension=
False, extension_scope=
None,
241 serialized_options=
None, file=DESCRIPTOR),
242 _descriptor.FieldDescriptor(
243 name=
'points', full_name=
'opencensus.proto.metrics.v1.TimeSeries.points', index=2,
244 number=3, type=11, cpp_type=10, label=3,
245 has_default_value=
False, default_value=[],
246 message_type=
None, enum_type=
None, containing_type=
None,
247 is_extension=
False, extension_scope=
None,
248 serialized_options=
None, file=DESCRIPTOR),
255 serialized_options=
None,
261 serialized_start=802,
266 _LABELVALUE = _descriptor.Descriptor(
268 full_name=
'opencensus.proto.metrics.v1.LabelValue',
271 containing_type=
None,
273 _descriptor.FieldDescriptor(
274 name=
'value', full_name=
'opencensus.proto.metrics.v1.LabelValue.value', index=0,
275 number=1, type=9, cpp_type=9, label=1,
276 has_default_value=
False, default_value=
_b(
"").
decode(
'utf-8'),
277 message_type=
None, enum_type=
None, containing_type=
None,
278 is_extension=
False, extension_scope=
None,
279 serialized_options=
None, file=DESCRIPTOR),
280 _descriptor.FieldDescriptor(
281 name=
'has_value', full_name=
'opencensus.proto.metrics.v1.LabelValue.has_value', index=1,
282 number=2, type=8, cpp_type=7, label=1,
283 has_default_value=
False, default_value=
False,
284 message_type=
None, enum_type=
None, containing_type=
None,
285 is_extension=
False, extension_scope=
None,
286 serialized_options=
None, file=DESCRIPTOR),
293 serialized_options=
None,
299 serialized_start=984,
304 _POINT = _descriptor.Descriptor(
306 full_name=
'opencensus.proto.metrics.v1.Point',
309 containing_type=
None,
311 _descriptor.FieldDescriptor(
312 name=
'timestamp', full_name=
'opencensus.proto.metrics.v1.Point.timestamp', index=0,
313 number=1, type=11, cpp_type=10, label=1,
314 has_default_value=
False, default_value=
None,
315 message_type=
None, enum_type=
None, containing_type=
None,
316 is_extension=
False, extension_scope=
None,
317 serialized_options=
None, file=DESCRIPTOR),
318 _descriptor.FieldDescriptor(
319 name=
'int64_value', full_name=
'opencensus.proto.metrics.v1.Point.int64_value', index=1,
320 number=2, type=3, cpp_type=2, label=1,
321 has_default_value=
False, default_value=0,
322 message_type=
None, enum_type=
None, containing_type=
None,
323 is_extension=
False, extension_scope=
None,
324 serialized_options=
None, file=DESCRIPTOR),
325 _descriptor.FieldDescriptor(
326 name=
'double_value', full_name=
'opencensus.proto.metrics.v1.Point.double_value', index=2,
327 number=3, type=1, cpp_type=5, label=1,
328 has_default_value=
False, default_value=float(0),
329 message_type=
None, enum_type=
None, containing_type=
None,
330 is_extension=
False, extension_scope=
None,
331 serialized_options=
None, file=DESCRIPTOR),
332 _descriptor.FieldDescriptor(
333 name=
'distribution_value', full_name=
'opencensus.proto.metrics.v1.Point.distribution_value', index=3,
334 number=4, type=11, cpp_type=10, label=1,
335 has_default_value=
False, default_value=
None,
336 message_type=
None, enum_type=
None, containing_type=
None,
337 is_extension=
False, extension_scope=
None,
338 serialized_options=
None, file=DESCRIPTOR),
339 _descriptor.FieldDescriptor(
340 name=
'summary_value', full_name=
'opencensus.proto.metrics.v1.Point.summary_value', index=4,
341 number=5, type=11, cpp_type=10, label=1,
342 has_default_value=
False, default_value=
None,
343 message_type=
None, enum_type=
None, containing_type=
None,
344 is_extension=
False, extension_scope=
None,
345 serialized_options=
None, file=DESCRIPTOR),
352 serialized_options=
None,
357 _descriptor.OneofDescriptor(
358 name=
'value', full_name=
'opencensus.proto.metrics.v1.Point.value',
359 index=0, containing_type=
None, fields=[]),
361 serialized_start=1033,
366 _DISTRIBUTIONVALUE_BUCKETOPTIONS_EXPLICIT = _descriptor.Descriptor(
368 full_name=
'opencensus.proto.metrics.v1.DistributionValue.BucketOptions.Explicit',
371 containing_type=
None,
373 _descriptor.FieldDescriptor(
374 name=
'bounds', full_name=
'opencensus.proto.metrics.v1.DistributionValue.BucketOptions.Explicit.bounds', index=0,
375 number=1, type=1, cpp_type=5, label=3,
376 has_default_value=
False, default_value=[],
377 message_type=
None, enum_type=
None, containing_type=
None,
378 is_extension=
False, extension_scope=
None,
379 serialized_options=
None, file=DESCRIPTOR),
386 serialized_options=
None,
392 serialized_start=1642,
396 _DISTRIBUTIONVALUE_BUCKETOPTIONS = _descriptor.Descriptor(
397 name=
'BucketOptions',
398 full_name=
'opencensus.proto.metrics.v1.DistributionValue.BucketOptions',
401 containing_type=
None,
403 _descriptor.FieldDescriptor(
404 name=
'explicit', full_name=
'opencensus.proto.metrics.v1.DistributionValue.BucketOptions.explicit', index=0,
405 number=1, type=11, cpp_type=10, label=1,
406 has_default_value=
False, default_value=
None,
407 message_type=
None, enum_type=
None, containing_type=
None,
408 is_extension=
False, extension_scope=
None,
409 serialized_options=
None, file=DESCRIPTOR),
413 nested_types=[_DISTRIBUTIONVALUE_BUCKETOPTIONS_EXPLICIT, ],
416 serialized_options=
None,
421 _descriptor.OneofDescriptor(
422 name=
'type', full_name=
'opencensus.proto.metrics.v1.DistributionValue.BucketOptions.type',
423 index=0, containing_type=
None, fields=[]),
425 serialized_start=1534,
429 _DISTRIBUTIONVALUE_BUCKET = _descriptor.Descriptor(
431 full_name=
'opencensus.proto.metrics.v1.DistributionValue.Bucket',
434 containing_type=
None,
436 _descriptor.FieldDescriptor(
437 name=
'count', full_name=
'opencensus.proto.metrics.v1.DistributionValue.Bucket.count', index=0,
438 number=1, type=3, cpp_type=2, label=1,
439 has_default_value=
False, default_value=0,
440 message_type=
None, enum_type=
None, containing_type=
None,
441 is_extension=
False, extension_scope=
None,
442 serialized_options=
None, file=DESCRIPTOR),
443 _descriptor.FieldDescriptor(
444 name=
'exemplar', full_name=
'opencensus.proto.metrics.v1.DistributionValue.Bucket.exemplar', index=1,
445 number=2, type=11, cpp_type=10, label=1,
446 has_default_value=
False, default_value=
None,
447 message_type=
None, enum_type=
None, containing_type=
None,
448 is_extension=
False, extension_scope=
None,
449 serialized_options=
None, file=DESCRIPTOR),
456 serialized_options=
None,
462 serialized_start=1678,
466 _DISTRIBUTIONVALUE_EXEMPLAR_ATTACHMENTSENTRY = _descriptor.Descriptor(
467 name=
'AttachmentsEntry',
468 full_name=
'opencensus.proto.metrics.v1.DistributionValue.Exemplar.AttachmentsEntry',
471 containing_type=
None,
473 _descriptor.FieldDescriptor(
474 name=
'key', full_name=
'opencensus.proto.metrics.v1.DistributionValue.Exemplar.AttachmentsEntry.key', index=0,
475 number=1, type=9, cpp_type=9, label=1,
476 has_default_value=
False, default_value=
_b(
"").
decode(
'utf-8'),
477 message_type=
None, enum_type=
None, containing_type=
None,
478 is_extension=
False, extension_scope=
None,
479 serialized_options=
None, file=DESCRIPTOR),
480 _descriptor.FieldDescriptor(
481 name=
'value', full_name=
'opencensus.proto.metrics.v1.DistributionValue.Exemplar.AttachmentsEntry.value', index=1,
482 number=2, type=9, cpp_type=9, label=1,
483 has_default_value=
False, default_value=
_b(
"").
decode(
'utf-8'),
484 message_type=
None, enum_type=
None, containing_type=
None,
485 is_extension=
False, extension_scope=
None,
486 serialized_options=
None, file=DESCRIPTOR),
493 serialized_options=
_b(
'8\001'),
499 serialized_start=1948,
503 _DISTRIBUTIONVALUE_EXEMPLAR = _descriptor.Descriptor(
505 full_name=
'opencensus.proto.metrics.v1.DistributionValue.Exemplar',
508 containing_type=
None,
510 _descriptor.FieldDescriptor(
511 name=
'value', full_name=
'opencensus.proto.metrics.v1.DistributionValue.Exemplar.value', index=0,
512 number=1, type=1, cpp_type=5, label=1,
513 has_default_value=
False, default_value=float(0),
514 message_type=
None, enum_type=
None, containing_type=
None,
515 is_extension=
False, extension_scope=
None,
516 serialized_options=
None, file=DESCRIPTOR),
517 _descriptor.FieldDescriptor(
518 name=
'timestamp', full_name=
'opencensus.proto.metrics.v1.DistributionValue.Exemplar.timestamp', index=1,
519 number=2, type=11, cpp_type=10, label=1,
520 has_default_value=
False, default_value=
None,
521 message_type=
None, enum_type=
None, containing_type=
None,
522 is_extension=
False, extension_scope=
None,
523 serialized_options=
None, file=DESCRIPTOR),
524 _descriptor.FieldDescriptor(
525 name=
'attachments', full_name=
'opencensus.proto.metrics.v1.DistributionValue.Exemplar.attachments', index=2,
526 number=3, type=11, cpp_type=10, label=3,
527 has_default_value=
False, default_value=[],
528 message_type=
None, enum_type=
None, containing_type=
None,
529 is_extension=
False, extension_scope=
None,
530 serialized_options=
None, file=DESCRIPTOR),
534 nested_types=[_DISTRIBUTIONVALUE_EXEMPLAR_ATTACHMENTSENTRY, ],
537 serialized_options=
None,
543 serialized_start=1779,
547 _DISTRIBUTIONVALUE = _descriptor.Descriptor(
548 name=
'DistributionValue',
549 full_name=
'opencensus.proto.metrics.v1.DistributionValue',
552 containing_type=
None,
554 _descriptor.FieldDescriptor(
555 name=
'count', full_name=
'opencensus.proto.metrics.v1.DistributionValue.count', index=0,
556 number=1, type=3, cpp_type=2, label=1,
557 has_default_value=
False, default_value=0,
558 message_type=
None, enum_type=
None, containing_type=
None,
559 is_extension=
False, extension_scope=
None,
560 serialized_options=
None, file=DESCRIPTOR),
561 _descriptor.FieldDescriptor(
562 name=
'sum', full_name=
'opencensus.proto.metrics.v1.DistributionValue.sum', index=1,
563 number=2, type=1, cpp_type=5, label=1,
564 has_default_value=
False, default_value=float(0),
565 message_type=
None, enum_type=
None, containing_type=
None,
566 is_extension=
False, extension_scope=
None,
567 serialized_options=
None, file=DESCRIPTOR),
568 _descriptor.FieldDescriptor(
569 name=
'sum_of_squared_deviation', full_name=
'opencensus.proto.metrics.v1.DistributionValue.sum_of_squared_deviation', index=2,
570 number=3, type=1, cpp_type=5, label=1,
571 has_default_value=
False, default_value=float(0),
572 message_type=
None, enum_type=
None, containing_type=
None,
573 is_extension=
False, extension_scope=
None,
574 serialized_options=
None, file=DESCRIPTOR),
575 _descriptor.FieldDescriptor(
576 name=
'bucket_options', full_name=
'opencensus.proto.metrics.v1.DistributionValue.bucket_options', index=3,
577 number=4, type=11, cpp_type=10, label=1,
578 has_default_value=
False, default_value=
None,
579 message_type=
None, enum_type=
None, containing_type=
None,
580 is_extension=
False, extension_scope=
None,
581 serialized_options=
None, file=DESCRIPTOR),
582 _descriptor.FieldDescriptor(
583 name=
'buckets', full_name=
'opencensus.proto.metrics.v1.DistributionValue.buckets', index=4,
584 number=5, type=11, cpp_type=10, label=3,
585 has_default_value=
False, default_value=[],
586 message_type=
None, enum_type=
None, containing_type=
None,
587 is_extension=
False, extension_scope=
None,
588 serialized_options=
None, file=DESCRIPTOR),
592 nested_types=[_DISTRIBUTIONVALUE_BUCKETOPTIONS, _DISTRIBUTIONVALUE_BUCKET, _DISTRIBUTIONVALUE_EXEMPLAR, ],
595 serialized_options=
None,
601 serialized_start=1292,
606 _SUMMARYVALUE_SNAPSHOT_VALUEATPERCENTILE = _descriptor.Descriptor(
607 name=
'ValueAtPercentile',
608 full_name=
'opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile',
611 containing_type=
None,
613 _descriptor.FieldDescriptor(
614 name=
'percentile', full_name=
'opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile.percentile', index=0,
615 number=1, type=1, cpp_type=5, label=1,
616 has_default_value=
False, default_value=float(0),
617 message_type=
None, enum_type=
None, containing_type=
None,
618 is_extension=
False, extension_scope=
None,
619 serialized_options=
None, file=DESCRIPTOR),
620 _descriptor.FieldDescriptor(
621 name=
'value', full_name=
'opencensus.proto.metrics.v1.SummaryValue.Snapshot.ValueAtPercentile.value', index=1,
622 number=2, type=1, cpp_type=5, label=1,
623 has_default_value=
False, default_value=float(0),
624 message_type=
None, enum_type=
None, containing_type=
None,
625 is_extension=
False, extension_scope=
None,
626 serialized_options=
None, file=DESCRIPTOR),
633 serialized_options=
None,
639 serialized_start=2371,
643 _SUMMARYVALUE_SNAPSHOT = _descriptor.Descriptor(
645 full_name=
'opencensus.proto.metrics.v1.SummaryValue.Snapshot',
648 containing_type=
None,
650 _descriptor.FieldDescriptor(
651 name=
'count', full_name=
'opencensus.proto.metrics.v1.SummaryValue.Snapshot.count', index=0,
652 number=1, type=11, cpp_type=10, label=1,
653 has_default_value=
False, default_value=
None,
654 message_type=
None, enum_type=
None, containing_type=
None,
655 is_extension=
False, extension_scope=
None,
656 serialized_options=
None, file=DESCRIPTOR),
657 _descriptor.FieldDescriptor(
658 name=
'sum', full_name=
'opencensus.proto.metrics.v1.SummaryValue.Snapshot.sum', index=1,
659 number=2, type=11, cpp_type=10, label=1,
660 has_default_value=
False, default_value=
None,
661 message_type=
None, enum_type=
None, containing_type=
None,
662 is_extension=
False, extension_scope=
None,
663 serialized_options=
None, file=DESCRIPTOR),
664 _descriptor.FieldDescriptor(
665 name=
'percentile_values', full_name=
'opencensus.proto.metrics.v1.SummaryValue.Snapshot.percentile_values', index=2,
666 number=3, type=11, cpp_type=10, label=3,
667 has_default_value=
False, default_value=[],
668 message_type=
None, enum_type=
None, containing_type=
None,
669 is_extension=
False, extension_scope=
None,
670 serialized_options=
None, file=DESCRIPTOR),
674 nested_types=[_SUMMARYVALUE_SNAPSHOT_VALUEATPERCENTILE, ],
677 serialized_options=
None,
683 serialized_start=2175,
687 _SUMMARYVALUE = _descriptor.Descriptor(
689 full_name=
'opencensus.proto.metrics.v1.SummaryValue',
692 containing_type=
None,
694 _descriptor.FieldDescriptor(
695 name=
'count', full_name=
'opencensus.proto.metrics.v1.SummaryValue.count', index=0,
696 number=1, type=11, cpp_type=10, label=1,
697 has_default_value=
False, default_value=
None,
698 message_type=
None, enum_type=
None, containing_type=
None,
699 is_extension=
False, extension_scope=
None,
700 serialized_options=
None, file=DESCRIPTOR),
701 _descriptor.FieldDescriptor(
702 name=
'sum', full_name=
'opencensus.proto.metrics.v1.SummaryValue.sum', index=1,
703 number=2, type=11, cpp_type=10, label=1,
704 has_default_value=
False, default_value=
None,
705 message_type=
None, enum_type=
None, containing_type=
None,
706 is_extension=
False, extension_scope=
None,
707 serialized_options=
None, file=DESCRIPTOR),
708 _descriptor.FieldDescriptor(
709 name=
'snapshot', full_name=
'opencensus.proto.metrics.v1.SummaryValue.snapshot', index=2,
710 number=3, type=11, cpp_type=10, label=1,
711 has_default_value=
False, default_value=
None,
712 message_type=
None, enum_type=
None, containing_type=
None,
713 is_extension=
False, extension_scope=
None,
714 serialized_options=
None, file=DESCRIPTOR),
718 nested_types=[_SUMMARYVALUE_SNAPSHOT, ],
721 serialized_options=
None,
727 serialized_start=2001,
731 _METRIC.fields_by_name[
'metric_descriptor'].message_type = _METRICDESCRIPTOR
732 _METRIC.fields_by_name[
'timeseries'].message_type = _TIMESERIES
733 _METRIC.fields_by_name[
'resource'].message_type = opencensus_dot_proto_dot_resource_dot_v1_dot_resource__pb2._RESOURCE
734 _METRICDESCRIPTOR.fields_by_name[
'type'].enum_type = _METRICDESCRIPTOR_TYPE
735 _METRICDESCRIPTOR.fields_by_name[
'label_keys'].message_type = _LABELKEY
736 _METRICDESCRIPTOR_TYPE.containing_type = _METRICDESCRIPTOR
737 _TIMESERIES.fields_by_name[
'start_timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
738 _TIMESERIES.fields_by_name[
'label_values'].message_type = _LABELVALUE
739 _TIMESERIES.fields_by_name[
'points'].message_type = _POINT
740 _POINT.fields_by_name[
'timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
741 _POINT.fields_by_name[
'distribution_value'].message_type = _DISTRIBUTIONVALUE
742 _POINT.fields_by_name[
'summary_value'].message_type = _SUMMARYVALUE
743 _POINT.oneofs_by_name[
'value'].fields.append(
744 _POINT.fields_by_name[
'int64_value'])
745 _POINT.fields_by_name[
'int64_value'].containing_oneof = _POINT.oneofs_by_name[
'value']
746 _POINT.oneofs_by_name[
'value'].fields.append(
747 _POINT.fields_by_name[
'double_value'])
748 _POINT.fields_by_name[
'double_value'].containing_oneof = _POINT.oneofs_by_name[
'value']
749 _POINT.oneofs_by_name[
'value'].fields.append(
750 _POINT.fields_by_name[
'distribution_value'])
751 _POINT.fields_by_name[
'distribution_value'].containing_oneof = _POINT.oneofs_by_name[
'value']
752 _POINT.oneofs_by_name[
'value'].fields.append(
753 _POINT.fields_by_name[
'summary_value'])
754 _POINT.fields_by_name[
'summary_value'].containing_oneof = _POINT.oneofs_by_name[
'value']
755 _DISTRIBUTIONVALUE_BUCKETOPTIONS_EXPLICIT.containing_type = _DISTRIBUTIONVALUE_BUCKETOPTIONS
756 _DISTRIBUTIONVALUE_BUCKETOPTIONS.fields_by_name[
'explicit'].message_type = _DISTRIBUTIONVALUE_BUCKETOPTIONS_EXPLICIT
757 _DISTRIBUTIONVALUE_BUCKETOPTIONS.containing_type = _DISTRIBUTIONVALUE
758 _DISTRIBUTIONVALUE_BUCKETOPTIONS.oneofs_by_name[
'type'].fields.append(
759 _DISTRIBUTIONVALUE_BUCKETOPTIONS.fields_by_name[
'explicit'])
760 _DISTRIBUTIONVALUE_BUCKETOPTIONS.fields_by_name[
'explicit'].containing_oneof = _DISTRIBUTIONVALUE_BUCKETOPTIONS.oneofs_by_name[
'type']
761 _DISTRIBUTIONVALUE_BUCKET.fields_by_name[
'exemplar'].message_type = _DISTRIBUTIONVALUE_EXEMPLAR
762 _DISTRIBUTIONVALUE_BUCKET.containing_type = _DISTRIBUTIONVALUE
763 _DISTRIBUTIONVALUE_EXEMPLAR_ATTACHMENTSENTRY.containing_type = _DISTRIBUTIONVALUE_EXEMPLAR
764 _DISTRIBUTIONVALUE_EXEMPLAR.fields_by_name[
'timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
765 _DISTRIBUTIONVALUE_EXEMPLAR.fields_by_name[
'attachments'].message_type = _DISTRIBUTIONVALUE_EXEMPLAR_ATTACHMENTSENTRY
766 _DISTRIBUTIONVALUE_EXEMPLAR.containing_type = _DISTRIBUTIONVALUE
767 _DISTRIBUTIONVALUE.fields_by_name[
'bucket_options'].message_type = _DISTRIBUTIONVALUE_BUCKETOPTIONS
768 _DISTRIBUTIONVALUE.fields_by_name[
'buckets'].message_type = _DISTRIBUTIONVALUE_BUCKET
769 _SUMMARYVALUE_SNAPSHOT_VALUEATPERCENTILE.containing_type = _SUMMARYVALUE_SNAPSHOT
770 _SUMMARYVALUE_SNAPSHOT.fields_by_name[
'count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
771 _SUMMARYVALUE_SNAPSHOT.fields_by_name[
'sum'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE
772 _SUMMARYVALUE_SNAPSHOT.fields_by_name[
'percentile_values'].message_type = _SUMMARYVALUE_SNAPSHOT_VALUEATPERCENTILE
773 _SUMMARYVALUE_SNAPSHOT.containing_type = _SUMMARYVALUE
774 _SUMMARYVALUE.fields_by_name[
'count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
775 _SUMMARYVALUE.fields_by_name[
'sum'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE
776 _SUMMARYVALUE.fields_by_name[
'snapshot'].message_type = _SUMMARYVALUE_SNAPSHOT
777 DESCRIPTOR.message_types_by_name[
'Metric'] = _METRIC
778 DESCRIPTOR.message_types_by_name[
'MetricDescriptor'] = _METRICDESCRIPTOR
779 DESCRIPTOR.message_types_by_name[
'LabelKey'] = _LABELKEY
780 DESCRIPTOR.message_types_by_name[
'TimeSeries'] = _TIMESERIES
781 DESCRIPTOR.message_types_by_name[
'LabelValue'] = _LABELVALUE
782 DESCRIPTOR.message_types_by_name[
'Point'] = _POINT
783 DESCRIPTOR.message_types_by_name[
'DistributionValue'] = _DISTRIBUTIONVALUE
784 DESCRIPTOR.message_types_by_name[
'SummaryValue'] = _SUMMARYVALUE
785 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
787 Metric = _reflection.GeneratedProtocolMessageType(
'Metric', (_message.Message,), dict(
788 DESCRIPTOR = _METRIC,
789 __module__ =
'opencensus.proto.metrics.v1.metrics_pb2'
792 _sym_db.RegisterMessage(Metric)
794 MetricDescriptor = _reflection.GeneratedProtocolMessageType(
'MetricDescriptor', (_message.Message,), dict(
795 DESCRIPTOR = _METRICDESCRIPTOR,
796 __module__ =
'opencensus.proto.metrics.v1.metrics_pb2'
799 _sym_db.RegisterMessage(MetricDescriptor)
801 LabelKey = _reflection.GeneratedProtocolMessageType(
'LabelKey', (_message.Message,), dict(
802 DESCRIPTOR = _LABELKEY,
803 __module__ =
'opencensus.proto.metrics.v1.metrics_pb2'
806 _sym_db.RegisterMessage(LabelKey)
808 TimeSeries = _reflection.GeneratedProtocolMessageType(
'TimeSeries', (_message.Message,), dict(
809 DESCRIPTOR = _TIMESERIES,
810 __module__ =
'opencensus.proto.metrics.v1.metrics_pb2'
813 _sym_db.RegisterMessage(TimeSeries)
815 LabelValue = _reflection.GeneratedProtocolMessageType(
'LabelValue', (_message.Message,), dict(
816 DESCRIPTOR = _LABELVALUE,
817 __module__ =
'opencensus.proto.metrics.v1.metrics_pb2'
820 _sym_db.RegisterMessage(LabelValue)
822 Point = _reflection.GeneratedProtocolMessageType(
'Point', (_message.Message,), dict(
824 __module__ =
'opencensus.proto.metrics.v1.metrics_pb2'
827 _sym_db.RegisterMessage(Point)
829 DistributionValue = _reflection.GeneratedProtocolMessageType(
'DistributionValue', (_message.Message,), dict(
831 BucketOptions = _reflection.GeneratedProtocolMessageType(
'BucketOptions', (_message.Message,), dict(
833 Explicit = _reflection.GeneratedProtocolMessageType(
'Explicit', (_message.Message,), dict(
834 DESCRIPTOR = _DISTRIBUTIONVALUE_BUCKETOPTIONS_EXPLICIT,
835 __module__ =
'opencensus.proto.metrics.v1.metrics_pb2'
839 DESCRIPTOR = _DISTRIBUTIONVALUE_BUCKETOPTIONS,
840 __module__ =
'opencensus.proto.metrics.v1.metrics_pb2'
845 Bucket = _reflection.GeneratedProtocolMessageType(
'Bucket', (_message.Message,), dict(
846 DESCRIPTOR = _DISTRIBUTIONVALUE_BUCKET,
847 __module__ =
'opencensus.proto.metrics.v1.metrics_pb2'
852 Exemplar = _reflection.GeneratedProtocolMessageType(
'Exemplar', (_message.Message,), dict(
854 AttachmentsEntry = _reflection.GeneratedProtocolMessageType(
'AttachmentsEntry', (_message.Message,), dict(
855 DESCRIPTOR = _DISTRIBUTIONVALUE_EXEMPLAR_ATTACHMENTSENTRY,
856 __module__ =
'opencensus.proto.metrics.v1.metrics_pb2'
860 DESCRIPTOR = _DISTRIBUTIONVALUE_EXEMPLAR,
861 __module__ =
'opencensus.proto.metrics.v1.metrics_pb2'
865 DESCRIPTOR = _DISTRIBUTIONVALUE,
866 __module__ =
'opencensus.proto.metrics.v1.metrics_pb2'
869 _sym_db.RegisterMessage(DistributionValue)
870 _sym_db.RegisterMessage(DistributionValue.BucketOptions)
871 _sym_db.RegisterMessage(DistributionValue.BucketOptions.Explicit)
872 _sym_db.RegisterMessage(DistributionValue.Bucket)
873 _sym_db.RegisterMessage(DistributionValue.Exemplar)
874 _sym_db.RegisterMessage(DistributionValue.Exemplar.AttachmentsEntry)
876 SummaryValue = _reflection.GeneratedProtocolMessageType(
'SummaryValue', (_message.Message,), dict(
878 Snapshot = _reflection.GeneratedProtocolMessageType(
'Snapshot', (_message.Message,), dict(
880 ValueAtPercentile = _reflection.GeneratedProtocolMessageType(
'ValueAtPercentile', (_message.Message,), dict(
881 DESCRIPTOR = _SUMMARYVALUE_SNAPSHOT_VALUEATPERCENTILE,
882 __module__ =
'opencensus.proto.metrics.v1.metrics_pb2'
886 DESCRIPTOR = _SUMMARYVALUE_SNAPSHOT,
887 __module__ =
'opencensus.proto.metrics.v1.metrics_pb2'
891 DESCRIPTOR = _SUMMARYVALUE,
892 __module__ =
'opencensus.proto.metrics.v1.metrics_pb2'
895 _sym_db.RegisterMessage(SummaryValue)
896 _sym_db.RegisterMessage(SummaryValue.Snapshot)
897 _sym_db.RegisterMessage(SummaryValue.Snapshot.ValueAtPercentile)
900 DESCRIPTOR._options =
None
901 _DISTRIBUTIONVALUE_EXEMPLAR_ATTACHMENTSENTRY._options =
None