@viamrobotics/sdk 0.74.1 → 0.75.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.
- package/dist/api-version.d.ts +1 -1
- package/dist/components/audio-in/audio-in.d.ts +12 -1
- package/dist/components/audio-in/client.d.ts +1 -0
- package/dist/components/audio-out/audio-out.d.ts +12 -1
- package/dist/components/audio-out/client.d.ts +1 -0
- package/dist/components/board/board.d.ts +15 -0
- package/dist/components/board/client.d.ts +1 -0
- package/dist/components/encoder/client.d.ts +1 -0
- package/dist/components/encoder/encoder.d.ts +15 -0
- package/dist/components/input-controller/client.d.ts +1 -0
- package/dist/components/input-controller/input-controller.d.ts +15 -0
- package/dist/components/motor/client.d.ts +1 -0
- package/dist/components/motor/motor.d.ts +15 -0
- package/dist/components/movement-sensor/client.d.ts +1 -0
- package/dist/components/movement-sensor/movement-sensor.d.ts +15 -0
- package/dist/components/sensor/client.d.ts +1 -0
- package/dist/components/servo/client.d.ts +1 -0
- package/dist/components/servo/servo.d.ts +15 -0
- package/dist/gen/app/v1/app_pb.d.ts +21 -0
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts +6 -0
- package/dist/gen/opentelemetry/proto/common/v1/common_pb.d.ts +3 -3
- package/dist/gen/opentelemetry/proto/metrics/v1/metrics_pb.d.ts +1 -1
- package/dist/gen/opentelemetry/proto/processcontext/v1development/process_context_pb.d.ts +79 -0
- package/dist/gen/opentelemetry/proto/profiles/v1development/profiles_pb.d.ts +125 -87
- package/dist/gen/proto/rpc/webrtc/v1/signaling_connect.d.ts +13 -1
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +248 -0
- package/dist/gen/robot/v1/robot_pb.d.ts +129 -0
- package/dist/main.d.ts +2 -2
- package/dist/main.es.js +12280 -9540
- package/dist/main.umd.js +9 -6
- package/dist/robot/robot.d.ts +2 -0
- package/dist/urdf.d.ts +7 -0
- package/package.json +3 -2
|
@@ -39,30 +39,32 @@ import type { Resource } from "../../resource/v1/resource_pb.js";
|
|
|
39
39
|
import type { AnyValue, InstrumentationScope } from "../../common/v1/common_pb.js";
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* ProfilesDictionary
|
|
43
|
-
* entire message
|
|
44
|
-
*
|
|
42
|
+
* ProfilesDictionary contains all the dictionary tables that are shared
|
|
43
|
+
* across the entire ProfilesData message.
|
|
44
|
+
*
|
|
45
|
+
* The following applies to all fields in this message:
|
|
45
46
|
*
|
|
46
47
|
* - A dictionary is an array of dictionary items. Users of the dictionary
|
|
47
48
|
* compactly reference the items using the index within the array.
|
|
48
49
|
*
|
|
49
|
-
* -
|
|
50
|
+
* - The element at index 0 MUST be the zero value for the dictionary's element
|
|
51
|
+
* type (e.g. `""` for `string_table`, `Location{}` for `location_table`). This
|
|
50
52
|
* allows for _index fields pointing into the dictionary to use a 0 pointer
|
|
51
53
|
* value to indicate 'null' / 'not set'. Unless otherwise defined, a 'zero
|
|
52
54
|
* value' message value is one with all default field values, so as to
|
|
53
55
|
* minimize wire encoded size.
|
|
54
56
|
*
|
|
55
|
-
* - There SHOULD NOT be
|
|
56
|
-
*
|
|
57
|
-
* implementation does emit
|
|
58
|
-
* meaning based on the index or order. A profile processor
|
|
59
|
-
*
|
|
60
|
-
* consumers.
|
|
57
|
+
* - There SHOULD NOT be duplicate items in a dictionary. The identity of a
|
|
58
|
+
* dictionary item is based on its value, recursively as needed. If a particular
|
|
59
|
+
* implementation does emit duplicate items, it MUST NOT attempt to give them
|
|
60
|
+
* meaning based on the index or order. A profile processor MAY remove
|
|
61
|
+
* duplicates and this MUST NOT have any observable effects for consumers.
|
|
61
62
|
*
|
|
62
63
|
* - There SHOULD NOT be orphaned (unreferenced) items in a dictionary. A
|
|
63
|
-
* profile processor
|
|
64
|
+
* profile processor MAY remove ("garbage-collect") orphaned items and this
|
|
64
65
|
* MUST NOT have any observable effects for consumers.
|
|
65
66
|
*
|
|
67
|
+
* Status: [Alpha]
|
|
66
68
|
*
|
|
67
69
|
* @generated from message opentelemetry.proto.profiles.v1development.ProfilesDictionary
|
|
68
70
|
*/
|
|
@@ -71,7 +73,7 @@ export declare class ProfilesDictionary extends Message<ProfilesDictionary> {
|
|
|
71
73
|
* Mappings from address ranges to the image/binary/library mapped
|
|
72
74
|
* into that address range referenced by locations via Location.mapping_index.
|
|
73
75
|
*
|
|
74
|
-
* mapping_table[0]
|
|
76
|
+
* mapping_table[0] MUST be the zero value (Mapping{}) and present.
|
|
75
77
|
*
|
|
76
78
|
* @generated from field: repeated opentelemetry.proto.profiles.v1development.Mapping mapping_table = 1;
|
|
77
79
|
*/
|
|
@@ -80,7 +82,7 @@ export declare class ProfilesDictionary extends Message<ProfilesDictionary> {
|
|
|
80
82
|
/**
|
|
81
83
|
* Locations referenced by samples via Stack.location_indices.
|
|
82
84
|
*
|
|
83
|
-
* location_table[0]
|
|
85
|
+
* location_table[0] MUST be the zero value (Location{}) and present.
|
|
84
86
|
*
|
|
85
87
|
* @generated from field: repeated opentelemetry.proto.profiles.v1development.Location location_table = 2;
|
|
86
88
|
*/
|
|
@@ -89,7 +91,7 @@ export declare class ProfilesDictionary extends Message<ProfilesDictionary> {
|
|
|
89
91
|
/**
|
|
90
92
|
* Functions referenced by locations via Line.function_index.
|
|
91
93
|
*
|
|
92
|
-
* function_table[0]
|
|
94
|
+
* function_table[0] MUST be the zero value (Function{}) and present.
|
|
93
95
|
*
|
|
94
96
|
* @generated from field: repeated opentelemetry.proto.profiles.v1development.Function function_table = 3;
|
|
95
97
|
*/
|
|
@@ -98,7 +100,12 @@ export declare class ProfilesDictionary extends Message<ProfilesDictionary> {
|
|
|
98
100
|
/**
|
|
99
101
|
* Links referenced by samples via Sample.link_index.
|
|
100
102
|
*
|
|
101
|
-
* link_table[0]
|
|
103
|
+
* link_table[0] MUST be the zero value (Link{}) and present.
|
|
104
|
+
* Note that whilst Link{trace_id=array[0], span_id=array[0]} and
|
|
105
|
+
* Link{trace_id=array[16], span_id=array[8]} filled with zero-value bytes
|
|
106
|
+
* are both appropriate zero/invalid values per the trace.proto:Span definition,
|
|
107
|
+
* the latter SHOULD be used for link_table[0] for better compatibility with codecs
|
|
108
|
+
* strictly expecting 16/8 byte array lengths.
|
|
102
109
|
*
|
|
103
110
|
* @generated from field: repeated opentelemetry.proto.profiles.v1development.Link link_table = 4;
|
|
104
111
|
*/
|
|
@@ -107,7 +114,7 @@ export declare class ProfilesDictionary extends Message<ProfilesDictionary> {
|
|
|
107
114
|
/**
|
|
108
115
|
* A common table for strings referenced by various messages.
|
|
109
116
|
*
|
|
110
|
-
* string_table[0]
|
|
117
|
+
* string_table[0] MUST be "" and present.
|
|
111
118
|
*
|
|
112
119
|
* @generated from field: repeated string string_table = 5;
|
|
113
120
|
*/
|
|
@@ -115,11 +122,12 @@ export declare class ProfilesDictionary extends Message<ProfilesDictionary> {
|
|
|
115
122
|
|
|
116
123
|
/**
|
|
117
124
|
* A common table for attributes referenced by the Profile, Sample, Mapping
|
|
118
|
-
* and Location messages
|
|
119
|
-
* a key/value pair with an optional unit. Since this is a
|
|
120
|
-
* multiple entries with the same key
|
|
121
|
-
* tables like Resource.attributes.
|
|
122
|
-
*
|
|
125
|
+
* and Location messages, through their attribute_indices field. Each entry is
|
|
126
|
+
* a key/value pair with an optional unit in UCUM format. Since this is a
|
|
127
|
+
* dictionary table, multiple entries with the same key MAY be present,
|
|
128
|
+
* unlike direct attribute tables like Resource.attributes.
|
|
129
|
+
* However, the referencing attribute_indices fields MUST maintain the key
|
|
130
|
+
* uniqueness requirement.
|
|
123
131
|
*
|
|
124
132
|
* It's recommended to use attributes for variables with bounded cardinality,
|
|
125
133
|
* such as categorical variables
|
|
@@ -133,7 +141,7 @@ export declare class ProfilesDictionary extends Message<ProfilesDictionary> {
|
|
|
133
141
|
* "abc.com/myattribute": true
|
|
134
142
|
* "allocation_size": 128 bytes
|
|
135
143
|
*
|
|
136
|
-
* attribute_table[0]
|
|
144
|
+
* attribute_table[0] MUST be the zero value (KeyValueAndUnit{}) and present.
|
|
137
145
|
*
|
|
138
146
|
* @generated from field: repeated opentelemetry.proto.profiles.v1development.KeyValueAndUnit attribute_table = 6;
|
|
139
147
|
*/
|
|
@@ -142,7 +150,7 @@ export declare class ProfilesDictionary extends Message<ProfilesDictionary> {
|
|
|
142
150
|
/**
|
|
143
151
|
* Stacks referenced by samples via Sample.stack_index.
|
|
144
152
|
*
|
|
145
|
-
* stack_table[0]
|
|
153
|
+
* stack_table[0] MUST be the zero value (Stack{}) and present.
|
|
146
154
|
*
|
|
147
155
|
* @generated from field: repeated opentelemetry.proto.profiles.v1development.Stack stack_table = 7;
|
|
148
156
|
*/
|
|
@@ -175,6 +183,8 @@ export declare class ProfilesDictionary extends Message<ProfilesDictionary> {
|
|
|
175
183
|
* When new fields are added into this message, the OTLP request MUST be updated
|
|
176
184
|
* as well.
|
|
177
185
|
*
|
|
186
|
+
* Status: [Alpha]
|
|
187
|
+
*
|
|
178
188
|
* @generated from message opentelemetry.proto.profiles.v1development.ProfilesData
|
|
179
189
|
*/
|
|
180
190
|
export declare class ProfilesData extends Message<ProfilesData> {
|
|
@@ -186,7 +196,7 @@ export declare class ProfilesData extends Message<ProfilesData> {
|
|
|
186
196
|
* from non-containerized processes.
|
|
187
197
|
* Other resource groupings are possible as well and clarified via
|
|
188
198
|
* Resource.attributes and semantic conventions.
|
|
189
|
-
* Tools that visualize profiles
|
|
199
|
+
* Tools that visualize profiles SHOULD prefer displaying
|
|
190
200
|
* resources_profiles[0].scope_profiles[0].profiles[0] by default.
|
|
191
201
|
*
|
|
192
202
|
* @generated from field: repeated opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1;
|
|
@@ -194,7 +204,7 @@ export declare class ProfilesData extends Message<ProfilesData> {
|
|
|
194
204
|
resourceProfiles: ResourceProfiles[];
|
|
195
205
|
|
|
196
206
|
/**
|
|
197
|
-
*
|
|
207
|
+
* A single instance of ProfilesDictionary shared across the entire message.
|
|
198
208
|
*
|
|
199
209
|
* @generated from field: opentelemetry.proto.profiles.v1development.ProfilesDictionary dictionary = 2;
|
|
200
210
|
*/
|
|
@@ -218,6 +228,8 @@ export declare class ProfilesData extends Message<ProfilesData> {
|
|
|
218
228
|
/**
|
|
219
229
|
* A collection of ScopeProfiles from a Resource.
|
|
220
230
|
*
|
|
231
|
+
* Status: [Alpha]
|
|
232
|
+
*
|
|
221
233
|
* @generated from message opentelemetry.proto.profiles.v1development.ResourceProfiles
|
|
222
234
|
*/
|
|
223
235
|
export declare class ResourceProfiles extends Message<ResourceProfiles> {
|
|
@@ -230,7 +242,7 @@ export declare class ResourceProfiles extends Message<ResourceProfiles> {
|
|
|
230
242
|
resource?: Resource;
|
|
231
243
|
|
|
232
244
|
/**
|
|
233
|
-
* A list of ScopeProfiles that originate from
|
|
245
|
+
* A list of ScopeProfiles that originate from this resource.
|
|
234
246
|
*
|
|
235
247
|
* @generated from field: repeated opentelemetry.proto.profiles.v1development.ScopeProfiles scope_profiles = 2;
|
|
236
248
|
*/
|
|
@@ -242,7 +254,7 @@ export declare class ResourceProfiles extends Message<ResourceProfiles> {
|
|
|
242
254
|
* schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see
|
|
243
255
|
* https://opentelemetry.io/docs/specs/otel/schemas/#schema-url
|
|
244
256
|
* This schema_url applies to the data in the "resource" field. It does not apply
|
|
245
|
-
* to the data in the "scope_profiles" field which
|
|
257
|
+
* to the data in the "scope_profiles" field, which has its own schema_url field.
|
|
246
258
|
*
|
|
247
259
|
* @generated from field: string schema_url = 3;
|
|
248
260
|
*/
|
|
@@ -266,6 +278,8 @@ export declare class ResourceProfiles extends Message<ResourceProfiles> {
|
|
|
266
278
|
/**
|
|
267
279
|
* A collection of Profiles produced by an InstrumentationScope.
|
|
268
280
|
*
|
|
281
|
+
* Status: [Alpha]
|
|
282
|
+
*
|
|
269
283
|
* @generated from message opentelemetry.proto.profiles.v1development.ScopeProfiles
|
|
270
284
|
*/
|
|
271
285
|
export declare class ScopeProfiles extends Message<ScopeProfiles> {
|
|
@@ -279,7 +293,7 @@ export declare class ScopeProfiles extends Message<ScopeProfiles> {
|
|
|
279
293
|
scope?: InstrumentationScope;
|
|
280
294
|
|
|
281
295
|
/**
|
|
282
|
-
* A list of Profiles that originate from
|
|
296
|
+
* A list of Profiles that originate from this instrumentation scope.
|
|
283
297
|
*
|
|
284
298
|
* @generated from field: repeated opentelemetry.proto.profiles.v1development.Profile profiles = 2;
|
|
285
299
|
*/
|
|
@@ -318,9 +332,7 @@ export declare class ScopeProfiles extends Message<ScopeProfiles> {
|
|
|
318
332
|
* metadata. It modifies and annotates pprof Profile with OpenTelemetry
|
|
319
333
|
* specific fields.
|
|
320
334
|
*
|
|
321
|
-
*
|
|
322
|
-
* for ease of understanding data migration, it is not intended that pprof:Profile and
|
|
323
|
-
* OpenTelemetry:Profile encoding be wire compatible.
|
|
335
|
+
* Status: [Alpha]
|
|
324
336
|
*
|
|
325
337
|
* @generated from message opentelemetry.proto.profiles.v1development.Profile
|
|
326
338
|
*/
|
|
@@ -344,34 +356,46 @@ export declare class Profile extends Message<Profile> {
|
|
|
344
356
|
samples: Sample[];
|
|
345
357
|
|
|
346
358
|
/**
|
|
347
|
-
* Time of collection
|
|
348
|
-
* UTC on 1 January 1970.
|
|
359
|
+
* Time of collection (UTC) as nanoseconds since the UNIX epoch.
|
|
349
360
|
*
|
|
350
361
|
* @generated from field: fixed64 time_unix_nano = 3;
|
|
351
362
|
*/
|
|
352
363
|
timeUnixNano: bigint;
|
|
353
364
|
|
|
354
365
|
/**
|
|
355
|
-
* Duration of the profile. For instant profiles like
|
|
356
|
-
* duration can be zero but it may be preferable
|
|
357
|
-
*
|
|
358
|
-
* was gathered
|
|
359
|
-
*
|
|
366
|
+
* Duration of the profile in nanoseconds. For instant profiles like
|
|
367
|
+
* live heap snapshot, the duration can be zero but it may be preferable
|
|
368
|
+
* to set time_unix_nano to the process start time and duration_nano to
|
|
369
|
+
* the relative time when the profile was gathered so that Sample.timestamps_unix_nano
|
|
370
|
+
* values fall within the profile time range.
|
|
360
371
|
*
|
|
361
372
|
* @generated from field: uint64 duration_nano = 4;
|
|
362
373
|
*/
|
|
363
374
|
durationNano: bigint;
|
|
364
375
|
|
|
365
376
|
/**
|
|
366
|
-
* The
|
|
367
|
-
*
|
|
377
|
+
* The type and the unit of the events between sampled occurrences for
|
|
378
|
+
* periodic sampling profiles. It can be the same as sample_type or it can be
|
|
379
|
+
* different depending on the case, for example:
|
|
380
|
+
* - sample_type=(cpu, milliseconds), period_type=(cpu, milliseconds),
|
|
381
|
+
* period=10 signals that we sample the program every 10 milliseconds and
|
|
382
|
+
* capture samples that each represent that sampling distance.
|
|
383
|
+
* - sample_type=(off_cpu, nanoseconds), period_type=(context_switch, count),
|
|
384
|
+
* period=1000 describes a profile where sampling is done every so often in
|
|
385
|
+
* terms of context switches, but the recorded metric is the time spent by
|
|
386
|
+
* the thread off CPU.
|
|
387
|
+
* - sample_type=(inuse_space, bytes), period_type=(allocated_bytes, bytes),
|
|
388
|
+
* period=262144 might represent a heap profile where the recorded sample
|
|
389
|
+
* metric is the size of the live heap while the periodic sampling is done
|
|
390
|
+
* using the number of cumulatively allocated bytes.
|
|
368
391
|
*
|
|
369
392
|
* @generated from field: opentelemetry.proto.profiles.v1development.ValueType period_type = 5;
|
|
370
393
|
*/
|
|
371
394
|
periodType?: ValueType;
|
|
372
395
|
|
|
373
396
|
/**
|
|
374
|
-
* The
|
|
397
|
+
* The distance between sampled occurrences for periodic sampling profiles.
|
|
398
|
+
* The value is of the period_type type and unit.
|
|
375
399
|
*
|
|
376
400
|
* @generated from field: int64 period = 6;
|
|
377
401
|
*/
|
|
@@ -379,7 +403,7 @@ export declare class Profile extends Message<Profile> {
|
|
|
379
403
|
|
|
380
404
|
/**
|
|
381
405
|
* A globally unique identifier for a profile. The ID is a 16-byte array. An ID with
|
|
382
|
-
* all zeroes is considered invalid. It
|
|
406
|
+
* all zeroes is considered invalid. It MAY be used for deduplication and signal
|
|
383
407
|
* correlation purposes. It is acceptable to treat two profiles with different values
|
|
384
408
|
* in this field as not equal, even if they represented the same object at an earlier
|
|
385
409
|
* time.
|
|
@@ -399,33 +423,25 @@ export declare class Profile extends Message<Profile> {
|
|
|
399
423
|
droppedAttributesCount: number;
|
|
400
424
|
|
|
401
425
|
/**
|
|
402
|
-
* The original payload format. See also original_payload.
|
|
403
|
-
*
|
|
426
|
+
* The original payload format. See also original_payload. It MUST be set
|
|
427
|
+
* together with original_payload or both left unset [optional].
|
|
404
428
|
*
|
|
405
429
|
* The allowed values for the format string are defined by the OpenTelemetry
|
|
406
430
|
* specification. Some examples are "jfr", "pprof", "linux_perf".
|
|
407
431
|
*
|
|
408
|
-
* The
|
|
409
|
-
*
|
|
410
|
-
*
|
|
411
|
-
*
|
|
412
|
-
*
|
|
413
|
-
*
|
|
414
|
-
* Even when the original payload is in a format that is semantically close to
|
|
415
|
-
* OTLP, such as pprof, a conversion may still be lossy in some cases (e.g. if
|
|
416
|
-
* the pprof file contains custom extensions or conventions).
|
|
417
|
-
*
|
|
418
|
-
* The original payload can be large in size, so including the original
|
|
419
|
-
* payload should be configurable by the profiler or collector options. The
|
|
420
|
-
* default behavior should be to not include the original payload.
|
|
432
|
+
* The original_payload MAY be used when converting from a source format (e.g. JFR)
|
|
433
|
+
* that carries information which cannot be losslessly represented in the
|
|
434
|
+
* Profiles format. Including the original data allows receivers to store or
|
|
435
|
+
* reexport the data without loss. Because the original payload can be large,
|
|
436
|
+
* its inclusion is optional.
|
|
421
437
|
*
|
|
422
438
|
* @generated from field: string original_payload_format = 9;
|
|
423
439
|
*/
|
|
424
440
|
originalPayloadFormat: string;
|
|
425
441
|
|
|
426
442
|
/**
|
|
427
|
-
* The original payload bytes. See also original_payload_format.
|
|
428
|
-
*
|
|
443
|
+
* The original payload bytes. See also original_payload_format. It MUST be set
|
|
444
|
+
* together with original_payload_format or both left unset [optional].
|
|
429
445
|
*
|
|
430
446
|
* @generated from field: bytes original_payload = 10;
|
|
431
447
|
*/
|
|
@@ -457,11 +473,13 @@ export declare class Profile extends Message<Profile> {
|
|
|
457
473
|
* A pointer from a profile Sample to a trace Span.
|
|
458
474
|
* Connects a profile sample to a trace span, identified by unique trace and span IDs.
|
|
459
475
|
*
|
|
476
|
+
* Status: [Alpha]
|
|
477
|
+
*
|
|
460
478
|
* @generated from message opentelemetry.proto.profiles.v1development.Link
|
|
461
479
|
*/
|
|
462
480
|
export declare class Link extends Message<Link> {
|
|
463
481
|
/**
|
|
464
|
-
* A unique identifier of
|
|
482
|
+
* A unique identifier of the trace that this linked span is part of. The ID is a
|
|
465
483
|
* 16-byte array.
|
|
466
484
|
*
|
|
467
485
|
* @generated from field: bytes trace_id = 1;
|
|
@@ -493,6 +511,8 @@ export declare class Link extends Message<Link> {
|
|
|
493
511
|
/**
|
|
494
512
|
* ValueType describes the type and units of a value.
|
|
495
513
|
*
|
|
514
|
+
* Status: [Alpha]
|
|
515
|
+
*
|
|
496
516
|
* @generated from message opentelemetry.proto.profiles.v1development.ValueType
|
|
497
517
|
*/
|
|
498
518
|
export declare class ValueType extends Message<ValueType> {
|
|
@@ -531,31 +551,33 @@ export declare class ValueType extends Message<ValueType> {
|
|
|
531
551
|
* information like the thread-id, some indicator of a higher level request
|
|
532
552
|
* being handled etc.
|
|
533
553
|
*
|
|
534
|
-
* A Sample MUST have have at least one values or timestamps_unix_nano
|
|
535
|
-
* both fields are populated, they MUST contain the same number of elements,
|
|
536
|
-
* the elements at the same index MUST refer to the same event.
|
|
554
|
+
* A Sample MUST have have at least one entry in values or timestamps_unix_nano.
|
|
555
|
+
* If both fields are populated, they MUST contain the same number of elements,
|
|
556
|
+
* and the elements at the same index MUST refer to the same event.
|
|
537
557
|
*
|
|
538
558
|
* For the purposes of efficiently representing aggregated data observations, a Sample is regarded
|
|
539
559
|
* as having a shared identity and an associated collection of per-observation data points.
|
|
540
|
-
*
|
|
560
|
+
* A Sample's identity (i.e. primary key) is the tuple of {stack_index, set_of(attribute_indices), link_index}.
|
|
561
|
+
* Samples having the same identity SHOULD be combined by appending timestamps and values to the data arrays.
|
|
541
562
|
*
|
|
542
563
|
* Examples of different ways ('shapes') of representing a sample with the total value of 10:
|
|
543
564
|
*
|
|
544
|
-
*
|
|
565
|
+
* Timestamps only (consumers must assume the value is 1 for each timestamp):
|
|
545
566
|
* values: []
|
|
546
567
|
* timestamps_unix_nano: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
|
547
568
|
*
|
|
548
|
-
*
|
|
549
|
-
*
|
|
569
|
+
* Single aggregated value without timestamps (one element representing the total):
|
|
570
|
+
* values: [10]
|
|
550
571
|
* timestamps_unix_nano: []
|
|
551
572
|
*
|
|
552
|
-
*
|
|
573
|
+
* Per-timestamp value (each point in time records a specific value):
|
|
553
574
|
* values: [2, 2, 3, 3]
|
|
554
575
|
* timestamps_unix_nano: [1, 2, 3, 4]
|
|
555
576
|
*
|
|
556
577
|
* All Samples for a Profile SHOULD have the same shape, i.e. all data observation series should consistently
|
|
557
578
|
* adopt the same data recording style.
|
|
558
579
|
*
|
|
580
|
+
* Status: [Alpha]
|
|
559
581
|
*
|
|
560
582
|
* @generated from message opentelemetry.proto.profiles.v1development.Sample
|
|
561
583
|
*/
|
|
@@ -576,24 +598,22 @@ export declare class Sample extends Message<Sample> {
|
|
|
576
598
|
|
|
577
599
|
/**
|
|
578
600
|
* Reference to link in ProfilesDictionary.link_table. [optional]
|
|
579
|
-
*
|
|
601
|
+
* 0 means no link exists.
|
|
580
602
|
*
|
|
581
603
|
* @generated from field: int32 link_index = 3;
|
|
582
604
|
*/
|
|
583
605
|
linkIndex: number;
|
|
584
606
|
|
|
585
607
|
/**
|
|
586
|
-
* The type and unit of each value is defined by Profile.sample_type.
|
|
608
|
+
* Measured values. The type and unit of each value is defined by Profile.sample_type.
|
|
587
609
|
*
|
|
588
610
|
* @generated from field: repeated int64 values = 4;
|
|
589
611
|
*/
|
|
590
612
|
values: bigint[];
|
|
591
613
|
|
|
592
614
|
/**
|
|
593
|
-
* Timestamps
|
|
594
|
-
*
|
|
595
|
-
* [Profile.time_unix_nano, Profile.time_unix_nano + Profile.duration_nano)
|
|
596
|
-
* time range.
|
|
615
|
+
* Timestamps (UTC) as nanoseconds since the UNIX epoch. The timestamps SHOULD fall within the
|
|
616
|
+
* [Profile.time_unix_nano, Profile.time_unix_nano + Profile.duration_nano) interval.
|
|
597
617
|
*
|
|
598
618
|
* @generated from field: repeated fixed64 timestamps_unix_nano = 5;
|
|
599
619
|
*/
|
|
@@ -618,6 +638,8 @@ export declare class Sample extends Message<Sample> {
|
|
|
618
638
|
* Describes the mapping of a binary in memory, including its address range,
|
|
619
639
|
* file offset, and metadata like build ID
|
|
620
640
|
*
|
|
641
|
+
* Status: [Alpha]
|
|
642
|
+
*
|
|
621
643
|
* @generated from message opentelemetry.proto.profiles.v1development.Mapping
|
|
622
644
|
*/
|
|
623
645
|
export declare class Mapping extends Message<Mapping> {
|
|
@@ -644,8 +666,8 @@ export declare class Mapping extends Message<Mapping> {
|
|
|
644
666
|
|
|
645
667
|
/**
|
|
646
668
|
* The object this entry is loaded from. This can be a filename on
|
|
647
|
-
* disk for the main binary and shared libraries, or virtual
|
|
648
|
-
*
|
|
669
|
+
* disk for the main binary and shared libraries, or a virtual
|
|
670
|
+
* abstraction like "[vdso]".
|
|
649
671
|
*
|
|
650
672
|
* Index into ProfilesDictionary.string_table.
|
|
651
673
|
*
|
|
@@ -676,7 +698,13 @@ export declare class Mapping extends Message<Mapping> {
|
|
|
676
698
|
}
|
|
677
699
|
|
|
678
700
|
/**
|
|
679
|
-
* A Stack represents a stack trace as a list of locations.
|
|
701
|
+
* A Stack represents a stack trace as a list of locations (leaf first).
|
|
702
|
+
* For example, the stack trace resulting from the call stack
|
|
703
|
+
* main -> foo -> bar would be encoded into the location_indices list
|
|
704
|
+
* [2, 1, 0] which references the locations in location_table as:
|
|
705
|
+
* [Location{"main"}, Location{"foo"}, Location{"bar"}].
|
|
706
|
+
*
|
|
707
|
+
* Status: [Alpha]
|
|
680
708
|
*
|
|
681
709
|
* @generated from message opentelemetry.proto.profiles.v1development.Stack
|
|
682
710
|
*/
|
|
@@ -705,15 +733,16 @@ export declare class Stack extends Message<Stack> {
|
|
|
705
733
|
}
|
|
706
734
|
|
|
707
735
|
/**
|
|
708
|
-
*
|
|
736
|
+
* Contains function and line table debug information for a single frame.
|
|
737
|
+
*
|
|
738
|
+
* Status: [Alpha]
|
|
709
739
|
*
|
|
710
740
|
* @generated from message opentelemetry.proto.profiles.v1development.Location
|
|
711
741
|
*/
|
|
712
742
|
export declare class Location extends Message<Location> {
|
|
713
743
|
/**
|
|
714
744
|
* Reference to mapping in ProfilesDictionary.mapping_table.
|
|
715
|
-
*
|
|
716
|
-
* this profile type, as mapping_table[0] is always a 'null' default mapping.
|
|
745
|
+
* 0 means unknown or not applicable.
|
|
717
746
|
*
|
|
718
747
|
* @generated from field: int32 mapping_index = 1;
|
|
719
748
|
*/
|
|
@@ -721,7 +750,7 @@ export declare class Location extends Message<Location> {
|
|
|
721
750
|
|
|
722
751
|
/**
|
|
723
752
|
* The instruction address for this location, if available. It
|
|
724
|
-
*
|
|
753
|
+
* SHOULD be within [Mapping.memory_start, Mapping.memory_limit]
|
|
725
754
|
* for the corresponding mapping. A non-leaf address may be in the
|
|
726
755
|
* middle of a call instruction. It is up to display tools to find
|
|
727
756
|
* the beginning of the instruction if necessary.
|
|
@@ -731,7 +760,7 @@ export declare class Location extends Message<Location> {
|
|
|
731
760
|
address: bigint;
|
|
732
761
|
|
|
733
762
|
/**
|
|
734
|
-
* Multiple
|
|
763
|
+
* Multiple lines indicate this location has inlined functions,
|
|
735
764
|
* where the last entry represents the caller into which the
|
|
736
765
|
* preceding entries were inlined.
|
|
737
766
|
*
|
|
@@ -768,6 +797,8 @@ export declare class Location extends Message<Location> {
|
|
|
768
797
|
/**
|
|
769
798
|
* Details a specific line in a source code, linked to a function.
|
|
770
799
|
*
|
|
800
|
+
* Status: [Alpha]
|
|
801
|
+
*
|
|
771
802
|
* @generated from message opentelemetry.proto.profiles.v1development.Line
|
|
772
803
|
*/
|
|
773
804
|
export declare class Line extends Message<Line> {
|
|
@@ -779,14 +810,14 @@ export declare class Line extends Message<Line> {
|
|
|
779
810
|
functionIndex: number;
|
|
780
811
|
|
|
781
812
|
/**
|
|
782
|
-
* Line number in source code. 0 means unset.
|
|
813
|
+
* Line number in source code. 1-based, 0 means unset.
|
|
783
814
|
*
|
|
784
815
|
* @generated from field: int64 line = 2;
|
|
785
816
|
*/
|
|
786
817
|
line: bigint;
|
|
787
818
|
|
|
788
819
|
/**
|
|
789
|
-
* Column number in source code. 0 means unset.
|
|
820
|
+
* Column number in source code. 1-based, 0 means unset.
|
|
790
821
|
*
|
|
791
822
|
* @generated from field: int64 column = 3;
|
|
792
823
|
*/
|
|
@@ -809,7 +840,10 @@ export declare class Line extends Message<Line> {
|
|
|
809
840
|
|
|
810
841
|
/**
|
|
811
842
|
* Describes a function, including its human-readable name, system name,
|
|
812
|
-
* source file, and starting line number in the source.
|
|
843
|
+
* source file, and starting line number in the source. At least one of
|
|
844
|
+
* {name_strindex, system_name_strindex, filename_strindex} MUST be present.
|
|
845
|
+
*
|
|
846
|
+
* Status: [Alpha]
|
|
813
847
|
*
|
|
814
848
|
* @generated from message opentelemetry.proto.profiles.v1development.Function
|
|
815
849
|
*/
|
|
@@ -837,7 +871,7 @@ export declare class Function extends Message<Function> {
|
|
|
837
871
|
filenameStrindex: number;
|
|
838
872
|
|
|
839
873
|
/**
|
|
840
|
-
* Line number in source file. 0 means unset.
|
|
874
|
+
* Line number in source file. 1-based, 0 means unset.
|
|
841
875
|
*
|
|
842
876
|
* @generated from field: int64 start_line = 4;
|
|
843
877
|
*/
|
|
@@ -861,7 +895,10 @@ export declare class Function extends Message<Function> {
|
|
|
861
895
|
/**
|
|
862
896
|
* A custom 'dictionary native' style of encoding attributes which is more convenient
|
|
863
897
|
* for profiles than opentelemetry.proto.common.v1.KeyValue
|
|
864
|
-
* Specifically, uses the
|
|
898
|
+
* Specifically, uses the ProfilesDictionary.string_table for keys
|
|
899
|
+
* and allows optional unit information.
|
|
900
|
+
*
|
|
901
|
+
* Status: [Alpha]
|
|
865
902
|
*
|
|
866
903
|
* @generated from message opentelemetry.proto.profiles.v1development.KeyValueAndUnit
|
|
867
904
|
*/
|
|
@@ -883,6 +920,7 @@ export declare class KeyValueAndUnit extends Message<KeyValueAndUnit> {
|
|
|
883
920
|
/**
|
|
884
921
|
* The index into the string table for the attribute's unit.
|
|
885
922
|
* zero indicates implicit (by semconv) or non-defined unit.
|
|
923
|
+
* If present, the unit string SHOULD be in UCUM format.
|
|
886
924
|
*
|
|
887
925
|
* @generated from field: int32 unit_strindex = 3;
|
|
888
926
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { AnswerRequest, AnswerResponse, CallRequest, CallResponse, CallUpdateRequest, CallUpdateResponse, OptionalWebRTCConfigRequest, OptionalWebRTCConfigResponse } from "./signaling_pb.js";
|
|
6
|
+
import { AnswerRequest, AnswerResponse, CallRequest, CallResponse, CallUpdateRequest, CallUpdateResponse, OptionalWebRTCConfigRequest, OptionalWebRTCConfigResponse, ReportConnectionMetadataRequest, ReportConnectionMetadataResponse } from "./signaling_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -73,6 +73,18 @@ export declare const SignalingService: {
|
|
|
73
73
|
readonly O: typeof OptionalWebRTCConfigResponse,
|
|
74
74
|
readonly kind: MethodKind.Unary,
|
|
75
75
|
},
|
|
76
|
+
/**
|
|
77
|
+
* ReportConnectionMetadata reports metadata about a WebRTC connection attempt.
|
|
78
|
+
* The host must be in the rpc-host metadata field.
|
|
79
|
+
*
|
|
80
|
+
* @generated from rpc proto.rpc.webrtc.v1.SignalingService.ReportConnectionMetadata
|
|
81
|
+
*/
|
|
82
|
+
readonly reportConnectionMetadata: {
|
|
83
|
+
readonly name: "ReportConnectionMetadata",
|
|
84
|
+
readonly I: typeof ReportConnectionMetadataRequest,
|
|
85
|
+
readonly O: typeof ReportConnectionMetadataResponse,
|
|
86
|
+
readonly kind: MethodKind.Unary,
|
|
87
|
+
},
|
|
76
88
|
}
|
|
77
89
|
};
|
|
78
90
|
|