@dxos/protocols 0.3.3-main.f2ca85a → 0.3.3-main.f990aad
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/cjs/src/proto/gen/dxos/tracing.d.ts +23 -0
- package/dist/cjs/src/proto/gen/dxos/tracing.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/index.d.ts +2 -0
- package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/index.js +1 -1
- package/dist/cjs/src/proto/gen/index.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/proto/gen/dxos/tracing.d.ts +23 -0
- package/dist/esm/src/proto/gen/dxos/tracing.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/index.d.ts +2 -0
- package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/index.js +1 -1
- package/dist/esm/src/proto/gen/index.js.map +1 -1
- package/package.json +5 -5
- package/src/proto/dxos/tracing.proto +11 -0
- package/src/proto/gen/dxos/tracing.ts +23 -0
- package/src/proto/gen/index.ts +3 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAyDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAyDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA+f7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,ms7FAAms7F,CAAC,CAAC,CAAC;AAC5v7F,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAkB,UAAU,EAAE,aAAa,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/protocols",
|
|
3
|
-
"version": "0.3.3-main.
|
|
3
|
+
"version": "0.3.3-main.f990aad",
|
|
4
4
|
"description": "Protobuf definitions for DXOS protocols.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"src"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@dxos/
|
|
37
|
-
"@dxos/
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/
|
|
36
|
+
"@dxos/codec-protobuf": "0.3.3-main.f990aad",
|
|
37
|
+
"@dxos/invariant": "0.3.3-main.f990aad",
|
|
38
|
+
"@dxos/keys": "0.3.3-main.f990aad",
|
|
39
|
+
"@dxos/timeframe": "0.3.3-main.f990aad"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"glob": "~7.1.6"
|
|
@@ -72,6 +72,16 @@ message Metric {
|
|
|
72
72
|
optional string units = 2;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
+
message MultiCounter {
|
|
76
|
+
message Record {
|
|
77
|
+
string key = 1;
|
|
78
|
+
double value = 2;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
repeated Record records = 1;
|
|
82
|
+
optional string units = 2;
|
|
83
|
+
}
|
|
84
|
+
|
|
75
85
|
message TimeSeries {
|
|
76
86
|
message Point {
|
|
77
87
|
double value = 1;
|
|
@@ -96,6 +106,7 @@ message Metric {
|
|
|
96
106
|
oneof Value {
|
|
97
107
|
Counter counter = 100;
|
|
98
108
|
TimeSeries time_series = 101;
|
|
109
|
+
MultiCounter multi_counter = 102;
|
|
99
110
|
Custom custom = 199;
|
|
100
111
|
}
|
|
101
112
|
}
|
|
@@ -163,6 +163,7 @@ export interface Metric {
|
|
|
163
163
|
name: string;
|
|
164
164
|
counter?: Metric.Counter;
|
|
165
165
|
timeSeries?: Metric.TimeSeries;
|
|
166
|
+
multiCounter?: Metric.MultiCounter;
|
|
166
167
|
custom?: Metric.Custom;
|
|
167
168
|
}
|
|
168
169
|
export namespace Metric {
|
|
@@ -178,6 +179,28 @@ export namespace Metric {
|
|
|
178
179
|
*/
|
|
179
180
|
units?: string;
|
|
180
181
|
}
|
|
182
|
+
/**
|
|
183
|
+
* Defined in:
|
|
184
|
+
* {@link file://./../../dxos/tracing.proto}
|
|
185
|
+
*/
|
|
186
|
+
export interface MultiCounter {
|
|
187
|
+
records?: Metric.MultiCounter.Record[];
|
|
188
|
+
/**
|
|
189
|
+
* Options:
|
|
190
|
+
* - proto3_optional = true
|
|
191
|
+
*/
|
|
192
|
+
units?: string;
|
|
193
|
+
}
|
|
194
|
+
export namespace MultiCounter {
|
|
195
|
+
/**
|
|
196
|
+
* Defined in:
|
|
197
|
+
* {@link file://./../../dxos/tracing.proto}
|
|
198
|
+
*/
|
|
199
|
+
export interface Record {
|
|
200
|
+
key: string;
|
|
201
|
+
value: number;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
181
204
|
/**
|
|
182
205
|
* Defined in:
|
|
183
206
|
* {@link file://./../../dxos/tracing.proto}
|