catocli 3.0.10__py3-none-any.whl → 3.0.12__py3-none-any.whl
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.
Potentially problematic release.
This version of catocli might be problematic. Click here for more details.
- catocli/Utils/clidriver.py +2 -2
- catocli/Utils/graphql_utils.py +15 -5
- catocli/Utils/help_formatter.py +50 -15
- catocli/__init__.py +1 -1
- catocli/parsers/custom/__init__.py +1 -1
- catocli/parsers/custom/customLib.py +3 -1
- catocli/parsers/mutation_groups_createGroup/README.md +39 -1
- catocli/parsers/mutation_groups_deleteGroup/README.md +39 -1
- catocli/parsers/mutation_groups_updateGroup/README.md +39 -1
- catocli/parsers/query_accountMetrics/README.md +29 -2
- catocli/parsers/query_accountSnapshot/README.md +16 -0
- catocli/parsers/query_appStats/README.md +11 -1
- catocli/parsers/query_appStatsTimeSeries/README.md +16 -2
- catocli/parsers/query_auditFeed/README.md +3 -1
- catocli/parsers/query_catalogs/README.md +178 -0
- catocli/parsers/query_container/README.md +49 -0
- catocli/parsers/query_devices/README.md +728 -0
- catocli/parsers/query_enterpriseDirectory/README.md +83 -0
- catocli/parsers/query_events/README.md +5 -1
- catocli/parsers/query_eventsTimeSeries/README.md +10 -2
- catocli/parsers/query_groups_groupList/README.md +39 -1
- catocli/parsers/query_hardware/README.md +153 -0
- catocli/parsers/query_hardwareManagement/README.md +56 -0
- catocli/parsers/query_popLocations/README.md +63 -0
- catocli/parsers/query_sandbox/README.md +69 -0
- catocli/parsers/query_socketPortMetrics/README.md +5 -1
- catocli/parsers/query_socketPortMetricsTimeSeries/README.md +10 -2
- catocli/parsers/query_xdr_stories/README.md +7 -2
- {catocli-3.0.10.dist-info → catocli-3.0.12.dist-info}/METADATA +1 -1
- {catocli-3.0.10.dist-info → catocli-3.0.12.dist-info}/RECORD +59 -59
- models/mutation.accountManagement.disableAccount.json +2 -2
- models/mutation.accountManagement.removeAccount.json +2 -2
- models/mutation.groups.createGroup.json +810 -0
- models/mutation.groups.deleteGroup.json +810 -0
- models/mutation.groups.updateGroup.json +810 -0
- models/query.accountMetrics.json +333 -1
- models/query.accountSnapshot.json +50 -1
- models/query.appStats.json +38 -0
- models/query.appStatsTimeSeries.json +78 -1
- models/query.auditFeed.json +105 -0
- models/query.catalogs.json +2708 -1
- models/query.container.json +793 -1
- models/query.devices.json +10338 -1
- models/query.enterpriseDirectory.json +1315 -1
- models/query.events.json +38 -0
- models/query.eventsFeed.json +1587 -0
- models/query.eventsTimeSeries.json +78 -1
- models/query.groups.groupList.json +810 -0
- models/query.hardware.json +2333 -1
- models/query.hardwareManagement.json +1086 -1
- models/query.popLocations.json +1172 -1
- models/query.sandbox.json +825 -1
- models/query.socketPortMetrics.json +38 -0
- models/query.socketPortMetricsTimeSeries.json +78 -1
- schema/catolib.py +107 -37
- {catocli-3.0.10.dist-info → catocli-3.0.12.dist-info}/WHEEL +0 -0
- {catocli-3.0.10.dist-info → catocli-3.0.12.dist-info}/entry_points.txt +0 -0
- {catocli-3.0.10.dist-info → catocli-3.0.12.dist-info}/licenses/LICENSE +0 -0
- {catocli-3.0.10.dist-info → catocli-3.0.12.dist-info}/top_level.txt +0 -0
models/query.accountMetrics.json
CHANGED
|
@@ -98,6 +98,24 @@
|
|
|
98
98
|
},
|
|
99
99
|
"varName": "accountID"
|
|
100
100
|
},
|
|
101
|
+
"buckets": {
|
|
102
|
+
"defaultValue": null,
|
|
103
|
+
"description": "number of buckets, defaults to 10, max 1000",
|
|
104
|
+
"id_str": "timeseries___buckets",
|
|
105
|
+
"name": "buckets",
|
|
106
|
+
"path": "timeseries.buckets",
|
|
107
|
+
"requestStr": "$buckets:Int ",
|
|
108
|
+
"required": false,
|
|
109
|
+
"responseStr": "buckets:$buckets ",
|
|
110
|
+
"type": {
|
|
111
|
+
"kind": [
|
|
112
|
+
"SCALAR"
|
|
113
|
+
],
|
|
114
|
+
"name": "Int",
|
|
115
|
+
"non_null": false
|
|
116
|
+
},
|
|
117
|
+
"varName": "buckets"
|
|
118
|
+
},
|
|
101
119
|
"groupDevices": {
|
|
102
120
|
"defaultValue": null,
|
|
103
121
|
"description": "When the boolean argument groupDevices is set to __true__, then the analytics for all the\nSockets (usually two in high availability) are aggregated as one result.\n\nFor the best results for aggregated Sockets, we recommend that there is consistent\nnames and functionality (for example Destination) for the links on both Sockets.",
|
|
@@ -134,6 +152,208 @@
|
|
|
134
152
|
},
|
|
135
153
|
"varName": "groupInterfaces"
|
|
136
154
|
},
|
|
155
|
+
"labels": {
|
|
156
|
+
"defaultValue": null,
|
|
157
|
+
"description": null,
|
|
158
|
+
"id_str": "timeseries___labels",
|
|
159
|
+
"name": "labels",
|
|
160
|
+
"path": "timeseries.labels",
|
|
161
|
+
"requestStr": "$labels:[TimeseriesMetricType!] ",
|
|
162
|
+
"required": false,
|
|
163
|
+
"responseStr": "labels:$labels ",
|
|
164
|
+
"type": {
|
|
165
|
+
"definition": {
|
|
166
|
+
"description": null,
|
|
167
|
+
"enumValues": [
|
|
168
|
+
{
|
|
169
|
+
"deprecationReason": null,
|
|
170
|
+
"description": "Total avg upstream traffic (from the site to the Cato Cloud)",
|
|
171
|
+
"isDeprecated": false,
|
|
172
|
+
"name": "bytesUpstream"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"deprecationReason": null,
|
|
176
|
+
"description": "Total avg downstream traffic (from the Cato Cloud to the site)",
|
|
177
|
+
"isDeprecated": false,
|
|
178
|
+
"name": "bytesDownstream"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"deprecationReason": null,
|
|
182
|
+
"description": "Total max upstream traffic (from the site to the Cato Cloud)",
|
|
183
|
+
"isDeprecated": false,
|
|
184
|
+
"name": "bytesUpstreamMax"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"deprecationReason": null,
|
|
188
|
+
"description": "Total max downstream traffic (from the site to the Cato Cloud)",
|
|
189
|
+
"isDeprecated": false,
|
|
190
|
+
"name": "bytesDownstreamMax"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"deprecationReason": null,
|
|
194
|
+
"description": "Total upstream packets",
|
|
195
|
+
"isDeprecated": false,
|
|
196
|
+
"name": "packetsUpstream"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"deprecationReason": null,
|
|
200
|
+
"description": "Total downstream packets",
|
|
201
|
+
"isDeprecated": false,
|
|
202
|
+
"name": "packetsDownstream"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"deprecationReason": null,
|
|
206
|
+
"description": "Number of packets lost for upstream traffic",
|
|
207
|
+
"isDeprecated": false,
|
|
208
|
+
"name": "lostUpstream"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"deprecationReason": null,
|
|
212
|
+
"description": "Number of packets lost for downstream traffic",
|
|
213
|
+
"isDeprecated": false,
|
|
214
|
+
"name": "lostDownstream"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"deprecationReason": null,
|
|
218
|
+
"description": "Percent of packet loss for upstream traffic",
|
|
219
|
+
"isDeprecated": false,
|
|
220
|
+
"name": "lostUpstreamPcnt"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"deprecationReason": null,
|
|
224
|
+
"description": "Percent of packet loss for downstream traffic",
|
|
225
|
+
"isDeprecated": false,
|
|
226
|
+
"name": "lostDownstreamPcnt"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"deprecationReason": null,
|
|
230
|
+
"description": "Total packets discarded for downstream traffic",
|
|
231
|
+
"isDeprecated": false,
|
|
232
|
+
"name": "packetsDiscardedDownstream"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"deprecationReason": null,
|
|
236
|
+
"description": "Total packets discarded for upstream traffic",
|
|
237
|
+
"isDeprecated": false,
|
|
238
|
+
"name": "packetsDiscardedUpstream"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"deprecationReason": null,
|
|
242
|
+
"description": "Percent packets discarded for upstream traffic",
|
|
243
|
+
"isDeprecated": false,
|
|
244
|
+
"name": "packetsDiscardedUpstreamPcnt"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"deprecationReason": null,
|
|
248
|
+
"description": "Percent packets discarded for downstream traffic",
|
|
249
|
+
"isDeprecated": false,
|
|
250
|
+
"name": "packetsDiscardedDownstreamPcnt"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"deprecationReason": null,
|
|
254
|
+
"description": "Jitter for upstream traffic (difference in time delay in milliseconds (ms) between data packets)",
|
|
255
|
+
"isDeprecated": false,
|
|
256
|
+
"name": "jitterUpstream"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"deprecationReason": null,
|
|
260
|
+
"description": "Jitter for downstream traffic (difference in time delay in milliseconds (ms) between data packets)",
|
|
261
|
+
"isDeprecated": false,
|
|
262
|
+
"name": "jitterDownstream"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"deprecationReason": null,
|
|
266
|
+
"description": "Total number of bytes of upstream and downstream traffic",
|
|
267
|
+
"isDeprecated": false,
|
|
268
|
+
"name": "bytesTotal"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"deprecationReason": null,
|
|
272
|
+
"description": "Round-trip time from the Socket to the Cato Cloud",
|
|
273
|
+
"isDeprecated": false,
|
|
274
|
+
"name": "rtt"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"deprecationReason": "No longer supported",
|
|
278
|
+
"description": "Health analytics for the site",
|
|
279
|
+
"isDeprecated": true,
|
|
280
|
+
"name": "health"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"deprecationReason": null,
|
|
284
|
+
"description": "The age of the physical tunnel in milliseconds (It is zeroed even on transparent reconnect)",
|
|
285
|
+
"isDeprecated": false,
|
|
286
|
+
"name": "tunnelAge"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"deprecationReason": null,
|
|
290
|
+
"description": "Packet loss from socket directly to a well known global services, not through Cato This is used to measure last\nmile provider's performance, independent of the service.",
|
|
291
|
+
"isDeprecated": false,
|
|
292
|
+
"name": "lastMilePacketLoss"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"deprecationReason": null,
|
|
296
|
+
"description": "Latency from socket directly to a well known global service, not through Cato. This is used to measure last\nmile provider's performance, independent of the service.",
|
|
297
|
+
"isDeprecated": false,
|
|
298
|
+
"name": "lastMileLatency"
|
|
299
|
+
}
|
|
300
|
+
],
|
|
301
|
+
"fields": null,
|
|
302
|
+
"inputFields": null,
|
|
303
|
+
"interfaces": null,
|
|
304
|
+
"kind": "ENUM",
|
|
305
|
+
"name": "TimeseriesMetricType",
|
|
306
|
+
"possibleTypes": null
|
|
307
|
+
},
|
|
308
|
+
"indexType": "enum",
|
|
309
|
+
"kind": [
|
|
310
|
+
"LIST",
|
|
311
|
+
"NON_NULL",
|
|
312
|
+
"ENUM"
|
|
313
|
+
],
|
|
314
|
+
"name": "TimeseriesMetricType",
|
|
315
|
+
"non_null": false
|
|
316
|
+
},
|
|
317
|
+
"varName": "labels"
|
|
318
|
+
},
|
|
319
|
+
"perSecond": {
|
|
320
|
+
"defaultValue": "true",
|
|
321
|
+
"description": "whether to normalize the data into per second (i.e. divide by granularity)",
|
|
322
|
+
"id_str": "data___perSecond",
|
|
323
|
+
"name": "perSecond",
|
|
324
|
+
"path": "data.perSecond",
|
|
325
|
+
"requestStr": "$perSecond:Boolean ",
|
|
326
|
+
"required": false,
|
|
327
|
+
"responseStr": "perSecond:$perSecond ",
|
|
328
|
+
"type": {
|
|
329
|
+
"kind": [
|
|
330
|
+
"SCALAR"
|
|
331
|
+
],
|
|
332
|
+
"name": "Boolean",
|
|
333
|
+
"non_null": false
|
|
334
|
+
},
|
|
335
|
+
"varName": "perSecond"
|
|
336
|
+
},
|
|
337
|
+
"siteIDs": {
|
|
338
|
+
"defaultValue": null,
|
|
339
|
+
"description": "A list of unique IDs for each site. If specified, only sites in this list are returned. Otherwise, all sites are returned.",
|
|
340
|
+
"id_str": "sites___siteIDs",
|
|
341
|
+
"name": "siteIDs",
|
|
342
|
+
"path": "sites.siteIDs",
|
|
343
|
+
"requestStr": "$siteIDs:[ID!] ",
|
|
344
|
+
"required": false,
|
|
345
|
+
"responseStr": "siteIDs:$siteIDs ",
|
|
346
|
+
"type": {
|
|
347
|
+
"kind": [
|
|
348
|
+
"LIST",
|
|
349
|
+
"NON_NULL",
|
|
350
|
+
"SCALAR"
|
|
351
|
+
],
|
|
352
|
+
"name": "ID",
|
|
353
|
+
"non_null": false
|
|
354
|
+
},
|
|
355
|
+
"varName": "siteIDs"
|
|
356
|
+
},
|
|
137
357
|
"timeFrame": {
|
|
138
358
|
"defaultValue": null,
|
|
139
359
|
"description": "The time frame for the data that the query returns. The argument is in the format type.time value. This argument is mandatory.",
|
|
@@ -152,6 +372,100 @@
|
|
|
152
372
|
"non_null": false
|
|
153
373
|
},
|
|
154
374
|
"varName": "timeFrame"
|
|
375
|
+
},
|
|
376
|
+
"toRate": {
|
|
377
|
+
"defaultValue": "false",
|
|
378
|
+
"description": "Normalize collected metrics as per-second values",
|
|
379
|
+
"id_str": "metrics___toRate",
|
|
380
|
+
"name": "toRate",
|
|
381
|
+
"path": "metrics.toRate",
|
|
382
|
+
"requestStr": "$toRate:Boolean ",
|
|
383
|
+
"required": false,
|
|
384
|
+
"responseStr": "toRate:$toRate ",
|
|
385
|
+
"type": {
|
|
386
|
+
"kind": [
|
|
387
|
+
"SCALAR"
|
|
388
|
+
],
|
|
389
|
+
"name": "Boolean",
|
|
390
|
+
"non_null": false
|
|
391
|
+
},
|
|
392
|
+
"varName": "toRate"
|
|
393
|
+
},
|
|
394
|
+
"types": {
|
|
395
|
+
"defaultValue": null,
|
|
396
|
+
"description": null,
|
|
397
|
+
"id_str": "annotations___types",
|
|
398
|
+
"name": "types",
|
|
399
|
+
"path": "annotations.types",
|
|
400
|
+
"requestStr": "$types:[String!] ",
|
|
401
|
+
"required": false,
|
|
402
|
+
"responseStr": "types:$types ",
|
|
403
|
+
"type": {
|
|
404
|
+
"kind": [
|
|
405
|
+
"LIST",
|
|
406
|
+
"NON_NULL",
|
|
407
|
+
"SCALAR"
|
|
408
|
+
],
|
|
409
|
+
"name": "String",
|
|
410
|
+
"non_null": false
|
|
411
|
+
},
|
|
412
|
+
"varName": "types"
|
|
413
|
+
},
|
|
414
|
+
"useDefaultSizeBucket": {
|
|
415
|
+
"defaultValue": "false",
|
|
416
|
+
"description": "In case we want to have the default size bucket (from properties)",
|
|
417
|
+
"id_str": "data___useDefaultSizeBucket",
|
|
418
|
+
"name": "useDefaultSizeBucket",
|
|
419
|
+
"path": "data.useDefaultSizeBucket",
|
|
420
|
+
"requestStr": "$useDefaultSizeBucket:Boolean ",
|
|
421
|
+
"required": false,
|
|
422
|
+
"responseStr": "useDefaultSizeBucket:$useDefaultSizeBucket ",
|
|
423
|
+
"type": {
|
|
424
|
+
"kind": [
|
|
425
|
+
"SCALAR"
|
|
426
|
+
],
|
|
427
|
+
"name": "Boolean",
|
|
428
|
+
"non_null": false
|
|
429
|
+
},
|
|
430
|
+
"varName": "useDefaultSizeBucket"
|
|
431
|
+
},
|
|
432
|
+
"userIDs": {
|
|
433
|
+
"defaultValue": null,
|
|
434
|
+
"description": "A list of unique IDs for each user. If specified, only users in this list are returned. Otherwise, no user metrics are returned.",
|
|
435
|
+
"id_str": "users___userIDs",
|
|
436
|
+
"name": "userIDs",
|
|
437
|
+
"path": "users.userIDs",
|
|
438
|
+
"requestStr": "$userIDs:[ID!] ",
|
|
439
|
+
"required": false,
|
|
440
|
+
"responseStr": "userIDs:$userIDs ",
|
|
441
|
+
"type": {
|
|
442
|
+
"kind": [
|
|
443
|
+
"LIST",
|
|
444
|
+
"NON_NULL",
|
|
445
|
+
"SCALAR"
|
|
446
|
+
],
|
|
447
|
+
"name": "ID",
|
|
448
|
+
"non_null": false
|
|
449
|
+
},
|
|
450
|
+
"varName": "userIDs"
|
|
451
|
+
},
|
|
452
|
+
"withMissingData": {
|
|
453
|
+
"defaultValue": "false",
|
|
454
|
+
"description": "If false, the data field will be set to '0' for buckets with no reported data. Otherwise it will be set to -1",
|
|
455
|
+
"id_str": "data___withMissingData",
|
|
456
|
+
"name": "withMissingData",
|
|
457
|
+
"path": "data.withMissingData",
|
|
458
|
+
"requestStr": "$withMissingData:Boolean ",
|
|
459
|
+
"required": false,
|
|
460
|
+
"responseStr": "withMissingData:$withMissingData ",
|
|
461
|
+
"type": {
|
|
462
|
+
"kind": [
|
|
463
|
+
"SCALAR"
|
|
464
|
+
],
|
|
465
|
+
"name": "Boolean",
|
|
466
|
+
"non_null": false
|
|
467
|
+
},
|
|
468
|
+
"varName": "withMissingData"
|
|
155
469
|
}
|
|
156
470
|
},
|
|
157
471
|
"path": "query.accountMetrics",
|
|
@@ -11786,8 +12100,26 @@
|
|
|
11786
12100
|
"non_null": false
|
|
11787
12101
|
},
|
|
11788
12102
|
"variablesPayload": {
|
|
12103
|
+
"buckets": 1,
|
|
11789
12104
|
"groupDevices": true,
|
|
11790
12105
|
"groupInterfaces": true,
|
|
11791
|
-
"
|
|
12106
|
+
"labels": "bytesUpstream",
|
|
12107
|
+
"perSecond": true,
|
|
12108
|
+
"siteIDs": [
|
|
12109
|
+
"id1",
|
|
12110
|
+
"id2"
|
|
12111
|
+
],
|
|
12112
|
+
"timeFrame": "example_value",
|
|
12113
|
+
"toRate": true,
|
|
12114
|
+
"types": [
|
|
12115
|
+
"string1",
|
|
12116
|
+
"string2"
|
|
12117
|
+
],
|
|
12118
|
+
"useDefaultSizeBucket": true,
|
|
12119
|
+
"userIDs": [
|
|
12120
|
+
"id1",
|
|
12121
|
+
"id2"
|
|
12122
|
+
],
|
|
12123
|
+
"withMissingData": true
|
|
11792
12124
|
}
|
|
11793
12125
|
}
|
|
@@ -42,6 +42,46 @@
|
|
|
42
42
|
"non_null": false
|
|
43
43
|
},
|
|
44
44
|
"varName": "accountID"
|
|
45
|
+
},
|
|
46
|
+
"siteIDs": {
|
|
47
|
+
"defaultValue": null,
|
|
48
|
+
"description": "List of Unique Site Identifiers. If specified, only sites in list will be returned",
|
|
49
|
+
"id_str": "sites___siteIDs",
|
|
50
|
+
"name": "siteIDs",
|
|
51
|
+
"path": "sites.siteIDs",
|
|
52
|
+
"requestStr": "$siteIDs:[ID!] ",
|
|
53
|
+
"required": false,
|
|
54
|
+
"responseStr": "siteIDs:$siteIDs ",
|
|
55
|
+
"type": {
|
|
56
|
+
"kind": [
|
|
57
|
+
"LIST",
|
|
58
|
+
"NON_NULL",
|
|
59
|
+
"SCALAR"
|
|
60
|
+
],
|
|
61
|
+
"name": "ID",
|
|
62
|
+
"non_null": false
|
|
63
|
+
},
|
|
64
|
+
"varName": "siteIDs"
|
|
65
|
+
},
|
|
66
|
+
"userIDs": {
|
|
67
|
+
"defaultValue": null,
|
|
68
|
+
"description": "request specific IDs, regardless of if connected or not",
|
|
69
|
+
"id_str": "users___userIDs",
|
|
70
|
+
"name": "userIDs",
|
|
71
|
+
"path": "users.userIDs",
|
|
72
|
+
"requestStr": "$userIDs:[ID!] ",
|
|
73
|
+
"required": false,
|
|
74
|
+
"responseStr": "userIDs:$userIDs ",
|
|
75
|
+
"type": {
|
|
76
|
+
"kind": [
|
|
77
|
+
"LIST",
|
|
78
|
+
"NON_NULL",
|
|
79
|
+
"SCALAR"
|
|
80
|
+
],
|
|
81
|
+
"name": "ID",
|
|
82
|
+
"non_null": false
|
|
83
|
+
},
|
|
84
|
+
"varName": "userIDs"
|
|
45
85
|
}
|
|
46
86
|
},
|
|
47
87
|
"path": "query.accountSnapshot",
|
|
@@ -7700,5 +7740,14 @@
|
|
|
7700
7740
|
"name": "AccountSnapshot",
|
|
7701
7741
|
"non_null": false
|
|
7702
7742
|
},
|
|
7703
|
-
"variablesPayload": {
|
|
7743
|
+
"variablesPayload": {
|
|
7744
|
+
"siteIDs": [
|
|
7745
|
+
"id1",
|
|
7746
|
+
"id2"
|
|
7747
|
+
],
|
|
7748
|
+
"userIDs": [
|
|
7749
|
+
"id1",
|
|
7750
|
+
"id2"
|
|
7751
|
+
]
|
|
7752
|
+
}
|
|
7704
7753
|
}
|
models/query.appStats.json
CHANGED
|
@@ -2961,6 +2961,42 @@
|
|
|
2961
2961
|
},
|
|
2962
2962
|
"varName": "dimension"
|
|
2963
2963
|
},
|
|
2964
|
+
"from": {
|
|
2965
|
+
"defaultValue": null,
|
|
2966
|
+
"description": null,
|
|
2967
|
+
"id_str": "records___from",
|
|
2968
|
+
"name": "from",
|
|
2969
|
+
"path": "records.from",
|
|
2970
|
+
"requestStr": "$from:Int ",
|
|
2971
|
+
"required": false,
|
|
2972
|
+
"responseStr": "from:$from ",
|
|
2973
|
+
"type": {
|
|
2974
|
+
"kind": [
|
|
2975
|
+
"SCALAR"
|
|
2976
|
+
],
|
|
2977
|
+
"name": "Int",
|
|
2978
|
+
"non_null": false
|
|
2979
|
+
},
|
|
2980
|
+
"varName": "from"
|
|
2981
|
+
},
|
|
2982
|
+
"limit": {
|
|
2983
|
+
"defaultValue": null,
|
|
2984
|
+
"description": null,
|
|
2985
|
+
"id_str": "records___limit",
|
|
2986
|
+
"name": "limit",
|
|
2987
|
+
"path": "records.limit",
|
|
2988
|
+
"requestStr": "$limit:Int ",
|
|
2989
|
+
"required": false,
|
|
2990
|
+
"responseStr": "limit:$limit ",
|
|
2991
|
+
"type": {
|
|
2992
|
+
"kind": [
|
|
2993
|
+
"SCALAR"
|
|
2994
|
+
],
|
|
2995
|
+
"name": "Int",
|
|
2996
|
+
"non_null": false
|
|
2997
|
+
},
|
|
2998
|
+
"varName": "limit"
|
|
2999
|
+
},
|
|
2964
3000
|
"measure": {
|
|
2965
3001
|
"defaultValue": null,
|
|
2966
3002
|
"description": null,
|
|
@@ -4512,6 +4548,8 @@
|
|
|
4512
4548
|
"dimension": {
|
|
4513
4549
|
"fieldName": "ad_name"
|
|
4514
4550
|
},
|
|
4551
|
+
"from": 1,
|
|
4552
|
+
"limit": 1,
|
|
4515
4553
|
"measure": {
|
|
4516
4554
|
"aggType": "sum",
|
|
4517
4555
|
"fieldName": "ad_name",
|
|
@@ -1823,6 +1823,25 @@
|
|
|
1823
1823
|
},
|
|
1824
1824
|
"varName": "appStatsFilter"
|
|
1825
1825
|
},
|
|
1826
|
+
"buckets": {
|
|
1827
|
+
"defaultValue": null,
|
|
1828
|
+
"description": null,
|
|
1829
|
+
"id_str": "timeseries___buckets",
|
|
1830
|
+
"name": "buckets",
|
|
1831
|
+
"path": "timeseries.buckets",
|
|
1832
|
+
"requestStr": "$buckets:Int! ",
|
|
1833
|
+
"required": true,
|
|
1834
|
+
"responseStr": "buckets:$buckets ",
|
|
1835
|
+
"type": {
|
|
1836
|
+
"kind": [
|
|
1837
|
+
"NON_NULL",
|
|
1838
|
+
"SCALAR"
|
|
1839
|
+
],
|
|
1840
|
+
"name": "Int",
|
|
1841
|
+
"non_null": false
|
|
1842
|
+
},
|
|
1843
|
+
"varName": "buckets"
|
|
1844
|
+
},
|
|
1826
1845
|
"dimension": {
|
|
1827
1846
|
"defaultValue": null,
|
|
1828
1847
|
"description": null,
|
|
@@ -2632,6 +2651,24 @@
|
|
|
2632
2651
|
},
|
|
2633
2652
|
"varName": "measure"
|
|
2634
2653
|
},
|
|
2654
|
+
"perSecond": {
|
|
2655
|
+
"defaultValue": "true",
|
|
2656
|
+
"description": "whether to normalize the data into per second (i.e. divide by granularity)",
|
|
2657
|
+
"id_str": "data___perSecond",
|
|
2658
|
+
"name": "perSecond",
|
|
2659
|
+
"path": "data.perSecond",
|
|
2660
|
+
"requestStr": "$perSecond:Boolean ",
|
|
2661
|
+
"required": false,
|
|
2662
|
+
"responseStr": "perSecond:$perSecond ",
|
|
2663
|
+
"type": {
|
|
2664
|
+
"kind": [
|
|
2665
|
+
"SCALAR"
|
|
2666
|
+
],
|
|
2667
|
+
"name": "Boolean",
|
|
2668
|
+
"non_null": false
|
|
2669
|
+
},
|
|
2670
|
+
"varName": "perSecond"
|
|
2671
|
+
},
|
|
2635
2672
|
"timeFrame": {
|
|
2636
2673
|
"defaultValue": null,
|
|
2637
2674
|
"description": null,
|
|
@@ -2650,6 +2687,42 @@
|
|
|
2650
2687
|
"non_null": false
|
|
2651
2688
|
},
|
|
2652
2689
|
"varName": "timeFrame"
|
|
2690
|
+
},
|
|
2691
|
+
"useDefaultSizeBucket": {
|
|
2692
|
+
"defaultValue": "false",
|
|
2693
|
+
"description": "In case we want to have the default size bucket (from properties)",
|
|
2694
|
+
"id_str": "data___useDefaultSizeBucket",
|
|
2695
|
+
"name": "useDefaultSizeBucket",
|
|
2696
|
+
"path": "data.useDefaultSizeBucket",
|
|
2697
|
+
"requestStr": "$useDefaultSizeBucket:Boolean ",
|
|
2698
|
+
"required": false,
|
|
2699
|
+
"responseStr": "useDefaultSizeBucket:$useDefaultSizeBucket ",
|
|
2700
|
+
"type": {
|
|
2701
|
+
"kind": [
|
|
2702
|
+
"SCALAR"
|
|
2703
|
+
],
|
|
2704
|
+
"name": "Boolean",
|
|
2705
|
+
"non_null": false
|
|
2706
|
+
},
|
|
2707
|
+
"varName": "useDefaultSizeBucket"
|
|
2708
|
+
},
|
|
2709
|
+
"withMissingData": {
|
|
2710
|
+
"defaultValue": "false",
|
|
2711
|
+
"description": "If false, the data field will be set to '0' for buckets with no reported data. Otherwise it will be set to -1",
|
|
2712
|
+
"id_str": "data___withMissingData",
|
|
2713
|
+
"name": "withMissingData",
|
|
2714
|
+
"path": "data.withMissingData",
|
|
2715
|
+
"requestStr": "$withMissingData:Boolean ",
|
|
2716
|
+
"required": false,
|
|
2717
|
+
"responseStr": "withMissingData:$withMissingData ",
|
|
2718
|
+
"type": {
|
|
2719
|
+
"kind": [
|
|
2720
|
+
"SCALAR"
|
|
2721
|
+
],
|
|
2722
|
+
"name": "Boolean",
|
|
2723
|
+
"non_null": false
|
|
2724
|
+
},
|
|
2725
|
+
"varName": "withMissingData"
|
|
2653
2726
|
}
|
|
2654
2727
|
},
|
|
2655
2728
|
"path": "query.appStatsTimeSeries",
|
|
@@ -3257,6 +3330,7 @@
|
|
|
3257
3330
|
"string2"
|
|
3258
3331
|
]
|
|
3259
3332
|
},
|
|
3333
|
+
"buckets": 1,
|
|
3260
3334
|
"dimension": {
|
|
3261
3335
|
"fieldName": "ad_name"
|
|
3262
3336
|
},
|
|
@@ -3265,6 +3339,9 @@
|
|
|
3265
3339
|
"fieldName": "ad_name",
|
|
3266
3340
|
"trend": true
|
|
3267
3341
|
},
|
|
3268
|
-
"
|
|
3342
|
+
"perSecond": true,
|
|
3343
|
+
"timeFrame": "example_value",
|
|
3344
|
+
"useDefaultSizeBucket": true,
|
|
3345
|
+
"withMissingData": true
|
|
3269
3346
|
}
|
|
3270
3347
|
}
|