@gitpod/ide-metrics-api-grpc 0.0.1-pd-logging-api.0 → 0.0.1-pd-sf-error-report.6
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/idemetrics_pb.d.ts +6 -0
- package/lib/idemetrics_pb.js +61 -1
- package/package.json +1 -1
- package/pkg-yarn.lock +1 -1
- package/provenance-bundle.jsonl +2 -2
package/lib/idemetrics_pb.d.ts
CHANGED
@@ -112,6 +112,10 @@ export class ReportErrorRequest extends jspb.Message {
|
|
112
112
|
|
113
113
|
getPropertiesMap(): jspb.Map<string, string>;
|
114
114
|
clearPropertiesMap(): void;
|
115
|
+
getName(): string;
|
116
|
+
setName(value: string): ReportErrorRequest;
|
117
|
+
getMessage(): string;
|
118
|
+
setMessage(value: string): ReportErrorRequest;
|
115
119
|
|
116
120
|
serializeBinary(): Uint8Array;
|
117
121
|
toObject(includeInstance?: boolean): ReportErrorRequest.AsObject;
|
@@ -133,6 +137,8 @@ export namespace ReportErrorRequest {
|
|
133
137
|
instanceId: string,
|
134
138
|
|
135
139
|
propertiesMap: Array<[string, string]>,
|
140
|
+
name: string,
|
141
|
+
message: string,
|
136
142
|
}
|
137
143
|
}
|
138
144
|
|
package/lib/idemetrics_pb.js
CHANGED
@@ -773,7 +773,9 @@ proto.ide_metrics_api.ReportErrorRequest.toObject = function(includeInstance, ms
|
|
773
773
|
userId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
774
774
|
workspaceId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
775
775
|
instanceId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
776
|
-
propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, undefined) : []
|
776
|
+
propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, undefined) : [],
|
777
|
+
name: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
778
|
+
message: jspb.Message.getFieldWithDefault(msg, 9, "")
|
777
779
|
};
|
778
780
|
|
779
781
|
if (includeInstance) {
|
@@ -840,6 +842,14 @@ proto.ide_metrics_api.ReportErrorRequest.deserializeBinaryFromReader = function(
|
|
840
842
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
841
843
|
});
|
842
844
|
break;
|
845
|
+
case 8:
|
846
|
+
var value = /** @type {string} */ (reader.readString());
|
847
|
+
msg.setName(value);
|
848
|
+
break;
|
849
|
+
case 9:
|
850
|
+
var value = /** @type {string} */ (reader.readString());
|
851
|
+
msg.setMessage(value);
|
852
|
+
break;
|
843
853
|
default:
|
844
854
|
reader.skipField();
|
845
855
|
break;
|
@@ -915,6 +925,20 @@ proto.ide_metrics_api.ReportErrorRequest.serializeBinaryToWriter = function(mess
|
|
915
925
|
if (f && f.getLength() > 0) {
|
916
926
|
f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
917
927
|
}
|
928
|
+
f = message.getName();
|
929
|
+
if (f.length > 0) {
|
930
|
+
writer.writeString(
|
931
|
+
8,
|
932
|
+
f
|
933
|
+
);
|
934
|
+
}
|
935
|
+
f = message.getMessage();
|
936
|
+
if (f.length > 0) {
|
937
|
+
writer.writeString(
|
938
|
+
9,
|
939
|
+
f
|
940
|
+
);
|
941
|
+
}
|
918
942
|
};
|
919
943
|
|
920
944
|
|
@@ -1048,6 +1072,42 @@ proto.ide_metrics_api.ReportErrorRequest.prototype.clearPropertiesMap = function
|
|
1048
1072
|
return this;};
|
1049
1073
|
|
1050
1074
|
|
1075
|
+
/**
|
1076
|
+
* optional string name = 8;
|
1077
|
+
* @return {string}
|
1078
|
+
*/
|
1079
|
+
proto.ide_metrics_api.ReportErrorRequest.prototype.getName = function() {
|
1080
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
1081
|
+
};
|
1082
|
+
|
1083
|
+
|
1084
|
+
/**
|
1085
|
+
* @param {string} value
|
1086
|
+
* @return {!proto.ide_metrics_api.ReportErrorRequest} returns this
|
1087
|
+
*/
|
1088
|
+
proto.ide_metrics_api.ReportErrorRequest.prototype.setName = function(value) {
|
1089
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
1090
|
+
};
|
1091
|
+
|
1092
|
+
|
1093
|
+
/**
|
1094
|
+
* optional string message = 9;
|
1095
|
+
* @return {string}
|
1096
|
+
*/
|
1097
|
+
proto.ide_metrics_api.ReportErrorRequest.prototype.getMessage = function() {
|
1098
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
1099
|
+
};
|
1100
|
+
|
1101
|
+
|
1102
|
+
/**
|
1103
|
+
* @param {string} value
|
1104
|
+
* @return {!proto.ide_metrics_api.ReportErrorRequest} returns this
|
1105
|
+
*/
|
1106
|
+
proto.ide_metrics_api.ReportErrorRequest.prototype.setMessage = function(value) {
|
1107
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
1108
|
+
};
|
1109
|
+
|
1110
|
+
|
1051
1111
|
|
1052
1112
|
|
1053
1113
|
|
package/package.json
CHANGED
package/pkg-yarn.lock
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
"@gitpod/ide-metrics-api-grpc@0.0.1":
|
6
6
|
version "0.0.1"
|
7
|
-
resolved "file:///tmp/cache/
|
7
|
+
resolved "file:///tmp/cache/113344a99873de1bbf978e1c226acffb326c36c0.tar.gz"
|
8
8
|
dependencies:
|
9
9
|
"@grpc/grpc-js" "^1.3.7"
|
10
10
|
google-protobuf "^3.19.1"
|
package/provenance-bundle.jsonl
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
{"payloadType":"application/vnd.in-toto+json","payload":"
|
1
|
+
{"payloadType":"application/vnd.in-toto+json","payload":"ewogICJfdHlwZSI6ICJodHRwczovL2luLXRvdG8uaW8vU3RhdGVtZW50L3YwLjEiLAogICJwcmVkaWNhdGVUeXBlIjogImh0dHBzOi8vc2xzYS5kZXYvcHJvdmVuYW5jZS92MC4xIiwKICAic3ViamVjdCI6IFtdLAogICJ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QSV9UT0tFTj1kZWExMGM4ZmI1ODc1NWZkNTFhYjk5NmNjYmFhYjg5NjJmNWU5MDZhYjQ0MTJhZTY3Nzk5NmVhNzRlODVhZTM1IiwKICAgICAgICAiLURSRVBMSUNBVEVEX0FQUD1naXRwb2QiLAogICAgICAgICItRG5wbVB1Ymxpc2hUcmlnZ2VyPWZhbHNlIiwKICAgICAgICAiLURqYk1hcmtldHBsYWNlUHVibGlzaFRyaWdnZXI9ZmFsc2UiCiAgICAgIF0sCiAgICAgICJlbnZpcm9ubWVudCI6IHsKICAgICAgICAibWFuaWZlc3QiOiB7CiAgICAgICAgICAiYXJjaCI6ICJhbWQ2NCIsCiAgICAgICAgICAiZ28iOiAiZ28gdmVyc2lvbiBnbzEuMTkgbGludXgvYW1kNjQiLAogICAgICAgICAgIm5vZGUiOiAidjE2LjE2LjAiLAogICAgICAgICAgIm9zIjogImxpbnV4IiwKICAgICAgICAgICJ5YXJuIjogIjEuMjIuMTkiCiAgICAgICAgfQogICAgICB9CiAgICB9LAogICAgIm1ldGFkYXRhIjogewogICAgICAiYnVpbGRTdGFydGVkT24iOiAiMjAyMi0wOS0xNFQxNDoxMjowMi45MDM5MTMzNzhaIiwKICAgICAgImJ1aWxkRmluaXNoZWRPbiI6ICIyMDIyLTA5LTE0VDE0OjEyOjAyLjkwNTM3MTE0NloiLAogICAgICAiY29tcGxldGVuZXNzIjogewogICAgICAgICJhcmd1bWVudHMiOiB0cnVlLAogICAgICAgICJlbnZpcm9ubWVudCI6IGZhbHNlLAogICAgICAgICJtYXRlcmlhbHMiOiB0cnVlCiAgICAgIH0sCiAgICAgICJyZXByb2R1Y2libGUiOiBmYWxzZQogICAgfSwKICAgICJtYXRlcmlhbHMiOiBbCiAgICAgIHsKICAgICAgICAidXJpIjogImdpdCtodHRwczovL2dpdGh1Yi5jb20vZ2l0cG9kLWlvL2dpdHBvZC5naXQiLAogICAgICAgICJkaWdlc3QiOiB7CiAgICAgICAgICAic2hhMjU2IjogImJmZmU2NzAwOThmNjViNmI3NDRiOWU2MGQ0YjNjNzBlYjhmNmZjYTIiCiAgICAgICAgfQogICAgICB9CiAgICBdCiAgfQp9","signatures":null}
|
2
2
|
|
3
|
-
{"payloadType":"application/vnd.in-toto+json","payload":"
|
3
|
+
{"payloadType":"application/vnd.in-toto+json","payload":"ewogICJfdHlwZSI6ICJodHRwczovL2luLXRvdG8uaW8vU3RhdGVtZW50L3YwLjEiLAogICJwcmVkaWNhdGVUeXBlIjogImh0dHBzOi8vc2xzYS5kZXYvcHJvdmVuYW5jZS92MC4xIiwKICAic3ViamVjdCI6IFsKICAgIHsKICAgICAgIm5hbWUiOiAiL2NvbXBvbmVudHMtaWRlLW1ldHJpY3MtYXBpLS1wcm90by90aGlyZF9wYXJ0eS9nb29nbGUvYXBpL2Fubm90YXRpb25zLnByb3RvIiwKICAgICAgImRpZ2VzdCI6IHsKICAgICAgICAic2hhMjU2IjogImJmZjdjNDdiNzhiZDI1ZDM0ZTcwZWZjMDZmNDk3NjRlYzI0ZjU1ZTY2NTA2N2I5YmU0OWU1M2U4MjUyNTBjZTgiCiAgICAgIH0KICAgIH0sCiAgICB7CiAgICAgICJuYW1lIjogIi9jb21wb25lbnRzLWlkZS1tZXRyaWNzLWFwaS0tcHJvdG8vdGhpcmRfcGFydHkvZ29vZ2xlL2FwaS9odHRwLnByb3RvIiwKICAgICAgImRpZ2VzdCI6IHsKICAgICAgICAic2hhMjU2IjogIjMxOGQ4NjkzMzE2MDAzZDljNmEyODljOWI0ODhkYWM2MjZlYmJhODE5MmE1MDdhMGViNjZjZjJmODYyN2FiOTMiCiAgICAgIH0KICAgIH0sCiAgICB7CiAgICAgICJuYW1lIjogIi9jb21wb25lbnRzLWlkZS1tZXRyaWNzLWFwaS0tcHJvdG8vaWRlbWV0cmljcy5wcm90byIsCiAgICAgICJkaWdlc3QiOiB7CiAgICAgICAgInNoYTI1NiI6ICI0OTk5YzczMDMzYzg2YjJhYTk2Mjk3M2NkZTJiNGIzZWU5ZD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AgICAgICAgImdvIjogImdvIHZlcnNpb24gZ28xLjE5IGxpbnV4L2FtZDY0IiwKICAgICAgICAgICJub2RlIjogInYxNi4xNi4wIiwKICAgICAgICAgICJvcyI6ICJsaW51eCIsCiAgICAgICAgICAieWFybiI6ICIxLjIyLjE5IgogICAgICAgIH0KICAgICAgfQogICAgfSwKICAgICJtZXRhZGF0YSI6IHsKICAgICAgImJ1aWxkU3RhcnRlZE9uIjogIjIwMjItMDktMTRUMTQ6MTI6MDIuOTE0MTgzNzVaIiwKICAgICAgImJ1aWxkRmluaXNoZWRPbiI6ICIyMDIyLTA5LTE0VDE0OjEyOjE2LjM5NDQwMDI5NFoiLAogICAgICAiY29tcGxldGVuZXNzIjogewogICAgICAgICJhcmd1bWVudHMiOiB0cnVlLAogICAgICAgICJlbnZpcm9ubWVudCI6IGZhbHNlLAogICAgICAgICJtYXRlcmlhbHMiOiB0cnVlCiAgICAgIH0sCiAgICAgICJyZXByb2R1Y2libGUiOiBmYWxzZQogICAgfSwKICAgICJtYXRlcmlhbHMiOiBbCiAgICAgIHsKICAgICAgICAidXJpIjogImdpdCtodHRwczovL2dpdGh1Yi5jb20vZ2l0cG9kLWlvL2dpdHBvZC5naXQiLAogICAgICAgICJkaWdlc3QiOiB7CiAgICAgICAgICAic2hhMjU2IjogImJmZmU2NzAwOThmNjViNmI3NDRiOWU2MGQ0YjNjNzBlYjhmNmZjYTIiCiAgICAgICAgfQogICAgICB9CiAgICBdCiAgfQp9","signatures":null}
|
4
4
|
|