@newrelic/preflight 1.22.0 → 1.24.0

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.
@@ -0,0 +1,1277 @@
1
+ // pbjs JSON descriptor for the three OTLP/HTTP export request types.
2
+ //
3
+ // Generated from open-telemetry/opentelemetry-proto @ dfd0b0e by:
4
+ // npx tsx scripts/regenerate-otlp-descriptor.ts dfd0b0e
5
+ // which fetches that commit's proto tree, runs `pbjs -t json` over the three
6
+ // OTLP/HTTP service protos, and deletes the resulting *Service entries: they
7
+ // are gRPC service stubs this HTTP transcoder never uses, and their method
8
+ // descriptors do not type-check against protobufjs's INamespace (IMethod
9
+ // declares `comment` as required, but pbjs never emits one).
10
+ //
11
+ // To pick up a newer OTLP schema, re-run that command with a newer commit SHA
12
+ // from open-telemetry/opentelemetry-proto and replace the object below.
13
+ // Vendored as a .ts module (not .json) so the compiled dist ships it without
14
+ // resolveJsonModule or copy steps.
15
+ export const OTLP_DESCRIPTOR = {
16
+ nested: {
17
+ opentelemetry: {
18
+ nested: {
19
+ proto: {
20
+ nested: {
21
+ collector: {
22
+ nested: {
23
+ logs: {
24
+ nested: {
25
+ v1: {
26
+ options: {
27
+ csharp_namespace: 'OpenTelemetry.Proto.Collector.Logs.V1',
28
+ java_multiple_files: true,
29
+ java_package: 'io.opentelemetry.proto.collector.logs.v1',
30
+ java_outer_classname: 'LogsServiceProto',
31
+ go_package: 'go.opentelemetry.io/proto/otlp/collector/logs/v1',
32
+ },
33
+ nested: {
34
+ ExportLogsServiceRequest: {
35
+ fields: {
36
+ resourceLogs: {
37
+ rule: 'repeated',
38
+ type: 'opentelemetry.proto.logs.v1.ResourceLogs',
39
+ id: 1,
40
+ protoName: 'resource_logs',
41
+ },
42
+ },
43
+ },
44
+ ExportLogsServiceResponse: {
45
+ fields: {
46
+ partialSuccess: {
47
+ type: 'ExportLogsPartialSuccess',
48
+ id: 1,
49
+ protoName: 'partial_success',
50
+ },
51
+ },
52
+ },
53
+ ExportLogsPartialSuccess: {
54
+ fields: {
55
+ rejectedLogRecords: {
56
+ type: 'int64',
57
+ id: 1,
58
+ protoName: 'rejected_log_records',
59
+ },
60
+ errorMessage: {
61
+ type: 'string',
62
+ id: 2,
63
+ protoName: 'error_message',
64
+ },
65
+ },
66
+ },
67
+ },
68
+ },
69
+ },
70
+ },
71
+ metrics: {
72
+ nested: {
73
+ v1: {
74
+ options: {
75
+ csharp_namespace: 'OpenTelemetry.Proto.Collector.Metrics.V1',
76
+ java_multiple_files: true,
77
+ java_package: 'io.opentelemetry.proto.collector.metrics.v1',
78
+ java_outer_classname: 'MetricsServiceProto',
79
+ go_package: 'go.opentelemetry.io/proto/otlp/collector/metrics/v1',
80
+ },
81
+ nested: {
82
+ ExportMetricsServiceRequest: {
83
+ fields: {
84
+ resourceMetrics: {
85
+ rule: 'repeated',
86
+ type: 'opentelemetry.proto.metrics.v1.ResourceMetrics',
87
+ id: 1,
88
+ protoName: 'resource_metrics',
89
+ },
90
+ },
91
+ },
92
+ ExportMetricsServiceResponse: {
93
+ fields: {
94
+ partialSuccess: {
95
+ type: 'ExportMetricsPartialSuccess',
96
+ id: 1,
97
+ protoName: 'partial_success',
98
+ },
99
+ },
100
+ },
101
+ ExportMetricsPartialSuccess: {
102
+ fields: {
103
+ rejectedDataPoints: {
104
+ type: 'int64',
105
+ id: 1,
106
+ protoName: 'rejected_data_points',
107
+ },
108
+ errorMessage: {
109
+ type: 'string',
110
+ id: 2,
111
+ protoName: 'error_message',
112
+ },
113
+ },
114
+ },
115
+ },
116
+ },
117
+ },
118
+ },
119
+ trace: {
120
+ nested: {
121
+ v1: {
122
+ options: {
123
+ csharp_namespace: 'OpenTelemetry.Proto.Collector.Trace.V1',
124
+ java_multiple_files: true,
125
+ java_package: 'io.opentelemetry.proto.collector.trace.v1',
126
+ java_outer_classname: 'TraceServiceProto',
127
+ go_package: 'go.opentelemetry.io/proto/otlp/collector/trace/v1',
128
+ },
129
+ nested: {
130
+ ExportTraceServiceRequest: {
131
+ fields: {
132
+ resourceSpans: {
133
+ rule: 'repeated',
134
+ type: 'opentelemetry.proto.trace.v1.ResourceSpans',
135
+ id: 1,
136
+ protoName: 'resource_spans',
137
+ },
138
+ },
139
+ },
140
+ ExportTraceServiceResponse: {
141
+ fields: {
142
+ partialSuccess: {
143
+ type: 'ExportTracePartialSuccess',
144
+ id: 1,
145
+ protoName: 'partial_success',
146
+ },
147
+ },
148
+ },
149
+ ExportTracePartialSuccess: {
150
+ fields: {
151
+ rejectedSpans: {
152
+ type: 'int64',
153
+ id: 1,
154
+ protoName: 'rejected_spans',
155
+ },
156
+ errorMessage: {
157
+ type: 'string',
158
+ id: 2,
159
+ protoName: 'error_message',
160
+ },
161
+ },
162
+ },
163
+ },
164
+ },
165
+ },
166
+ },
167
+ },
168
+ },
169
+ logs: {
170
+ nested: {
171
+ v1: {
172
+ options: {
173
+ csharp_namespace: 'OpenTelemetry.Proto.Logs.V1',
174
+ java_multiple_files: true,
175
+ java_package: 'io.opentelemetry.proto.logs.v1',
176
+ java_outer_classname: 'LogsProto',
177
+ go_package: 'go.opentelemetry.io/proto/otlp/logs/v1',
178
+ },
179
+ nested: {
180
+ LogsData: {
181
+ fields: {
182
+ resourceLogs: {
183
+ rule: 'repeated',
184
+ type: 'ResourceLogs',
185
+ id: 1,
186
+ protoName: 'resource_logs',
187
+ },
188
+ },
189
+ },
190
+ ResourceLogs: {
191
+ fields: {
192
+ resource: {
193
+ type: 'opentelemetry.proto.resource.v1.Resource',
194
+ id: 1,
195
+ },
196
+ scopeLogs: {
197
+ rule: 'repeated',
198
+ type: 'ScopeLogs',
199
+ id: 2,
200
+ protoName: 'scope_logs',
201
+ },
202
+ schemaUrl: {
203
+ type: 'string',
204
+ id: 3,
205
+ protoName: 'schema_url',
206
+ },
207
+ },
208
+ reserved: [[1000, 1000]],
209
+ },
210
+ ScopeLogs: {
211
+ fields: {
212
+ scope: {
213
+ type: 'opentelemetry.proto.common.v1.InstrumentationScope',
214
+ id: 1,
215
+ },
216
+ logRecords: {
217
+ rule: 'repeated',
218
+ type: 'LogRecord',
219
+ id: 2,
220
+ protoName: 'log_records',
221
+ },
222
+ schemaUrl: {
223
+ type: 'string',
224
+ id: 3,
225
+ protoName: 'schema_url',
226
+ },
227
+ },
228
+ },
229
+ SeverityNumber: {
230
+ values: {
231
+ SEVERITY_NUMBER_UNSPECIFIED: 0,
232
+ SEVERITY_NUMBER_TRACE: 1,
233
+ SEVERITY_NUMBER_TRACE2: 2,
234
+ SEVERITY_NUMBER_TRACE3: 3,
235
+ SEVERITY_NUMBER_TRACE4: 4,
236
+ SEVERITY_NUMBER_DEBUG: 5,
237
+ SEVERITY_NUMBER_DEBUG2: 6,
238
+ SEVERITY_NUMBER_DEBUG3: 7,
239
+ SEVERITY_NUMBER_DEBUG4: 8,
240
+ SEVERITY_NUMBER_INFO: 9,
241
+ SEVERITY_NUMBER_INFO2: 10,
242
+ SEVERITY_NUMBER_INFO3: 11,
243
+ SEVERITY_NUMBER_INFO4: 12,
244
+ SEVERITY_NUMBER_WARN: 13,
245
+ SEVERITY_NUMBER_WARN2: 14,
246
+ SEVERITY_NUMBER_WARN3: 15,
247
+ SEVERITY_NUMBER_WARN4: 16,
248
+ SEVERITY_NUMBER_ERROR: 17,
249
+ SEVERITY_NUMBER_ERROR2: 18,
250
+ SEVERITY_NUMBER_ERROR3: 19,
251
+ SEVERITY_NUMBER_ERROR4: 20,
252
+ SEVERITY_NUMBER_FATAL: 21,
253
+ SEVERITY_NUMBER_FATAL2: 22,
254
+ SEVERITY_NUMBER_FATAL3: 23,
255
+ SEVERITY_NUMBER_FATAL4: 24,
256
+ },
257
+ },
258
+ LogRecordFlags: {
259
+ values: {
260
+ LOG_RECORD_FLAGS_DO_NOT_USE: 0,
261
+ LOG_RECORD_FLAGS_TRACE_FLAGS_MASK: 255,
262
+ },
263
+ },
264
+ LogRecord: {
265
+ fields: {
266
+ timeUnixNano: {
267
+ type: 'fixed64',
268
+ id: 1,
269
+ protoName: 'time_unix_nano',
270
+ },
271
+ observedTimeUnixNano: {
272
+ type: 'fixed64',
273
+ id: 11,
274
+ protoName: 'observed_time_unix_nano',
275
+ },
276
+ severityNumber: {
277
+ type: 'SeverityNumber',
278
+ id: 2,
279
+ protoName: 'severity_number',
280
+ },
281
+ severityText: {
282
+ type: 'string',
283
+ id: 3,
284
+ protoName: 'severity_text',
285
+ },
286
+ body: {
287
+ type: 'opentelemetry.proto.common.v1.AnyValue',
288
+ id: 5,
289
+ },
290
+ attributes: {
291
+ rule: 'repeated',
292
+ type: 'opentelemetry.proto.common.v1.KeyValue',
293
+ id: 6,
294
+ },
295
+ droppedAttributesCount: {
296
+ type: 'uint32',
297
+ id: 7,
298
+ protoName: 'dropped_attributes_count',
299
+ },
300
+ flags: {
301
+ type: 'fixed32',
302
+ id: 8,
303
+ },
304
+ traceId: {
305
+ type: 'bytes',
306
+ id: 9,
307
+ protoName: 'trace_id',
308
+ },
309
+ spanId: {
310
+ type: 'bytes',
311
+ id: 10,
312
+ protoName: 'span_id',
313
+ },
314
+ eventName: {
315
+ type: 'string',
316
+ id: 12,
317
+ protoName: 'event_name',
318
+ },
319
+ },
320
+ reserved: [[4, 4]],
321
+ },
322
+ },
323
+ },
324
+ },
325
+ },
326
+ common: {
327
+ nested: {
328
+ v1: {
329
+ options: {
330
+ csharp_namespace: 'OpenTelemetry.Proto.Common.V1',
331
+ java_multiple_files: true,
332
+ java_package: 'io.opentelemetry.proto.common.v1',
333
+ java_outer_classname: 'CommonProto',
334
+ go_package: 'go.opentelemetry.io/proto/otlp/common/v1',
335
+ },
336
+ nested: {
337
+ AnyValue: {
338
+ oneofs: {
339
+ value: {
340
+ oneof: [
341
+ 'stringValue',
342
+ 'boolValue',
343
+ 'intValue',
344
+ 'doubleValue',
345
+ 'arrayValue',
346
+ 'kvlistValue',
347
+ 'bytesValue',
348
+ 'stringValueStrindex',
349
+ ],
350
+ },
351
+ },
352
+ fields: {
353
+ stringValue: {
354
+ type: 'string',
355
+ id: 1,
356
+ protoName: 'string_value',
357
+ },
358
+ boolValue: {
359
+ type: 'bool',
360
+ id: 2,
361
+ protoName: 'bool_value',
362
+ },
363
+ intValue: {
364
+ type: 'int64',
365
+ id: 3,
366
+ protoName: 'int_value',
367
+ },
368
+ doubleValue: {
369
+ type: 'double',
370
+ id: 4,
371
+ protoName: 'double_value',
372
+ },
373
+ arrayValue: {
374
+ type: 'ArrayValue',
375
+ id: 5,
376
+ protoName: 'array_value',
377
+ },
378
+ kvlistValue: {
379
+ type: 'KeyValueList',
380
+ id: 6,
381
+ protoName: 'kvlist_value',
382
+ },
383
+ bytesValue: {
384
+ type: 'bytes',
385
+ id: 7,
386
+ protoName: 'bytes_value',
387
+ },
388
+ stringValueStrindex: {
389
+ type: 'int32',
390
+ id: 8,
391
+ protoName: 'string_value_strindex',
392
+ },
393
+ },
394
+ },
395
+ ArrayValue: {
396
+ fields: {
397
+ values: {
398
+ rule: 'repeated',
399
+ type: 'AnyValue',
400
+ id: 1,
401
+ },
402
+ },
403
+ },
404
+ KeyValueList: {
405
+ fields: {
406
+ values: {
407
+ rule: 'repeated',
408
+ type: 'KeyValue',
409
+ id: 1,
410
+ },
411
+ },
412
+ },
413
+ KeyValue: {
414
+ fields: {
415
+ key: {
416
+ type: 'string',
417
+ id: 1,
418
+ },
419
+ value: {
420
+ type: 'AnyValue',
421
+ id: 2,
422
+ },
423
+ keyStrindex: {
424
+ type: 'int32',
425
+ id: 3,
426
+ protoName: 'key_strindex',
427
+ },
428
+ },
429
+ },
430
+ InstrumentationScope: {
431
+ fields: {
432
+ name: {
433
+ type: 'string',
434
+ id: 1,
435
+ },
436
+ version: {
437
+ type: 'string',
438
+ id: 2,
439
+ },
440
+ attributes: {
441
+ rule: 'repeated',
442
+ type: 'KeyValue',
443
+ id: 3,
444
+ },
445
+ droppedAttributesCount: {
446
+ type: 'uint32',
447
+ id: 4,
448
+ protoName: 'dropped_attributes_count',
449
+ },
450
+ },
451
+ },
452
+ EntityRef: {
453
+ fields: {
454
+ schemaUrl: {
455
+ type: 'string',
456
+ id: 1,
457
+ protoName: 'schema_url',
458
+ },
459
+ type: {
460
+ type: 'string',
461
+ id: 2,
462
+ },
463
+ idKeys: {
464
+ rule: 'repeated',
465
+ type: 'string',
466
+ id: 3,
467
+ protoName: 'id_keys',
468
+ },
469
+ descriptionKeys: {
470
+ rule: 'repeated',
471
+ type: 'string',
472
+ id: 4,
473
+ protoName: 'description_keys',
474
+ },
475
+ },
476
+ },
477
+ },
478
+ },
479
+ },
480
+ },
481
+ resource: {
482
+ nested: {
483
+ v1: {
484
+ options: {
485
+ csharp_namespace: 'OpenTelemetry.Proto.Resource.V1',
486
+ java_multiple_files: true,
487
+ java_package: 'io.opentelemetry.proto.resource.v1',
488
+ java_outer_classname: 'ResourceProto',
489
+ go_package: 'go.opentelemetry.io/proto/otlp/resource/v1',
490
+ },
491
+ nested: {
492
+ Resource: {
493
+ fields: {
494
+ attributes: {
495
+ rule: 'repeated',
496
+ type: 'opentelemetry.proto.common.v1.KeyValue',
497
+ id: 1,
498
+ },
499
+ droppedAttributesCount: {
500
+ type: 'uint32',
501
+ id: 2,
502
+ protoName: 'dropped_attributes_count',
503
+ },
504
+ entityRefs: {
505
+ rule: 'repeated',
506
+ type: 'opentelemetry.proto.common.v1.EntityRef',
507
+ id: 3,
508
+ protoName: 'entity_refs',
509
+ },
510
+ },
511
+ },
512
+ },
513
+ },
514
+ },
515
+ },
516
+ metrics: {
517
+ nested: {
518
+ v1: {
519
+ options: {
520
+ csharp_namespace: 'OpenTelemetry.Proto.Metrics.V1',
521
+ java_multiple_files: true,
522
+ java_package: 'io.opentelemetry.proto.metrics.v1',
523
+ java_outer_classname: 'MetricsProto',
524
+ go_package: 'go.opentelemetry.io/proto/otlp/metrics/v1',
525
+ },
526
+ nested: {
527
+ MetricsData: {
528
+ fields: {
529
+ resourceMetrics: {
530
+ rule: 'repeated',
531
+ type: 'ResourceMetrics',
532
+ id: 1,
533
+ protoName: 'resource_metrics',
534
+ },
535
+ },
536
+ },
537
+ ResourceMetrics: {
538
+ fields: {
539
+ resource: {
540
+ type: 'opentelemetry.proto.resource.v1.Resource',
541
+ id: 1,
542
+ },
543
+ scopeMetrics: {
544
+ rule: 'repeated',
545
+ type: 'ScopeMetrics',
546
+ id: 2,
547
+ protoName: 'scope_metrics',
548
+ },
549
+ schemaUrl: {
550
+ type: 'string',
551
+ id: 3,
552
+ protoName: 'schema_url',
553
+ },
554
+ },
555
+ reserved: [[1000, 1000]],
556
+ },
557
+ ScopeMetrics: {
558
+ fields: {
559
+ scope: {
560
+ type: 'opentelemetry.proto.common.v1.InstrumentationScope',
561
+ id: 1,
562
+ },
563
+ metrics: {
564
+ rule: 'repeated',
565
+ type: 'Metric',
566
+ id: 2,
567
+ },
568
+ schemaUrl: {
569
+ type: 'string',
570
+ id: 3,
571
+ protoName: 'schema_url',
572
+ },
573
+ },
574
+ },
575
+ Metric: {
576
+ oneofs: {
577
+ data: {
578
+ oneof: ['gauge', 'sum', 'histogram', 'exponentialHistogram', 'summary'],
579
+ },
580
+ },
581
+ fields: {
582
+ name: {
583
+ type: 'string',
584
+ id: 1,
585
+ },
586
+ description: {
587
+ type: 'string',
588
+ id: 2,
589
+ },
590
+ unit: {
591
+ type: 'string',
592
+ id: 3,
593
+ },
594
+ gauge: {
595
+ type: 'Gauge',
596
+ id: 5,
597
+ },
598
+ sum: {
599
+ type: 'Sum',
600
+ id: 7,
601
+ },
602
+ histogram: {
603
+ type: 'Histogram',
604
+ id: 9,
605
+ },
606
+ exponentialHistogram: {
607
+ type: 'ExponentialHistogram',
608
+ id: 10,
609
+ protoName: 'exponential_histogram',
610
+ },
611
+ summary: {
612
+ type: 'Summary',
613
+ id: 11,
614
+ },
615
+ metadata: {
616
+ rule: 'repeated',
617
+ type: 'opentelemetry.proto.common.v1.KeyValue',
618
+ id: 12,
619
+ },
620
+ },
621
+ reserved: [
622
+ [4, 4],
623
+ [6, 6],
624
+ [8, 8],
625
+ ],
626
+ },
627
+ Gauge: {
628
+ fields: {
629
+ dataPoints: {
630
+ rule: 'repeated',
631
+ type: 'NumberDataPoint',
632
+ id: 1,
633
+ protoName: 'data_points',
634
+ },
635
+ },
636
+ },
637
+ Sum: {
638
+ fields: {
639
+ dataPoints: {
640
+ rule: 'repeated',
641
+ type: 'NumberDataPoint',
642
+ id: 1,
643
+ protoName: 'data_points',
644
+ },
645
+ aggregationTemporality: {
646
+ type: 'AggregationTemporality',
647
+ id: 2,
648
+ protoName: 'aggregation_temporality',
649
+ },
650
+ isMonotonic: {
651
+ type: 'bool',
652
+ id: 3,
653
+ protoName: 'is_monotonic',
654
+ },
655
+ },
656
+ },
657
+ Histogram: {
658
+ fields: {
659
+ dataPoints: {
660
+ rule: 'repeated',
661
+ type: 'HistogramDataPoint',
662
+ id: 1,
663
+ protoName: 'data_points',
664
+ },
665
+ aggregationTemporality: {
666
+ type: 'AggregationTemporality',
667
+ id: 2,
668
+ protoName: 'aggregation_temporality',
669
+ },
670
+ },
671
+ },
672
+ ExponentialHistogram: {
673
+ fields: {
674
+ dataPoints: {
675
+ rule: 'repeated',
676
+ type: 'ExponentialHistogramDataPoint',
677
+ id: 1,
678
+ protoName: 'data_points',
679
+ },
680
+ aggregationTemporality: {
681
+ type: 'AggregationTemporality',
682
+ id: 2,
683
+ protoName: 'aggregation_temporality',
684
+ },
685
+ },
686
+ },
687
+ Summary: {
688
+ fields: {
689
+ dataPoints: {
690
+ rule: 'repeated',
691
+ type: 'SummaryDataPoint',
692
+ id: 1,
693
+ protoName: 'data_points',
694
+ },
695
+ },
696
+ },
697
+ AggregationTemporality: {
698
+ values: {
699
+ AGGREGATION_TEMPORALITY_UNSPECIFIED: 0,
700
+ AGGREGATION_TEMPORALITY_DELTA: 1,
701
+ AGGREGATION_TEMPORALITY_CUMULATIVE: 2,
702
+ },
703
+ },
704
+ DataPointFlags: {
705
+ values: {
706
+ DATA_POINT_FLAGS_DO_NOT_USE: 0,
707
+ DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK: 1,
708
+ },
709
+ },
710
+ NumberDataPoint: {
711
+ oneofs: {
712
+ value: {
713
+ oneof: ['asDouble', 'asInt'],
714
+ },
715
+ },
716
+ fields: {
717
+ attributes: {
718
+ rule: 'repeated',
719
+ type: 'opentelemetry.proto.common.v1.KeyValue',
720
+ id: 7,
721
+ },
722
+ startTimeUnixNano: {
723
+ type: 'fixed64',
724
+ id: 2,
725
+ protoName: 'start_time_unix_nano',
726
+ },
727
+ timeUnixNano: {
728
+ type: 'fixed64',
729
+ id: 3,
730
+ protoName: 'time_unix_nano',
731
+ },
732
+ asDouble: {
733
+ type: 'double',
734
+ id: 4,
735
+ protoName: 'as_double',
736
+ },
737
+ asInt: {
738
+ type: 'sfixed64',
739
+ id: 6,
740
+ protoName: 'as_int',
741
+ },
742
+ exemplars: {
743
+ rule: 'repeated',
744
+ type: 'Exemplar',
745
+ id: 5,
746
+ },
747
+ flags: {
748
+ type: 'uint32',
749
+ id: 8,
750
+ },
751
+ },
752
+ reserved: [[1, 1]],
753
+ },
754
+ HistogramDataPoint: {
755
+ oneofs: {
756
+ _sum: {
757
+ oneof: ['sum'],
758
+ },
759
+ _min: {
760
+ oneof: ['min'],
761
+ },
762
+ _max: {
763
+ oneof: ['max'],
764
+ },
765
+ },
766
+ fields: {
767
+ attributes: {
768
+ rule: 'repeated',
769
+ type: 'opentelemetry.proto.common.v1.KeyValue',
770
+ id: 9,
771
+ },
772
+ startTimeUnixNano: {
773
+ type: 'fixed64',
774
+ id: 2,
775
+ protoName: 'start_time_unix_nano',
776
+ },
777
+ timeUnixNano: {
778
+ type: 'fixed64',
779
+ id: 3,
780
+ protoName: 'time_unix_nano',
781
+ },
782
+ count: {
783
+ type: 'fixed64',
784
+ id: 4,
785
+ },
786
+ sum: {
787
+ type: 'double',
788
+ id: 5,
789
+ options: {
790
+ proto3_optional: true,
791
+ },
792
+ },
793
+ bucketCounts: {
794
+ rule: 'repeated',
795
+ type: 'fixed64',
796
+ id: 6,
797
+ protoName: 'bucket_counts',
798
+ },
799
+ explicitBounds: {
800
+ rule: 'repeated',
801
+ type: 'double',
802
+ id: 7,
803
+ protoName: 'explicit_bounds',
804
+ },
805
+ exemplars: {
806
+ rule: 'repeated',
807
+ type: 'Exemplar',
808
+ id: 8,
809
+ },
810
+ flags: {
811
+ type: 'uint32',
812
+ id: 10,
813
+ },
814
+ min: {
815
+ type: 'double',
816
+ id: 11,
817
+ options: {
818
+ proto3_optional: true,
819
+ },
820
+ },
821
+ max: {
822
+ type: 'double',
823
+ id: 12,
824
+ options: {
825
+ proto3_optional: true,
826
+ },
827
+ },
828
+ },
829
+ reserved: [[1, 1]],
830
+ },
831
+ ExponentialHistogramDataPoint: {
832
+ oneofs: {
833
+ _sum: {
834
+ oneof: ['sum'],
835
+ },
836
+ _min: {
837
+ oneof: ['min'],
838
+ },
839
+ _max: {
840
+ oneof: ['max'],
841
+ },
842
+ },
843
+ fields: {
844
+ attributes: {
845
+ rule: 'repeated',
846
+ type: 'opentelemetry.proto.common.v1.KeyValue',
847
+ id: 1,
848
+ },
849
+ startTimeUnixNano: {
850
+ type: 'fixed64',
851
+ id: 2,
852
+ protoName: 'start_time_unix_nano',
853
+ },
854
+ timeUnixNano: {
855
+ type: 'fixed64',
856
+ id: 3,
857
+ protoName: 'time_unix_nano',
858
+ },
859
+ count: {
860
+ type: 'fixed64',
861
+ id: 4,
862
+ },
863
+ sum: {
864
+ type: 'double',
865
+ id: 5,
866
+ options: {
867
+ proto3_optional: true,
868
+ },
869
+ },
870
+ scale: {
871
+ type: 'sint32',
872
+ id: 6,
873
+ },
874
+ zeroCount: {
875
+ type: 'fixed64',
876
+ id: 7,
877
+ protoName: 'zero_count',
878
+ },
879
+ positive: {
880
+ type: 'Buckets',
881
+ id: 8,
882
+ },
883
+ negative: {
884
+ type: 'Buckets',
885
+ id: 9,
886
+ },
887
+ flags: {
888
+ type: 'uint32',
889
+ id: 10,
890
+ },
891
+ exemplars: {
892
+ rule: 'repeated',
893
+ type: 'Exemplar',
894
+ id: 11,
895
+ },
896
+ min: {
897
+ type: 'double',
898
+ id: 12,
899
+ options: {
900
+ proto3_optional: true,
901
+ },
902
+ },
903
+ max: {
904
+ type: 'double',
905
+ id: 13,
906
+ options: {
907
+ proto3_optional: true,
908
+ },
909
+ },
910
+ zeroThreshold: {
911
+ type: 'double',
912
+ id: 14,
913
+ protoName: 'zero_threshold',
914
+ },
915
+ },
916
+ nested: {
917
+ Buckets: {
918
+ fields: {
919
+ offset: {
920
+ type: 'sint32',
921
+ id: 1,
922
+ },
923
+ bucketCounts: {
924
+ rule: 'repeated',
925
+ type: 'uint64',
926
+ id: 2,
927
+ protoName: 'bucket_counts',
928
+ },
929
+ },
930
+ },
931
+ },
932
+ },
933
+ SummaryDataPoint: {
934
+ fields: {
935
+ attributes: {
936
+ rule: 'repeated',
937
+ type: 'opentelemetry.proto.common.v1.KeyValue',
938
+ id: 7,
939
+ },
940
+ startTimeUnixNano: {
941
+ type: 'fixed64',
942
+ id: 2,
943
+ protoName: 'start_time_unix_nano',
944
+ },
945
+ timeUnixNano: {
946
+ type: 'fixed64',
947
+ id: 3,
948
+ protoName: 'time_unix_nano',
949
+ },
950
+ count: {
951
+ type: 'fixed64',
952
+ id: 4,
953
+ },
954
+ sum: {
955
+ type: 'double',
956
+ id: 5,
957
+ },
958
+ quantileValues: {
959
+ rule: 'repeated',
960
+ type: 'ValueAtQuantile',
961
+ id: 6,
962
+ protoName: 'quantile_values',
963
+ },
964
+ flags: {
965
+ type: 'uint32',
966
+ id: 8,
967
+ },
968
+ },
969
+ reserved: [[1, 1]],
970
+ nested: {
971
+ ValueAtQuantile: {
972
+ fields: {
973
+ quantile: {
974
+ type: 'double',
975
+ id: 1,
976
+ },
977
+ value: {
978
+ type: 'double',
979
+ id: 2,
980
+ },
981
+ },
982
+ },
983
+ },
984
+ },
985
+ Exemplar: {
986
+ oneofs: {
987
+ value: {
988
+ oneof: ['asDouble', 'asInt'],
989
+ },
990
+ },
991
+ fields: {
992
+ filteredAttributes: {
993
+ rule: 'repeated',
994
+ type: 'opentelemetry.proto.common.v1.KeyValue',
995
+ id: 7,
996
+ protoName: 'filtered_attributes',
997
+ },
998
+ timeUnixNano: {
999
+ type: 'fixed64',
1000
+ id: 2,
1001
+ protoName: 'time_unix_nano',
1002
+ },
1003
+ asDouble: {
1004
+ type: 'double',
1005
+ id: 3,
1006
+ protoName: 'as_double',
1007
+ },
1008
+ asInt: {
1009
+ type: 'sfixed64',
1010
+ id: 6,
1011
+ protoName: 'as_int',
1012
+ },
1013
+ spanId: {
1014
+ type: 'bytes',
1015
+ id: 4,
1016
+ protoName: 'span_id',
1017
+ },
1018
+ traceId: {
1019
+ type: 'bytes',
1020
+ id: 5,
1021
+ protoName: 'trace_id',
1022
+ },
1023
+ },
1024
+ reserved: [[1, 1]],
1025
+ },
1026
+ },
1027
+ },
1028
+ },
1029
+ },
1030
+ trace: {
1031
+ nested: {
1032
+ v1: {
1033
+ options: {
1034
+ csharp_namespace: 'OpenTelemetry.Proto.Trace.V1',
1035
+ java_multiple_files: true,
1036
+ java_package: 'io.opentelemetry.proto.trace.v1',
1037
+ java_outer_classname: 'TraceProto',
1038
+ go_package: 'go.opentelemetry.io/proto/otlp/trace/v1',
1039
+ },
1040
+ nested: {
1041
+ TracesData: {
1042
+ fields: {
1043
+ resourceSpans: {
1044
+ rule: 'repeated',
1045
+ type: 'ResourceSpans',
1046
+ id: 1,
1047
+ protoName: 'resource_spans',
1048
+ },
1049
+ },
1050
+ },
1051
+ ResourceSpans: {
1052
+ fields: {
1053
+ resource: {
1054
+ type: 'opentelemetry.proto.resource.v1.Resource',
1055
+ id: 1,
1056
+ },
1057
+ scopeSpans: {
1058
+ rule: 'repeated',
1059
+ type: 'ScopeSpans',
1060
+ id: 2,
1061
+ protoName: 'scope_spans',
1062
+ },
1063
+ schemaUrl: {
1064
+ type: 'string',
1065
+ id: 3,
1066
+ protoName: 'schema_url',
1067
+ },
1068
+ },
1069
+ reserved: [[1000, 1000]],
1070
+ },
1071
+ ScopeSpans: {
1072
+ fields: {
1073
+ scope: {
1074
+ type: 'opentelemetry.proto.common.v1.InstrumentationScope',
1075
+ id: 1,
1076
+ },
1077
+ spans: {
1078
+ rule: 'repeated',
1079
+ type: 'Span',
1080
+ id: 2,
1081
+ },
1082
+ schemaUrl: {
1083
+ type: 'string',
1084
+ id: 3,
1085
+ protoName: 'schema_url',
1086
+ },
1087
+ },
1088
+ },
1089
+ Span: {
1090
+ fields: {
1091
+ traceId: {
1092
+ type: 'bytes',
1093
+ id: 1,
1094
+ protoName: 'trace_id',
1095
+ },
1096
+ spanId: {
1097
+ type: 'bytes',
1098
+ id: 2,
1099
+ protoName: 'span_id',
1100
+ },
1101
+ traceState: {
1102
+ type: 'string',
1103
+ id: 3,
1104
+ protoName: 'trace_state',
1105
+ },
1106
+ parentSpanId: {
1107
+ type: 'bytes',
1108
+ id: 4,
1109
+ protoName: 'parent_span_id',
1110
+ },
1111
+ flags: {
1112
+ type: 'fixed32',
1113
+ id: 16,
1114
+ },
1115
+ name: {
1116
+ type: 'string',
1117
+ id: 5,
1118
+ },
1119
+ kind: {
1120
+ type: 'SpanKind',
1121
+ id: 6,
1122
+ },
1123
+ startTimeUnixNano: {
1124
+ type: 'fixed64',
1125
+ id: 7,
1126
+ protoName: 'start_time_unix_nano',
1127
+ },
1128
+ endTimeUnixNano: {
1129
+ type: 'fixed64',
1130
+ id: 8,
1131
+ protoName: 'end_time_unix_nano',
1132
+ },
1133
+ attributes: {
1134
+ rule: 'repeated',
1135
+ type: 'opentelemetry.proto.common.v1.KeyValue',
1136
+ id: 9,
1137
+ },
1138
+ droppedAttributesCount: {
1139
+ type: 'uint32',
1140
+ id: 10,
1141
+ protoName: 'dropped_attributes_count',
1142
+ },
1143
+ events: {
1144
+ rule: 'repeated',
1145
+ type: 'Event',
1146
+ id: 11,
1147
+ },
1148
+ droppedEventsCount: {
1149
+ type: 'uint32',
1150
+ id: 12,
1151
+ protoName: 'dropped_events_count',
1152
+ },
1153
+ links: {
1154
+ rule: 'repeated',
1155
+ type: 'Link',
1156
+ id: 13,
1157
+ },
1158
+ droppedLinksCount: {
1159
+ type: 'uint32',
1160
+ id: 14,
1161
+ protoName: 'dropped_links_count',
1162
+ },
1163
+ status: {
1164
+ type: 'Status',
1165
+ id: 15,
1166
+ },
1167
+ },
1168
+ nested: {
1169
+ SpanKind: {
1170
+ values: {
1171
+ SPAN_KIND_UNSPECIFIED: 0,
1172
+ SPAN_KIND_INTERNAL: 1,
1173
+ SPAN_KIND_SERVER: 2,
1174
+ SPAN_KIND_CLIENT: 3,
1175
+ SPAN_KIND_PRODUCER: 4,
1176
+ SPAN_KIND_CONSUMER: 5,
1177
+ },
1178
+ },
1179
+ Event: {
1180
+ fields: {
1181
+ timeUnixNano: {
1182
+ type: 'fixed64',
1183
+ id: 1,
1184
+ protoName: 'time_unix_nano',
1185
+ },
1186
+ name: {
1187
+ type: 'string',
1188
+ id: 2,
1189
+ },
1190
+ attributes: {
1191
+ rule: 'repeated',
1192
+ type: 'opentelemetry.proto.common.v1.KeyValue',
1193
+ id: 3,
1194
+ },
1195
+ droppedAttributesCount: {
1196
+ type: 'uint32',
1197
+ id: 4,
1198
+ protoName: 'dropped_attributes_count',
1199
+ },
1200
+ },
1201
+ },
1202
+ Link: {
1203
+ fields: {
1204
+ traceId: {
1205
+ type: 'bytes',
1206
+ id: 1,
1207
+ protoName: 'trace_id',
1208
+ },
1209
+ spanId: {
1210
+ type: 'bytes',
1211
+ id: 2,
1212
+ protoName: 'span_id',
1213
+ },
1214
+ traceState: {
1215
+ type: 'string',
1216
+ id: 3,
1217
+ protoName: 'trace_state',
1218
+ },
1219
+ attributes: {
1220
+ rule: 'repeated',
1221
+ type: 'opentelemetry.proto.common.v1.KeyValue',
1222
+ id: 4,
1223
+ },
1224
+ droppedAttributesCount: {
1225
+ type: 'uint32',
1226
+ id: 5,
1227
+ protoName: 'dropped_attributes_count',
1228
+ },
1229
+ flags: {
1230
+ type: 'fixed32',
1231
+ id: 6,
1232
+ },
1233
+ },
1234
+ },
1235
+ },
1236
+ },
1237
+ Status: {
1238
+ fields: {
1239
+ message: {
1240
+ type: 'string',
1241
+ id: 2,
1242
+ },
1243
+ code: {
1244
+ type: 'StatusCode',
1245
+ id: 3,
1246
+ },
1247
+ },
1248
+ reserved: [[1, 1]],
1249
+ nested: {
1250
+ StatusCode: {
1251
+ values: {
1252
+ STATUS_CODE_UNSET: 0,
1253
+ STATUS_CODE_OK: 1,
1254
+ STATUS_CODE_ERROR: 2,
1255
+ },
1256
+ },
1257
+ },
1258
+ },
1259
+ SpanFlags: {
1260
+ values: {
1261
+ SPAN_FLAGS_DO_NOT_USE: 0,
1262
+ SPAN_FLAGS_TRACE_FLAGS_MASK: 255,
1263
+ SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK: 256,
1264
+ SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK: 512,
1265
+ },
1266
+ },
1267
+ },
1268
+ },
1269
+ },
1270
+ },
1271
+ },
1272
+ },
1273
+ },
1274
+ },
1275
+ },
1276
+ };
1277
+ //# sourceMappingURL=otlp-descriptor.js.map