@viamrobotics/sdk 0.57.0 → 0.58.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/README.md +0 -5
- package/dist/api-version.d.ts +1 -1
- package/dist/app/data-client.d.ts +3 -1
- package/dist/audio-common.d.ts +1 -1
- package/dist/gen/app/v1/app_pb.d.ts +65 -0
- package/dist/gen/component/camera/v1/camera_pb.d.ts +8 -0
- package/dist/gen/opentelemetry/proto/collector/logs/v1/logs_service_connect.d.ts +44 -0
- package/dist/gen/opentelemetry/proto/collector/logs/v1/logs_service_pb.d.ts +135 -0
- package/dist/gen/opentelemetry/proto/collector/metrics/v1/metrics_service_connect.d.ts +44 -0
- package/dist/gen/opentelemetry/proto/collector/metrics/v1/metrics_service_pb.d.ts +135 -0
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_connect.d.ts +43 -0
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts +142 -0
- package/dist/gen/opentelemetry/proto/collector/trace/v1/trace_service_connect.d.ts +44 -0
- package/dist/gen/opentelemetry/proto/collector/trace/v1/trace_service_pb.d.ts +135 -0
- package/dist/gen/opentelemetry/proto/common/v1/common_pb.d.ts +322 -0
- package/dist/gen/opentelemetry/proto/logs/v1/logs_pb.d.ts +479 -0
- package/dist/gen/opentelemetry/proto/metrics/v1/metrics_pb.d.ts +1349 -0
- package/dist/gen/opentelemetry/proto/profiles/v1development/profiles_pb.d.ts +890 -0
- package/dist/gen/opentelemetry/proto/resource/v1/resource_pb.d.ts +73 -0
- package/dist/gen/opentelemetry/proto/trace/v1/trace_pb.d.ts +683 -0
- package/dist/gen/robot/v1/robot_connect.d.ts +10 -1
- package/dist/gen/robot/v1/robot_pb.d.ts +44 -0
- package/dist/main.es.js +12232 -11862
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +20 -16
- package/dist/robot/robot.d.ts +19 -10
- package/dist/robot.d.ts +1 -1
- package/dist/services/motion/client.d.ts +1 -0
- package/dist/services/motion/motion.d.ts +1 -0
- package/package.json +1 -1
- package/dist/app/app-client.spec.d.ts +0 -1
- package/dist/app/billing-client.spec.d.ts +0 -1
- package/dist/app/data-client.spec.d.ts +0 -1
- package/dist/app/ml-training-client.spec.d.ts +0 -1
- package/dist/app/provisioning-client.spec.d.ts +0 -1
- package/dist/app/viam-client.spec.d.ts +0 -1
- package/dist/components/audio-in/client.spec.d.ts +0 -1
- package/dist/components/audio-out/client.spec.d.ts +0 -1
- package/dist/components/board/client.spec.d.ts +0 -1
- package/dist/components/input-controller/client.spec.d.ts +0 -1
- package/dist/components/movement-sensor/client.spec.d.ts +0 -1
- package/dist/components/power-sensor/client.spec.d.ts +0 -1
- package/dist/extra/stream/client.spec.d.ts +0 -1
- package/dist/services/discovery/client.spec.d.ts +0 -1
- package/dist/services/motion/client.spec.d.ts +0 -1
- package/dist/services/navigation/client.spec.d.ts +0 -1
- package/dist/services/slam/client.spec.d.ts +0 -1
- package/dist/services/vision/client.spec.d.ts +0 -1
- package/dist/services/world-state-store/client.spec.d.ts +0 -1
package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
// Copyright 2023, OpenTelemetry Authors
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.0
|
|
16
|
+
// @generated from file opentelemetry/proto/collector/profiles/v1development/profiles_service.proto (package opentelemetry.proto.collector.profiles.v1development, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
import type { ProfilesDictionary, ResourceProfiles } from "../../../profiles/v1development/profiles_pb.js";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from message opentelemetry.proto.collector.profiles.v1development.ExportProfilesServiceRequest
|
|
26
|
+
*/
|
|
27
|
+
export declare class ExportProfilesServiceRequest extends Message<ExportProfilesServiceRequest> {
|
|
28
|
+
/**
|
|
29
|
+
* An array of ResourceProfiles.
|
|
30
|
+
* For data coming from a single resource this array will typically contain one
|
|
31
|
+
* element. Intermediary nodes (such as OpenTelemetry Collector) that receive
|
|
32
|
+
* data from multiple origins typically batch the data before forwarding further and
|
|
33
|
+
* in that case this array will contain multiple elements.
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: repeated opentelemetry.proto.profiles.v1development.ResourceProfiles resource_profiles = 1;
|
|
36
|
+
*/
|
|
37
|
+
resourceProfiles: ResourceProfiles[];
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* The reference table containing all data shared by profiles across the message being sent.
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: opentelemetry.proto.profiles.v1development.ProfilesDictionary dictionary = 2;
|
|
43
|
+
*/
|
|
44
|
+
dictionary?: ProfilesDictionary;
|
|
45
|
+
|
|
46
|
+
constructor(data?: PartialMessage<ExportProfilesServiceRequest>);
|
|
47
|
+
|
|
48
|
+
static readonly runtime: typeof proto3;
|
|
49
|
+
static readonly typeName = "opentelemetry.proto.collector.profiles.v1development.ExportProfilesServiceRequest";
|
|
50
|
+
static readonly fields: FieldList;
|
|
51
|
+
|
|
52
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExportProfilesServiceRequest;
|
|
53
|
+
|
|
54
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExportProfilesServiceRequest;
|
|
55
|
+
|
|
56
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExportProfilesServiceRequest;
|
|
57
|
+
|
|
58
|
+
static equals(a: ExportProfilesServiceRequest | PlainMessage<ExportProfilesServiceRequest> | undefined, b: ExportProfilesServiceRequest | PlainMessage<ExportProfilesServiceRequest> | undefined): boolean;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from message opentelemetry.proto.collector.profiles.v1development.ExportProfilesServiceResponse
|
|
63
|
+
*/
|
|
64
|
+
export declare class ExportProfilesServiceResponse extends Message<ExportProfilesServiceResponse> {
|
|
65
|
+
/**
|
|
66
|
+
* The details of a partially successful export request.
|
|
67
|
+
*
|
|
68
|
+
* If the request is only partially accepted
|
|
69
|
+
* (i.e. when the server accepts only parts of the data and rejects the rest)
|
|
70
|
+
* the server MUST initialize the `partial_success` field and MUST
|
|
71
|
+
* set the `rejected_<signal>` with the number of items it rejected.
|
|
72
|
+
*
|
|
73
|
+
* Servers MAY also make use of the `partial_success` field to convey
|
|
74
|
+
* warnings/suggestions to senders even when the request was fully accepted.
|
|
75
|
+
* In such cases, the `rejected_<signal>` MUST have a value of `0` and
|
|
76
|
+
* the `error_message` MUST be non-empty.
|
|
77
|
+
*
|
|
78
|
+
* A `partial_success` message with an empty value (rejected_<signal> = 0 and
|
|
79
|
+
* `error_message` = "") is equivalent to it not being set/present. Senders
|
|
80
|
+
* SHOULD interpret it the same way as in the full success case.
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: opentelemetry.proto.collector.profiles.v1development.ExportProfilesPartialSuccess partial_success = 1;
|
|
83
|
+
*/
|
|
84
|
+
partialSuccess?: ExportProfilesPartialSuccess;
|
|
85
|
+
|
|
86
|
+
constructor(data?: PartialMessage<ExportProfilesServiceResponse>);
|
|
87
|
+
|
|
88
|
+
static readonly runtime: typeof proto3;
|
|
89
|
+
static readonly typeName = "opentelemetry.proto.collector.profiles.v1development.ExportProfilesServiceResponse";
|
|
90
|
+
static readonly fields: FieldList;
|
|
91
|
+
|
|
92
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExportProfilesServiceResponse;
|
|
93
|
+
|
|
94
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExportProfilesServiceResponse;
|
|
95
|
+
|
|
96
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExportProfilesServiceResponse;
|
|
97
|
+
|
|
98
|
+
static equals(a: ExportProfilesServiceResponse | PlainMessage<ExportProfilesServiceResponse> | undefined, b: ExportProfilesServiceResponse | PlainMessage<ExportProfilesServiceResponse> | undefined): boolean;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @generated from message opentelemetry.proto.collector.profiles.v1development.ExportProfilesPartialSuccess
|
|
103
|
+
*/
|
|
104
|
+
export declare class ExportProfilesPartialSuccess extends Message<ExportProfilesPartialSuccess> {
|
|
105
|
+
/**
|
|
106
|
+
* The number of rejected profiles.
|
|
107
|
+
*
|
|
108
|
+
* A `rejected_<signal>` field holding a `0` value indicates that the
|
|
109
|
+
* request was fully accepted.
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: int64 rejected_profiles = 1;
|
|
112
|
+
*/
|
|
113
|
+
rejectedProfiles: bigint;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* A developer-facing human-readable message in English. It should be used
|
|
117
|
+
* either to explain why the server rejected parts of the data during a partial
|
|
118
|
+
* success or to convey warnings/suggestions during a full success. The message
|
|
119
|
+
* should offer guidance on how users can address such issues.
|
|
120
|
+
*
|
|
121
|
+
* error_message is an optional field. An error_message with an empty value
|
|
122
|
+
* is equivalent to it not being set.
|
|
123
|
+
*
|
|
124
|
+
* @generated from field: string error_message = 2;
|
|
125
|
+
*/
|
|
126
|
+
errorMessage: string;
|
|
127
|
+
|
|
128
|
+
constructor(data?: PartialMessage<ExportProfilesPartialSuccess>);
|
|
129
|
+
|
|
130
|
+
static readonly runtime: typeof proto3;
|
|
131
|
+
static readonly typeName = "opentelemetry.proto.collector.profiles.v1development.ExportProfilesPartialSuccess";
|
|
132
|
+
static readonly fields: FieldList;
|
|
133
|
+
|
|
134
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExportProfilesPartialSuccess;
|
|
135
|
+
|
|
136
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExportProfilesPartialSuccess;
|
|
137
|
+
|
|
138
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExportProfilesPartialSuccess;
|
|
139
|
+
|
|
140
|
+
static equals(a: ExportProfilesPartialSuccess | PlainMessage<ExportProfilesPartialSuccess> | undefined, b: ExportProfilesPartialSuccess | PlainMessage<ExportProfilesPartialSuccess> | undefined): boolean;
|
|
141
|
+
}
|
|
142
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// Copyright 2019, OpenTelemetry Authors
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-connect-es v1.5.0
|
|
16
|
+
// @generated from file opentelemetry/proto/collector/trace/v1/trace_service.proto (package opentelemetry.proto.collector.trace.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { ExportTraceServiceRequest, ExportTraceServiceResponse } from "./trace_service_pb.js";
|
|
21
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Service that can be used to push spans between one Application instrumented with
|
|
25
|
+
* OpenTelemetry and a collector, or between a collector and a central collector (in this
|
|
26
|
+
* case spans are sent/received to/from multiple Applications).
|
|
27
|
+
*
|
|
28
|
+
* @generated from service opentelemetry.proto.collector.trace.v1.TraceService
|
|
29
|
+
*/
|
|
30
|
+
export declare const TraceService: {
|
|
31
|
+
readonly typeName: "opentelemetry.proto.collector.trace.v1.TraceService",
|
|
32
|
+
readonly methods: {
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc opentelemetry.proto.collector.trace.v1.TraceService.Export
|
|
35
|
+
*/
|
|
36
|
+
readonly export: {
|
|
37
|
+
readonly name: "Export",
|
|
38
|
+
readonly I: typeof ExportTraceServiceRequest,
|
|
39
|
+
readonly O: typeof ExportTraceServiceResponse,
|
|
40
|
+
readonly kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
// Copyright 2019, OpenTelemetry Authors
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.0
|
|
16
|
+
// @generated from file opentelemetry/proto/collector/trace/v1/trace_service.proto (package opentelemetry.proto.collector.trace.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
import type { ResourceSpans } from "../../../trace/v1/trace_pb.js";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from message opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest
|
|
26
|
+
*/
|
|
27
|
+
export declare class ExportTraceServiceRequest extends Message<ExportTraceServiceRequest> {
|
|
28
|
+
/**
|
|
29
|
+
* An array of ResourceSpans.
|
|
30
|
+
* For data coming from a single resource this array will typically contain one
|
|
31
|
+
* element. Intermediary nodes (such as OpenTelemetry Collector) that receive
|
|
32
|
+
* data from multiple origins typically batch the data before forwarding further and
|
|
33
|
+
* in that case this array will contain multiple elements.
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: repeated opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;
|
|
36
|
+
*/
|
|
37
|
+
resourceSpans: ResourceSpans[];
|
|
38
|
+
|
|
39
|
+
constructor(data?: PartialMessage<ExportTraceServiceRequest>);
|
|
40
|
+
|
|
41
|
+
static readonly runtime: typeof proto3;
|
|
42
|
+
static readonly typeName = "opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest";
|
|
43
|
+
static readonly fields: FieldList;
|
|
44
|
+
|
|
45
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExportTraceServiceRequest;
|
|
46
|
+
|
|
47
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExportTraceServiceRequest;
|
|
48
|
+
|
|
49
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExportTraceServiceRequest;
|
|
50
|
+
|
|
51
|
+
static equals(a: ExportTraceServiceRequest | PlainMessage<ExportTraceServiceRequest> | undefined, b: ExportTraceServiceRequest | PlainMessage<ExportTraceServiceRequest> | undefined): boolean;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @generated from message opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse
|
|
56
|
+
*/
|
|
57
|
+
export declare class ExportTraceServiceResponse extends Message<ExportTraceServiceResponse> {
|
|
58
|
+
/**
|
|
59
|
+
* The details of a partially successful export request.
|
|
60
|
+
*
|
|
61
|
+
* If the request is only partially accepted
|
|
62
|
+
* (i.e. when the server accepts only parts of the data and rejects the rest)
|
|
63
|
+
* the server MUST initialize the `partial_success` field and MUST
|
|
64
|
+
* set the `rejected_<signal>` with the number of items it rejected.
|
|
65
|
+
*
|
|
66
|
+
* Servers MAY also make use of the `partial_success` field to convey
|
|
67
|
+
* warnings/suggestions to senders even when the request was fully accepted.
|
|
68
|
+
* In such cases, the `rejected_<signal>` MUST have a value of `0` and
|
|
69
|
+
* the `error_message` MUST be non-empty.
|
|
70
|
+
*
|
|
71
|
+
* A `partial_success` message with an empty value (rejected_<signal> = 0 and
|
|
72
|
+
* `error_message` = "") is equivalent to it not being set/present. Senders
|
|
73
|
+
* SHOULD interpret it the same way as in the full success case.
|
|
74
|
+
*
|
|
75
|
+
* @generated from field: opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1;
|
|
76
|
+
*/
|
|
77
|
+
partialSuccess?: ExportTracePartialSuccess;
|
|
78
|
+
|
|
79
|
+
constructor(data?: PartialMessage<ExportTraceServiceResponse>);
|
|
80
|
+
|
|
81
|
+
static readonly runtime: typeof proto3;
|
|
82
|
+
static readonly typeName = "opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse";
|
|
83
|
+
static readonly fields: FieldList;
|
|
84
|
+
|
|
85
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExportTraceServiceResponse;
|
|
86
|
+
|
|
87
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExportTraceServiceResponse;
|
|
88
|
+
|
|
89
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExportTraceServiceResponse;
|
|
90
|
+
|
|
91
|
+
static equals(a: ExportTraceServiceResponse | PlainMessage<ExportTraceServiceResponse> | undefined, b: ExportTraceServiceResponse | PlainMessage<ExportTraceServiceResponse> | undefined): boolean;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* @generated from message opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess
|
|
96
|
+
*/
|
|
97
|
+
export declare class ExportTracePartialSuccess extends Message<ExportTracePartialSuccess> {
|
|
98
|
+
/**
|
|
99
|
+
* The number of rejected spans.
|
|
100
|
+
*
|
|
101
|
+
* A `rejected_<signal>` field holding a `0` value indicates that the
|
|
102
|
+
* request was fully accepted.
|
|
103
|
+
*
|
|
104
|
+
* @generated from field: int64 rejected_spans = 1;
|
|
105
|
+
*/
|
|
106
|
+
rejectedSpans: bigint;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* A developer-facing human-readable message in English. It should be used
|
|
110
|
+
* either to explain why the server rejected parts of the data during a partial
|
|
111
|
+
* success or to convey warnings/suggestions during a full success. The message
|
|
112
|
+
* should offer guidance on how users can address such issues.
|
|
113
|
+
*
|
|
114
|
+
* error_message is an optional field. An error_message with an empty value
|
|
115
|
+
* is equivalent to it not being set.
|
|
116
|
+
*
|
|
117
|
+
* @generated from field: string error_message = 2;
|
|
118
|
+
*/
|
|
119
|
+
errorMessage: string;
|
|
120
|
+
|
|
121
|
+
constructor(data?: PartialMessage<ExportTracePartialSuccess>);
|
|
122
|
+
|
|
123
|
+
static readonly runtime: typeof proto3;
|
|
124
|
+
static readonly typeName = "opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess";
|
|
125
|
+
static readonly fields: FieldList;
|
|
126
|
+
|
|
127
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExportTracePartialSuccess;
|
|
128
|
+
|
|
129
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExportTracePartialSuccess;
|
|
130
|
+
|
|
131
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExportTracePartialSuccess;
|
|
132
|
+
|
|
133
|
+
static equals(a: ExportTracePartialSuccess | PlainMessage<ExportTracePartialSuccess> | undefined, b: ExportTracePartialSuccess | PlainMessage<ExportTracePartialSuccess> | undefined): boolean;
|
|
134
|
+
}
|
|
135
|
+
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
// Copyright 2019, OpenTelemetry Authors
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.0
|
|
16
|
+
// @generated from file opentelemetry/proto/common/v1/common.proto (package opentelemetry.proto.common.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Represents any type of attribute value. AnyValue may contain a
|
|
25
|
+
* primitive value such as a string or integer or it may contain an arbitrary nested
|
|
26
|
+
* object containing arrays, key-value lists and primitives.
|
|
27
|
+
*
|
|
28
|
+
* @generated from message opentelemetry.proto.common.v1.AnyValue
|
|
29
|
+
*/
|
|
30
|
+
export declare class AnyValue extends Message<AnyValue> {
|
|
31
|
+
/**
|
|
32
|
+
* The value is one of the listed fields. It is valid for all values to be unspecified
|
|
33
|
+
* in which case this AnyValue is considered to be "empty".
|
|
34
|
+
*
|
|
35
|
+
* @generated from oneof opentelemetry.proto.common.v1.AnyValue.value
|
|
36
|
+
*/
|
|
37
|
+
value: {
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: string string_value = 1;
|
|
40
|
+
*/
|
|
41
|
+
value: string;
|
|
42
|
+
case: "stringValue";
|
|
43
|
+
} | {
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: bool bool_value = 2;
|
|
46
|
+
*/
|
|
47
|
+
value: boolean;
|
|
48
|
+
case: "boolValue";
|
|
49
|
+
} | {
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: int64 int_value = 3;
|
|
52
|
+
*/
|
|
53
|
+
value: bigint;
|
|
54
|
+
case: "intValue";
|
|
55
|
+
} | {
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: double double_value = 4;
|
|
58
|
+
*/
|
|
59
|
+
value: number;
|
|
60
|
+
case: "doubleValue";
|
|
61
|
+
} | {
|
|
62
|
+
/**
|
|
63
|
+
* @generated from field: opentelemetry.proto.common.v1.ArrayValue array_value = 5;
|
|
64
|
+
*/
|
|
65
|
+
value: ArrayValue;
|
|
66
|
+
case: "arrayValue";
|
|
67
|
+
} | {
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: opentelemetry.proto.common.v1.KeyValueList kvlist_value = 6;
|
|
70
|
+
*/
|
|
71
|
+
value: KeyValueList;
|
|
72
|
+
case: "kvlistValue";
|
|
73
|
+
} | {
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: bytes bytes_value = 7;
|
|
76
|
+
*/
|
|
77
|
+
value: Uint8Array;
|
|
78
|
+
case: "bytesValue";
|
|
79
|
+
} | { case: undefined; value?: undefined };
|
|
80
|
+
|
|
81
|
+
constructor(data?: PartialMessage<AnyValue>);
|
|
82
|
+
|
|
83
|
+
static readonly runtime: typeof proto3;
|
|
84
|
+
static readonly typeName = "opentelemetry.proto.common.v1.AnyValue";
|
|
85
|
+
static readonly fields: FieldList;
|
|
86
|
+
|
|
87
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AnyValue;
|
|
88
|
+
|
|
89
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AnyValue;
|
|
90
|
+
|
|
91
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AnyValue;
|
|
92
|
+
|
|
93
|
+
static equals(a: AnyValue | PlainMessage<AnyValue> | undefined, b: AnyValue | PlainMessage<AnyValue> | undefined): boolean;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* ArrayValue is a list of AnyValue messages. We need ArrayValue as a message
|
|
98
|
+
* since oneof in AnyValue does not allow repeated fields.
|
|
99
|
+
*
|
|
100
|
+
* @generated from message opentelemetry.proto.common.v1.ArrayValue
|
|
101
|
+
*/
|
|
102
|
+
export declare class ArrayValue extends Message<ArrayValue> {
|
|
103
|
+
/**
|
|
104
|
+
* Array of values. The array may be empty (contain 0 elements).
|
|
105
|
+
*
|
|
106
|
+
* @generated from field: repeated opentelemetry.proto.common.v1.AnyValue values = 1;
|
|
107
|
+
*/
|
|
108
|
+
values: AnyValue[];
|
|
109
|
+
|
|
110
|
+
constructor(data?: PartialMessage<ArrayValue>);
|
|
111
|
+
|
|
112
|
+
static readonly runtime: typeof proto3;
|
|
113
|
+
static readonly typeName = "opentelemetry.proto.common.v1.ArrayValue";
|
|
114
|
+
static readonly fields: FieldList;
|
|
115
|
+
|
|
116
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ArrayValue;
|
|
117
|
+
|
|
118
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ArrayValue;
|
|
119
|
+
|
|
120
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ArrayValue;
|
|
121
|
+
|
|
122
|
+
static equals(a: ArrayValue | PlainMessage<ArrayValue> | undefined, b: ArrayValue | PlainMessage<ArrayValue> | undefined): boolean;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* KeyValueList is a list of KeyValue messages. We need KeyValueList as a message
|
|
127
|
+
* since `oneof` in AnyValue does not allow repeated fields. Everywhere else where we need
|
|
128
|
+
* a list of KeyValue messages (e.g. in Span) we use `repeated KeyValue` directly to
|
|
129
|
+
* avoid unnecessary extra wrapping (which slows down the protocol). The 2 approaches
|
|
130
|
+
* are semantically equivalent.
|
|
131
|
+
*
|
|
132
|
+
* @generated from message opentelemetry.proto.common.v1.KeyValueList
|
|
133
|
+
*/
|
|
134
|
+
export declare class KeyValueList extends Message<KeyValueList> {
|
|
135
|
+
/**
|
|
136
|
+
* A collection of key/value pairs of key-value pairs. The list may be empty (may
|
|
137
|
+
* contain 0 elements).
|
|
138
|
+
*
|
|
139
|
+
* The keys MUST be unique (it is not allowed to have more than one
|
|
140
|
+
* value with the same key).
|
|
141
|
+
* The behavior of software that receives duplicated keys can be unpredictable.
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: repeated opentelemetry.proto.common.v1.KeyValue values = 1;
|
|
144
|
+
*/
|
|
145
|
+
values: KeyValue[];
|
|
146
|
+
|
|
147
|
+
constructor(data?: PartialMessage<KeyValueList>);
|
|
148
|
+
|
|
149
|
+
static readonly runtime: typeof proto3;
|
|
150
|
+
static readonly typeName = "opentelemetry.proto.common.v1.KeyValueList";
|
|
151
|
+
static readonly fields: FieldList;
|
|
152
|
+
|
|
153
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): KeyValueList;
|
|
154
|
+
|
|
155
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): KeyValueList;
|
|
156
|
+
|
|
157
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): KeyValueList;
|
|
158
|
+
|
|
159
|
+
static equals(a: KeyValueList | PlainMessage<KeyValueList> | undefined, b: KeyValueList | PlainMessage<KeyValueList> | undefined): boolean;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Represents a key-value pair that is used to store Span attributes, Link
|
|
164
|
+
* attributes, etc.
|
|
165
|
+
*
|
|
166
|
+
* @generated from message opentelemetry.proto.common.v1.KeyValue
|
|
167
|
+
*/
|
|
168
|
+
export declare class KeyValue extends Message<KeyValue> {
|
|
169
|
+
/**
|
|
170
|
+
* The key name of the pair.
|
|
171
|
+
*
|
|
172
|
+
* @generated from field: string key = 1;
|
|
173
|
+
*/
|
|
174
|
+
key: string;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* The value of the pair.
|
|
178
|
+
*
|
|
179
|
+
* @generated from field: opentelemetry.proto.common.v1.AnyValue value = 2;
|
|
180
|
+
*/
|
|
181
|
+
value?: AnyValue;
|
|
182
|
+
|
|
183
|
+
constructor(data?: PartialMessage<KeyValue>);
|
|
184
|
+
|
|
185
|
+
static readonly runtime: typeof proto3;
|
|
186
|
+
static readonly typeName = "opentelemetry.proto.common.v1.KeyValue";
|
|
187
|
+
static readonly fields: FieldList;
|
|
188
|
+
|
|
189
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): KeyValue;
|
|
190
|
+
|
|
191
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): KeyValue;
|
|
192
|
+
|
|
193
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): KeyValue;
|
|
194
|
+
|
|
195
|
+
static equals(a: KeyValue | PlainMessage<KeyValue> | undefined, b: KeyValue | PlainMessage<KeyValue> | undefined): boolean;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* InstrumentationScope is a message representing the instrumentation scope information
|
|
200
|
+
* such as the fully qualified name and version.
|
|
201
|
+
*
|
|
202
|
+
* @generated from message opentelemetry.proto.common.v1.InstrumentationScope
|
|
203
|
+
*/
|
|
204
|
+
export declare class InstrumentationScope extends Message<InstrumentationScope> {
|
|
205
|
+
/**
|
|
206
|
+
* A name denoting the Instrumentation scope.
|
|
207
|
+
* An empty instrumentation scope name means the name is unknown.
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: string name = 1;
|
|
210
|
+
*/
|
|
211
|
+
name: string;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Defines the version of the instrumentation scope.
|
|
215
|
+
* An empty instrumentation scope version means the version is unknown.
|
|
216
|
+
*
|
|
217
|
+
* @generated from field: string version = 2;
|
|
218
|
+
*/
|
|
219
|
+
version: string;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Additional attributes that describe the scope. [Optional].
|
|
223
|
+
* Attribute keys MUST be unique (it is not allowed to have more than one
|
|
224
|
+
* attribute with the same key).
|
|
225
|
+
* The behavior of software that receives duplicated keys can be unpredictable.
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: repeated opentelemetry.proto.common.v1.KeyValue attributes = 3;
|
|
228
|
+
*/
|
|
229
|
+
attributes: KeyValue[];
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* The number of attributes that were discarded. Attributes
|
|
233
|
+
* can be discarded because their keys are too long or because there are too many
|
|
234
|
+
* attributes. If this value is 0, then no attributes were dropped.
|
|
235
|
+
*
|
|
236
|
+
* @generated from field: uint32 dropped_attributes_count = 4;
|
|
237
|
+
*/
|
|
238
|
+
droppedAttributesCount: number;
|
|
239
|
+
|
|
240
|
+
constructor(data?: PartialMessage<InstrumentationScope>);
|
|
241
|
+
|
|
242
|
+
static readonly runtime: typeof proto3;
|
|
243
|
+
static readonly typeName = "opentelemetry.proto.common.v1.InstrumentationScope";
|
|
244
|
+
static readonly fields: FieldList;
|
|
245
|
+
|
|
246
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InstrumentationScope;
|
|
247
|
+
|
|
248
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InstrumentationScope;
|
|
249
|
+
|
|
250
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InstrumentationScope;
|
|
251
|
+
|
|
252
|
+
static equals(a: InstrumentationScope | PlainMessage<InstrumentationScope> | undefined, b: InstrumentationScope | PlainMessage<InstrumentationScope> | undefined): boolean;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* A reference to an Entity.
|
|
257
|
+
* Entity represents an object of interest associated with produced telemetry: e.g spans, metrics, profiles, or logs.
|
|
258
|
+
*
|
|
259
|
+
* Status: [Development]
|
|
260
|
+
*
|
|
261
|
+
* @generated from message opentelemetry.proto.common.v1.EntityRef
|
|
262
|
+
*/
|
|
263
|
+
export declare class EntityRef extends Message<EntityRef> {
|
|
264
|
+
/**
|
|
265
|
+
* The Schema URL, if known. This is the identifier of the Schema that the entity data
|
|
266
|
+
* is recorded in. To learn more about Schema URL see
|
|
267
|
+
* https://opentelemetry.io/docs/specs/otel/schemas/#schema-url
|
|
268
|
+
*
|
|
269
|
+
* This schema_url applies to the data in this message and to the Resource attributes
|
|
270
|
+
* referenced by id_keys and description_keys.
|
|
271
|
+
* TODO: discuss if we are happy with this somewhat complicated definition of what
|
|
272
|
+
* the schema_url applies to.
|
|
273
|
+
*
|
|
274
|
+
* This field obsoletes the schema_url field in ResourceMetrics/ResourceSpans/ResourceLogs.
|
|
275
|
+
*
|
|
276
|
+
* @generated from field: string schema_url = 1;
|
|
277
|
+
*/
|
|
278
|
+
schemaUrl: string;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Defines the type of the entity. MUST not change during the lifetime of the entity.
|
|
282
|
+
* For example: "service" or "host". This field is required and MUST not be empty
|
|
283
|
+
* for valid entities.
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: string type = 2;
|
|
286
|
+
*/
|
|
287
|
+
type: string;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Attribute Keys that identify the entity.
|
|
291
|
+
* MUST not change during the lifetime of the entity. The Id must contain at least one attribute.
|
|
292
|
+
* These keys MUST exist in the containing {message}.attributes.
|
|
293
|
+
*
|
|
294
|
+
* @generated from field: repeated string id_keys = 3;
|
|
295
|
+
*/
|
|
296
|
+
idKeys: string[];
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Descriptive (non-identifying) attribute keys of the entity.
|
|
300
|
+
* MAY change over the lifetime of the entity. MAY be empty.
|
|
301
|
+
* These attribute keys are not part of entity's identity.
|
|
302
|
+
* These keys MUST exist in the containing {message}.attributes.
|
|
303
|
+
*
|
|
304
|
+
* @generated from field: repeated string description_keys = 4;
|
|
305
|
+
*/
|
|
306
|
+
descriptionKeys: string[];
|
|
307
|
+
|
|
308
|
+
constructor(data?: PartialMessage<EntityRef>);
|
|
309
|
+
|
|
310
|
+
static readonly runtime: typeof proto3;
|
|
311
|
+
static readonly typeName = "opentelemetry.proto.common.v1.EntityRef";
|
|
312
|
+
static readonly fields: FieldList;
|
|
313
|
+
|
|
314
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EntityRef;
|
|
315
|
+
|
|
316
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EntityRef;
|
|
317
|
+
|
|
318
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EntityRef;
|
|
319
|
+
|
|
320
|
+
static equals(a: EntityRef | PlainMessage<EntityRef> | undefined, b: EntityRef | PlainMessage<EntityRef> | undefined): boolean;
|
|
321
|
+
}
|
|
322
|
+
|