pycarlo 0.10.103__py3-none-any.whl → 0.10.105__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 pycarlo might be problematic. Click here for more details.
- pycarlo/lib/schema.json +665 -80
- pycarlo/lib/schema.py +253 -5
- {pycarlo-0.10.103.dist-info → pycarlo-0.10.105.dist-info}/METADATA +1 -1
- {pycarlo-0.10.103.dist-info → pycarlo-0.10.105.dist-info}/RECORD +7 -7
- {pycarlo-0.10.103.dist-info → pycarlo-0.10.105.dist-info}/LICENSE +0 -0
- {pycarlo-0.10.103.dist-info → pycarlo-0.10.105.dist-info}/WHEEL +0 -0
- {pycarlo-0.10.103.dist-info → pycarlo-0.10.105.dist-info}/top_level.txt +0 -0
pycarlo/lib/schema.json
CHANGED
|
@@ -112800,24 +112800,24 @@
|
|
|
112800
112800
|
{
|
|
112801
112801
|
"args": [],
|
|
112802
112802
|
"deprecationReason": null,
|
|
112803
|
-
"description": "
|
|
112803
|
+
"description": "SQL blocks used on the monitor",
|
|
112804
112804
|
"isDeprecated": false,
|
|
112805
112805
|
"name": "sqlBlocks",
|
|
112806
112806
|
"type": {
|
|
112807
|
-
"kind": "
|
|
112808
|
-
"name": "
|
|
112807
|
+
"kind": "OBJECT",
|
|
112808
|
+
"name": "MonitorSqlBlocks",
|
|
112809
112809
|
"ofType": null
|
|
112810
112810
|
}
|
|
112811
112811
|
},
|
|
112812
112812
|
{
|
|
112813
112813
|
"args": [],
|
|
112814
112814
|
"deprecationReason": null,
|
|
112815
|
-
"description": "Sampling configuration",
|
|
112815
|
+
"description": "Sampling configuration for the monitor",
|
|
112816
112816
|
"isDeprecated": false,
|
|
112817
112817
|
"name": "samplingConfig",
|
|
112818
112818
|
"type": {
|
|
112819
|
-
"kind": "
|
|
112820
|
-
"name": "
|
|
112819
|
+
"kind": "OBJECT",
|
|
112820
|
+
"name": "MonitorSamplingConfig",
|
|
112821
112821
|
"ofType": null
|
|
112822
112822
|
}
|
|
112823
112823
|
},
|
|
@@ -116863,6 +116863,124 @@
|
|
|
116863
116863
|
"name": "IndexedFieldFilterOutputType",
|
|
116864
116864
|
"possibleTypes": null
|
|
116865
116865
|
},
|
|
116866
|
+
{
|
|
116867
|
+
"description": null,
|
|
116868
|
+
"enumValues": null,
|
|
116869
|
+
"fields": [
|
|
116870
|
+
{
|
|
116871
|
+
"args": [],
|
|
116872
|
+
"deprecationReason": null,
|
|
116873
|
+
"description": null,
|
|
116874
|
+
"isDeprecated": false,
|
|
116875
|
+
"name": "alertCondition",
|
|
116876
|
+
"type": {
|
|
116877
|
+
"kind": "NON_NULL",
|
|
116878
|
+
"name": null,
|
|
116879
|
+
"ofType": {
|
|
116880
|
+
"kind": "OBJECT",
|
|
116881
|
+
"name": "FilterGroup",
|
|
116882
|
+
"ofType": null
|
|
116883
|
+
}
|
|
116884
|
+
}
|
|
116885
|
+
},
|
|
116886
|
+
{
|
|
116887
|
+
"args": [],
|
|
116888
|
+
"deprecationReason": null,
|
|
116889
|
+
"description": null,
|
|
116890
|
+
"isDeprecated": false,
|
|
116891
|
+
"name": "whereCondition",
|
|
116892
|
+
"type": {
|
|
116893
|
+
"kind": "NON_NULL",
|
|
116894
|
+
"name": null,
|
|
116895
|
+
"ofType": {
|
|
116896
|
+
"kind": "OBJECT",
|
|
116897
|
+
"name": "FilterGroup",
|
|
116898
|
+
"ofType": null
|
|
116899
|
+
}
|
|
116900
|
+
}
|
|
116901
|
+
},
|
|
116902
|
+
{
|
|
116903
|
+
"args": [],
|
|
116904
|
+
"deprecationReason": null,
|
|
116905
|
+
"description": null,
|
|
116906
|
+
"isDeprecated": false,
|
|
116907
|
+
"name": "groupBy",
|
|
116908
|
+
"type": {
|
|
116909
|
+
"kind": "NON_NULL",
|
|
116910
|
+
"name": null,
|
|
116911
|
+
"ofType": {
|
|
116912
|
+
"kind": "LIST",
|
|
116913
|
+
"name": null,
|
|
116914
|
+
"ofType": {
|
|
116915
|
+
"kind": "NON_NULL",
|
|
116916
|
+
"name": null,
|
|
116917
|
+
"ofType": {
|
|
116918
|
+
"kind": "INTERFACE",
|
|
116919
|
+
"name": "FilterValueInterface",
|
|
116920
|
+
"ofType": null
|
|
116921
|
+
}
|
|
116922
|
+
}
|
|
116923
|
+
}
|
|
116924
|
+
}
|
|
116925
|
+
},
|
|
116926
|
+
{
|
|
116927
|
+
"args": [],
|
|
116928
|
+
"deprecationReason": null,
|
|
116929
|
+
"description": null,
|
|
116930
|
+
"isDeprecated": false,
|
|
116931
|
+
"name": "agentSpan",
|
|
116932
|
+
"type": {
|
|
116933
|
+
"kind": "NON_NULL",
|
|
116934
|
+
"name": null,
|
|
116935
|
+
"ofType": {
|
|
116936
|
+
"kind": "OBJECT",
|
|
116937
|
+
"name": "FilterGroup",
|
|
116938
|
+
"ofType": null
|
|
116939
|
+
}
|
|
116940
|
+
}
|
|
116941
|
+
}
|
|
116942
|
+
],
|
|
116943
|
+
"inputFields": null,
|
|
116944
|
+
"interfaces": [],
|
|
116945
|
+
"kind": "OBJECT",
|
|
116946
|
+
"name": "MonitorSqlBlocks",
|
|
116947
|
+
"possibleTypes": null
|
|
116948
|
+
},
|
|
116949
|
+
{
|
|
116950
|
+
"description": null,
|
|
116951
|
+
"enumValues": null,
|
|
116952
|
+
"fields": [
|
|
116953
|
+
{
|
|
116954
|
+
"args": [],
|
|
116955
|
+
"deprecationReason": null,
|
|
116956
|
+
"description": null,
|
|
116957
|
+
"isDeprecated": false,
|
|
116958
|
+
"name": "percentage",
|
|
116959
|
+
"type": {
|
|
116960
|
+
"kind": "SCALAR",
|
|
116961
|
+
"name": "Float",
|
|
116962
|
+
"ofType": null
|
|
116963
|
+
}
|
|
116964
|
+
},
|
|
116965
|
+
{
|
|
116966
|
+
"args": [],
|
|
116967
|
+
"deprecationReason": null,
|
|
116968
|
+
"description": null,
|
|
116969
|
+
"isDeprecated": false,
|
|
116970
|
+
"name": "count",
|
|
116971
|
+
"type": {
|
|
116972
|
+
"kind": "SCALAR",
|
|
116973
|
+
"name": "Int",
|
|
116974
|
+
"ofType": null
|
|
116975
|
+
}
|
|
116976
|
+
}
|
|
116977
|
+
],
|
|
116978
|
+
"inputFields": null,
|
|
116979
|
+
"interfaces": [],
|
|
116980
|
+
"kind": "OBJECT",
|
|
116981
|
+
"name": "MonitorSamplingConfig",
|
|
116982
|
+
"possibleTypes": null
|
|
116983
|
+
},
|
|
116866
116984
|
{
|
|
116867
116985
|
"description": null,
|
|
116868
116986
|
"enumValues": null,
|
|
@@ -159165,17 +159283,340 @@
|
|
|
159165
159283
|
}
|
|
159166
159284
|
},
|
|
159167
159285
|
{
|
|
159168
|
-
"defaultValue": null,
|
|
159169
|
-
"description": "target for comparison monitor",
|
|
159170
|
-
"name": "target",
|
|
159286
|
+
"defaultValue": null,
|
|
159287
|
+
"description": "target for comparison monitor",
|
|
159288
|
+
"name": "target",
|
|
159289
|
+
"type": {
|
|
159290
|
+
"kind": "NON_NULL",
|
|
159291
|
+
"name": null,
|
|
159292
|
+
"ofType": {
|
|
159293
|
+
"kind": "INPUT_OBJECT",
|
|
159294
|
+
"name": "ExtendedDataSourceInput",
|
|
159295
|
+
"ofType": null
|
|
159296
|
+
}
|
|
159297
|
+
}
|
|
159298
|
+
},
|
|
159299
|
+
{
|
|
159300
|
+
"defaultValue": null,
|
|
159301
|
+
"description": "UUID of the monitor. If specified, it means the request is for update",
|
|
159302
|
+
"name": "uuid",
|
|
159303
|
+
"type": {
|
|
159304
|
+
"kind": "SCALAR",
|
|
159305
|
+
"name": "UUID",
|
|
159306
|
+
"ofType": null
|
|
159307
|
+
}
|
|
159308
|
+
}
|
|
159309
|
+
],
|
|
159310
|
+
"deprecationReason": null,
|
|
159311
|
+
"description": "(experimental) Create or Update a Comparison Monitor",
|
|
159312
|
+
"isDeprecated": false,
|
|
159313
|
+
"name": "createOrUpdateComparisonMonitor",
|
|
159314
|
+
"type": {
|
|
159315
|
+
"kind": "OBJECT",
|
|
159316
|
+
"name": "CreateOrUpdateComparisonMonitor",
|
|
159317
|
+
"ofType": null
|
|
159318
|
+
}
|
|
159319
|
+
},
|
|
159320
|
+
{
|
|
159321
|
+
"args": [
|
|
159322
|
+
{
|
|
159323
|
+
"defaultValue": null,
|
|
159324
|
+
"description": "The time aggregation to use.",
|
|
159325
|
+
"name": "aggregate",
|
|
159326
|
+
"type": {
|
|
159327
|
+
"kind": "INPUT_OBJECT",
|
|
159328
|
+
"name": "AggregateInput",
|
|
159329
|
+
"ofType": null
|
|
159330
|
+
}
|
|
159331
|
+
},
|
|
159332
|
+
{
|
|
159333
|
+
"defaultValue": null,
|
|
159334
|
+
"description": "Alert conditions.",
|
|
159335
|
+
"name": "alertConditions",
|
|
159336
|
+
"type": {
|
|
159337
|
+
"kind": "NON_NULL",
|
|
159338
|
+
"name": null,
|
|
159339
|
+
"ofType": {
|
|
159340
|
+
"kind": "LIST",
|
|
159341
|
+
"name": null,
|
|
159342
|
+
"ofType": {
|
|
159343
|
+
"kind": "NON_NULL",
|
|
159344
|
+
"name": null,
|
|
159345
|
+
"ofType": {
|
|
159346
|
+
"kind": "INPUT_OBJECT",
|
|
159347
|
+
"name": "MetricAlertConditionInput",
|
|
159348
|
+
"ofType": null
|
|
159349
|
+
}
|
|
159350
|
+
}
|
|
159351
|
+
}
|
|
159352
|
+
}
|
|
159353
|
+
},
|
|
159354
|
+
{
|
|
159355
|
+
"defaultValue": null,
|
|
159356
|
+
"description": "The monitor notification audiences",
|
|
159357
|
+
"name": "audiences",
|
|
159358
|
+
"type": {
|
|
159359
|
+
"kind": "LIST",
|
|
159360
|
+
"name": null,
|
|
159361
|
+
"ofType": {
|
|
159362
|
+
"kind": "NON_NULL",
|
|
159363
|
+
"name": null,
|
|
159364
|
+
"ofType": {
|
|
159365
|
+
"kind": "SCALAR",
|
|
159366
|
+
"name": "String",
|
|
159367
|
+
"ofType": null
|
|
159368
|
+
}
|
|
159369
|
+
}
|
|
159370
|
+
}
|
|
159371
|
+
},
|
|
159372
|
+
{
|
|
159373
|
+
"defaultValue": "0",
|
|
159374
|
+
"description": "Collection lag in hours (for the provided timestamp)",
|
|
159375
|
+
"name": "collectionLagHours",
|
|
159376
|
+
"type": {
|
|
159377
|
+
"kind": "SCALAR",
|
|
159378
|
+
"name": "Int",
|
|
159379
|
+
"ofType": null
|
|
159380
|
+
}
|
|
159381
|
+
},
|
|
159382
|
+
{
|
|
159383
|
+
"defaultValue": null,
|
|
159384
|
+
"description": "Specify a connection (e.g. query-engine) to use",
|
|
159385
|
+
"name": "connectionId",
|
|
159386
|
+
"type": {
|
|
159387
|
+
"kind": "SCALAR",
|
|
159388
|
+
"name": "UUID",
|
|
159389
|
+
"ofType": null
|
|
159390
|
+
}
|
|
159391
|
+
},
|
|
159392
|
+
{
|
|
159393
|
+
"defaultValue": null,
|
|
159394
|
+
"description": "Data quality dimension.",
|
|
159395
|
+
"name": "dataQualityDimension",
|
|
159396
|
+
"type": {
|
|
159397
|
+
"kind": "SCALAR",
|
|
159398
|
+
"name": "String",
|
|
159399
|
+
"ofType": null
|
|
159400
|
+
}
|
|
159401
|
+
},
|
|
159402
|
+
{
|
|
159403
|
+
"defaultValue": null,
|
|
159404
|
+
"description": null,
|
|
159405
|
+
"name": "dataSource",
|
|
159406
|
+
"type": {
|
|
159407
|
+
"kind": "NON_NULL",
|
|
159408
|
+
"name": null,
|
|
159409
|
+
"ofType": {
|
|
159410
|
+
"kind": "INPUT_OBJECT",
|
|
159411
|
+
"name": "DataSourceUnionInput",
|
|
159412
|
+
"ofType": null
|
|
159413
|
+
}
|
|
159414
|
+
}
|
|
159415
|
+
},
|
|
159416
|
+
{
|
|
159417
|
+
"defaultValue": null,
|
|
159418
|
+
"description": "Used as the name in the UI",
|
|
159419
|
+
"name": "description",
|
|
159420
|
+
"type": {
|
|
159421
|
+
"kind": "NON_NULL",
|
|
159422
|
+
"name": null,
|
|
159423
|
+
"ofType": {
|
|
159424
|
+
"kind": "SCALAR",
|
|
159425
|
+
"name": "String",
|
|
159426
|
+
"ofType": null
|
|
159427
|
+
}
|
|
159428
|
+
}
|
|
159429
|
+
},
|
|
159430
|
+
{
|
|
159431
|
+
"defaultValue": "false",
|
|
159432
|
+
"description": "The flag decides whether to disable look back bootstrap for new monitors. By default, it's False",
|
|
159433
|
+
"name": "disableLookBackBootstrap",
|
|
159434
|
+
"type": {
|
|
159435
|
+
"kind": "SCALAR",
|
|
159436
|
+
"name": "Boolean",
|
|
159437
|
+
"ofType": null
|
|
159438
|
+
}
|
|
159439
|
+
},
|
|
159440
|
+
{
|
|
159441
|
+
"defaultValue": "false",
|
|
159442
|
+
"description": "Dry run the monitor creation or update and return the MaC YAML and queries.",
|
|
159443
|
+
"name": "dryRun",
|
|
159444
|
+
"type": {
|
|
159445
|
+
"kind": "SCALAR",
|
|
159446
|
+
"name": "Boolean",
|
|
159447
|
+
"ofType": null
|
|
159448
|
+
}
|
|
159449
|
+
},
|
|
159450
|
+
{
|
|
159451
|
+
"defaultValue": null,
|
|
159452
|
+
"description": "Warehouse the monitor will be run on.",
|
|
159453
|
+
"name": "dwId",
|
|
159454
|
+
"type": {
|
|
159455
|
+
"kind": "NON_NULL",
|
|
159456
|
+
"name": null,
|
|
159457
|
+
"ofType": {
|
|
159458
|
+
"kind": "SCALAR",
|
|
159459
|
+
"name": "UUID",
|
|
159460
|
+
"ofType": null
|
|
159461
|
+
}
|
|
159462
|
+
}
|
|
159463
|
+
},
|
|
159464
|
+
{
|
|
159465
|
+
"defaultValue": "false",
|
|
159466
|
+
"description": "Return an error if the update is a significant change that would require a monitor reset.",
|
|
159467
|
+
"name": "failOnReset",
|
|
159468
|
+
"type": {
|
|
159469
|
+
"kind": "SCALAR",
|
|
159470
|
+
"name": "Boolean",
|
|
159471
|
+
"ofType": null
|
|
159472
|
+
}
|
|
159473
|
+
},
|
|
159474
|
+
{
|
|
159475
|
+
"defaultValue": null,
|
|
159476
|
+
"description": "The monitor notification audiences for failures",
|
|
159477
|
+
"name": "failureAudiences",
|
|
159478
|
+
"type": {
|
|
159479
|
+
"kind": "LIST",
|
|
159480
|
+
"name": null,
|
|
159481
|
+
"ofType": {
|
|
159482
|
+
"kind": "NON_NULL",
|
|
159483
|
+
"name": null,
|
|
159484
|
+
"ofType": {
|
|
159485
|
+
"kind": "SCALAR",
|
|
159486
|
+
"name": "String",
|
|
159487
|
+
"ofType": null
|
|
159488
|
+
}
|
|
159489
|
+
}
|
|
159490
|
+
}
|
|
159491
|
+
},
|
|
159492
|
+
{
|
|
159493
|
+
"defaultValue": "false",
|
|
159494
|
+
"description": "Flag to apply additional limits which increase the supported segment count",
|
|
159495
|
+
"name": "highSegmentCount",
|
|
159496
|
+
"type": {
|
|
159497
|
+
"kind": "SCALAR",
|
|
159498
|
+
"name": "Boolean",
|
|
159499
|
+
"ofType": null
|
|
159500
|
+
}
|
|
159501
|
+
},
|
|
159502
|
+
{
|
|
159503
|
+
"defaultValue": "\"\"",
|
|
159504
|
+
"description": "Additional context for the monitor",
|
|
159505
|
+
"name": "notes",
|
|
159506
|
+
"type": {
|
|
159507
|
+
"kind": "SCALAR",
|
|
159508
|
+
"name": "String",
|
|
159509
|
+
"ofType": null
|
|
159510
|
+
}
|
|
159511
|
+
},
|
|
159512
|
+
{
|
|
159513
|
+
"defaultValue": null,
|
|
159514
|
+
"description": "DEPRECATED: Completely ignored. This field has no effect on anything. Use `failure_audiences` to determine who is notified when run failures occur.",
|
|
159515
|
+
"name": "notifyRuleRunFailure",
|
|
159516
|
+
"type": {
|
|
159517
|
+
"kind": "SCALAR",
|
|
159518
|
+
"name": "Boolean",
|
|
159519
|
+
"ofType": null
|
|
159520
|
+
}
|
|
159521
|
+
},
|
|
159522
|
+
{
|
|
159523
|
+
"defaultValue": null,
|
|
159524
|
+
"description": "The default priority for alerts involving this monitor",
|
|
159525
|
+
"name": "priority",
|
|
159526
|
+
"type": {
|
|
159527
|
+
"kind": "SCALAR",
|
|
159528
|
+
"name": "String",
|
|
159529
|
+
"ofType": null
|
|
159530
|
+
}
|
|
159531
|
+
},
|
|
159532
|
+
{
|
|
159533
|
+
"defaultValue": null,
|
|
159534
|
+
"description": "Schedule of monitor",
|
|
159535
|
+
"name": "scheduleConfig",
|
|
159536
|
+
"type": {
|
|
159537
|
+
"kind": "NON_NULL",
|
|
159538
|
+
"name": null,
|
|
159539
|
+
"ofType": {
|
|
159540
|
+
"kind": "INPUT_OBJECT",
|
|
159541
|
+
"name": "ScheduleConfigInput",
|
|
159542
|
+
"ofType": null
|
|
159543
|
+
}
|
|
159544
|
+
}
|
|
159545
|
+
},
|
|
159546
|
+
{
|
|
159547
|
+
"defaultValue": null,
|
|
159548
|
+
"description": "Segment count when then monitor was created. Can be returned as the segment count for the monitor when no successful execution has yet occurred, and a fresh segment count is not available. This allows the UI to properly validate the monitor configuration and avoid creating monitors that will fail when they are created due too many metric combinations.",
|
|
159549
|
+
"name": "segmentCountHint",
|
|
159550
|
+
"type": {
|
|
159551
|
+
"kind": "SCALAR",
|
|
159552
|
+
"name": "Int",
|
|
159553
|
+
"ofType": null
|
|
159554
|
+
}
|
|
159555
|
+
},
|
|
159556
|
+
{
|
|
159557
|
+
"defaultValue": null,
|
|
159558
|
+
"description": "Segments",
|
|
159559
|
+
"name": "segments",
|
|
159560
|
+
"type": {
|
|
159561
|
+
"kind": "LIST",
|
|
159562
|
+
"name": null,
|
|
159563
|
+
"ofType": {
|
|
159564
|
+
"kind": "NON_NULL",
|
|
159565
|
+
"name": null,
|
|
159566
|
+
"ofType": {
|
|
159567
|
+
"kind": "INPUT_OBJECT",
|
|
159568
|
+
"name": "FilterValueUnionInput",
|
|
159569
|
+
"ofType": null
|
|
159570
|
+
}
|
|
159571
|
+
}
|
|
159572
|
+
}
|
|
159573
|
+
},
|
|
159574
|
+
{
|
|
159575
|
+
"defaultValue": null,
|
|
159576
|
+
"description": "Sensitivity for automated thresholds.",
|
|
159577
|
+
"name": "sensitivity",
|
|
159578
|
+
"type": {
|
|
159579
|
+
"kind": "ENUM",
|
|
159580
|
+
"name": "SensitivityLevels",
|
|
159581
|
+
"ofType": null
|
|
159582
|
+
}
|
|
159583
|
+
},
|
|
159584
|
+
{
|
|
159585
|
+
"defaultValue": "false",
|
|
159586
|
+
"description": "Do not reset monitor if the update is a significant change that would normally cause the monitor to be reset. Learned model might not match the new monitor configuration and false positives might be detected for up to 35 days",
|
|
159587
|
+
"name": "skipReset",
|
|
159588
|
+
"type": {
|
|
159589
|
+
"kind": "SCALAR",
|
|
159590
|
+
"name": "Boolean",
|
|
159591
|
+
"ofType": null
|
|
159592
|
+
}
|
|
159593
|
+
},
|
|
159594
|
+
{
|
|
159595
|
+
"defaultValue": null,
|
|
159596
|
+
"description": "The monitor tags.",
|
|
159597
|
+
"name": "tags",
|
|
159598
|
+
"type": {
|
|
159599
|
+
"kind": "LIST",
|
|
159600
|
+
"name": null,
|
|
159601
|
+
"ofType": {
|
|
159602
|
+
"kind": "NON_NULL",
|
|
159603
|
+
"name": null,
|
|
159604
|
+
"ofType": {
|
|
159605
|
+
"kind": "INPUT_OBJECT",
|
|
159606
|
+
"name": "TagKeyValuePairInput",
|
|
159607
|
+
"ofType": null
|
|
159608
|
+
}
|
|
159609
|
+
}
|
|
159610
|
+
}
|
|
159611
|
+
},
|
|
159612
|
+
{
|
|
159613
|
+
"defaultValue": "false",
|
|
159614
|
+
"description": "Whether to use automatic partition filter in query",
|
|
159615
|
+
"name": "usePartitionClause",
|
|
159171
159616
|
"type": {
|
|
159172
|
-
"kind": "
|
|
159173
|
-
"name":
|
|
159174
|
-
"ofType":
|
|
159175
|
-
"kind": "INPUT_OBJECT",
|
|
159176
|
-
"name": "ExtendedDataSourceInput",
|
|
159177
|
-
"ofType": null
|
|
159178
|
-
}
|
|
159617
|
+
"kind": "SCALAR",
|
|
159618
|
+
"name": "Boolean",
|
|
159619
|
+
"ofType": null
|
|
159179
159620
|
}
|
|
159180
159621
|
},
|
|
159181
159622
|
{
|
|
@@ -159187,15 +159628,25 @@
|
|
|
159187
159628
|
"name": "UUID",
|
|
159188
159629
|
"ofType": null
|
|
159189
159630
|
}
|
|
159631
|
+
},
|
|
159632
|
+
{
|
|
159633
|
+
"defaultValue": null,
|
|
159634
|
+
"description": "SQL WHERE condition to apply to query",
|
|
159635
|
+
"name": "whereCondition",
|
|
159636
|
+
"type": {
|
|
159637
|
+
"kind": "SCALAR",
|
|
159638
|
+
"name": "String",
|
|
159639
|
+
"ofType": null
|
|
159640
|
+
}
|
|
159190
159641
|
}
|
|
159191
159642
|
],
|
|
159192
159643
|
"deprecationReason": null,
|
|
159193
|
-
"description": "(experimental) Create or
|
|
159644
|
+
"description": "(experimental) Create or update a Metric monitor",
|
|
159194
159645
|
"isDeprecated": false,
|
|
159195
|
-
"name": "
|
|
159646
|
+
"name": "createOrUpdateMetricMonitor",
|
|
159196
159647
|
"type": {
|
|
159197
159648
|
"kind": "OBJECT",
|
|
159198
|
-
"name": "
|
|
159649
|
+
"name": "CreateOrUpdateMetricMonitor",
|
|
159199
159650
|
"ofType": null
|
|
159200
159651
|
}
|
|
159201
159652
|
},
|
|
@@ -159203,12 +159654,24 @@
|
|
|
159203
159654
|
"args": [
|
|
159204
159655
|
{
|
|
159205
159656
|
"defaultValue": null,
|
|
159206
|
-
"description": "
|
|
159207
|
-
"name": "
|
|
159657
|
+
"description": "Filter by agent span fields (agent, workflow, task, span_name)",
|
|
159658
|
+
"name": "agentSpanFilters",
|
|
159208
159659
|
"type": {
|
|
159209
|
-
"kind": "
|
|
159210
|
-
"name":
|
|
159211
|
-
"ofType":
|
|
159660
|
+
"kind": "NON_NULL",
|
|
159661
|
+
"name": null,
|
|
159662
|
+
"ofType": {
|
|
159663
|
+
"kind": "LIST",
|
|
159664
|
+
"name": null,
|
|
159665
|
+
"ofType": {
|
|
159666
|
+
"kind": "NON_NULL",
|
|
159667
|
+
"name": null,
|
|
159668
|
+
"ofType": {
|
|
159669
|
+
"kind": "INPUT_OBJECT",
|
|
159670
|
+
"name": "AgentSpanFilterInput",
|
|
159671
|
+
"ofType": null
|
|
159672
|
+
}
|
|
159673
|
+
}
|
|
159674
|
+
}
|
|
159212
159675
|
}
|
|
159213
159676
|
},
|
|
159214
159677
|
{
|
|
@@ -159226,7 +159689,7 @@
|
|
|
159226
159689
|
"name": null,
|
|
159227
159690
|
"ofType": {
|
|
159228
159691
|
"kind": "INPUT_OBJECT",
|
|
159229
|
-
"name": "
|
|
159692
|
+
"name": "CustomRuleComparisonInput",
|
|
159230
159693
|
"ofType": null
|
|
159231
159694
|
}
|
|
159232
159695
|
}
|
|
@@ -159251,16 +159714,6 @@
|
|
|
159251
159714
|
}
|
|
159252
159715
|
}
|
|
159253
159716
|
},
|
|
159254
|
-
{
|
|
159255
|
-
"defaultValue": "0",
|
|
159256
|
-
"description": "Collection lag in hours (for the provided timestamp)",
|
|
159257
|
-
"name": "collectionLagHours",
|
|
159258
|
-
"type": {
|
|
159259
|
-
"kind": "SCALAR",
|
|
159260
|
-
"name": "Int",
|
|
159261
|
-
"ofType": null
|
|
159262
|
-
}
|
|
159263
|
-
},
|
|
159264
159717
|
{
|
|
159265
159718
|
"defaultValue": null,
|
|
159266
159719
|
"description": "Specify a connection (e.g. query-engine) to use",
|
|
@@ -159309,16 +159762,6 @@
|
|
|
159309
159762
|
}
|
|
159310
159763
|
}
|
|
159311
159764
|
},
|
|
159312
|
-
{
|
|
159313
|
-
"defaultValue": "false",
|
|
159314
|
-
"description": "The flag decides whether to disable look back bootstrap for new monitors. By default, it's False",
|
|
159315
|
-
"name": "disableLookBackBootstrap",
|
|
159316
|
-
"type": {
|
|
159317
|
-
"kind": "SCALAR",
|
|
159318
|
-
"name": "Boolean",
|
|
159319
|
-
"ofType": null
|
|
159320
|
-
}
|
|
159321
|
-
},
|
|
159322
159765
|
{
|
|
159323
159766
|
"defaultValue": "false",
|
|
159324
159767
|
"description": "Dry run the monitor creation or update and return the MaC YAML and queries.",
|
|
@@ -159372,12 +159815,12 @@
|
|
|
159372
159815
|
}
|
|
159373
159816
|
},
|
|
159374
159817
|
{
|
|
159375
|
-
"defaultValue":
|
|
159376
|
-
"description": "
|
|
159377
|
-
"name": "
|
|
159818
|
+
"defaultValue": null,
|
|
159819
|
+
"description": "Structured SQL filtering conditions to apply to query",
|
|
159820
|
+
"name": "filters",
|
|
159378
159821
|
"type": {
|
|
159379
|
-
"kind": "
|
|
159380
|
-
"name": "
|
|
159822
|
+
"kind": "INPUT_OBJECT",
|
|
159823
|
+
"name": "FilterGroupInput",
|
|
159381
159824
|
"ofType": null
|
|
159382
159825
|
}
|
|
159383
159826
|
},
|
|
@@ -159393,21 +159836,21 @@
|
|
|
159393
159836
|
},
|
|
159394
159837
|
{
|
|
159395
159838
|
"defaultValue": null,
|
|
159396
|
-
"description": "
|
|
159397
|
-
"name": "
|
|
159839
|
+
"description": "The default priority for alerts involving this monitor",
|
|
159840
|
+
"name": "priority",
|
|
159398
159841
|
"type": {
|
|
159399
159842
|
"kind": "SCALAR",
|
|
159400
|
-
"name": "
|
|
159843
|
+
"name": "String",
|
|
159401
159844
|
"ofType": null
|
|
159402
159845
|
}
|
|
159403
159846
|
},
|
|
159404
159847
|
{
|
|
159405
159848
|
"defaultValue": null,
|
|
159406
|
-
"description": "
|
|
159407
|
-
"name": "
|
|
159849
|
+
"description": "Sampling configuration: either percentage or fixed count",
|
|
159850
|
+
"name": "samplingConfig",
|
|
159408
159851
|
"type": {
|
|
159409
|
-
"kind": "
|
|
159410
|
-
"name": "
|
|
159852
|
+
"kind": "INPUT_OBJECT",
|
|
159853
|
+
"name": "MonitorSamplingConfigInput",
|
|
159411
159854
|
"ofType": null
|
|
159412
159855
|
}
|
|
159413
159856
|
},
|
|
@@ -159491,16 +159934,6 @@
|
|
|
159491
159934
|
}
|
|
159492
159935
|
}
|
|
159493
159936
|
},
|
|
159494
|
-
{
|
|
159495
|
-
"defaultValue": "false",
|
|
159496
|
-
"description": "Whether to use automatic partition filter in query",
|
|
159497
|
-
"name": "usePartitionClause",
|
|
159498
|
-
"type": {
|
|
159499
|
-
"kind": "SCALAR",
|
|
159500
|
-
"name": "Boolean",
|
|
159501
|
-
"ofType": null
|
|
159502
|
-
}
|
|
159503
|
-
},
|
|
159504
159937
|
{
|
|
159505
159938
|
"defaultValue": null,
|
|
159506
159939
|
"description": "UUID of the monitor. If specified, it means the request is for update",
|
|
@@ -159510,25 +159943,15 @@
|
|
|
159510
159943
|
"name": "UUID",
|
|
159511
159944
|
"ofType": null
|
|
159512
159945
|
}
|
|
159513
|
-
},
|
|
159514
|
-
{
|
|
159515
|
-
"defaultValue": null,
|
|
159516
|
-
"description": "SQL WHERE condition to apply to query",
|
|
159517
|
-
"name": "whereCondition",
|
|
159518
|
-
"type": {
|
|
159519
|
-
"kind": "SCALAR",
|
|
159520
|
-
"name": "String",
|
|
159521
|
-
"ofType": null
|
|
159522
|
-
}
|
|
159523
159946
|
}
|
|
159524
159947
|
],
|
|
159525
159948
|
"deprecationReason": null,
|
|
159526
|
-
"description": "(experimental) Create or update
|
|
159949
|
+
"description": "(experimental) Create or update an Agent monitor",
|
|
159527
159950
|
"isDeprecated": false,
|
|
159528
|
-
"name": "
|
|
159951
|
+
"name": "createOrUpdateAgentMonitor",
|
|
159529
159952
|
"type": {
|
|
159530
159953
|
"kind": "OBJECT",
|
|
159531
|
-
"name": "
|
|
159954
|
+
"name": "CreateOrUpdateAgentMonitor",
|
|
159532
159955
|
"ofType": null
|
|
159533
159956
|
}
|
|
159534
159957
|
},
|
|
@@ -177884,6 +178307,22 @@
|
|
|
177884
178307
|
"ofType": null
|
|
177885
178308
|
}
|
|
177886
178309
|
}
|
|
178310
|
+
},
|
|
178311
|
+
{
|
|
178312
|
+
"args": [],
|
|
178313
|
+
"deprecationReason": null,
|
|
178314
|
+
"description": "Warnings encountered",
|
|
178315
|
+
"isDeprecated": false,
|
|
178316
|
+
"name": "warnings",
|
|
178317
|
+
"type": {
|
|
178318
|
+
"kind": "LIST",
|
|
178319
|
+
"name": null,
|
|
178320
|
+
"ofType": {
|
|
178321
|
+
"kind": "SCALAR",
|
|
178322
|
+
"name": "String",
|
|
178323
|
+
"ofType": null
|
|
178324
|
+
}
|
|
178325
|
+
}
|
|
177887
178326
|
}
|
|
177888
178327
|
],
|
|
177889
178328
|
"inputFields": null,
|
|
@@ -180477,6 +180916,152 @@
|
|
|
180477
180916
|
"name": "MetricAlertConditionInput",
|
|
180478
180917
|
"possibleTypes": null
|
|
180479
180918
|
},
|
|
180919
|
+
{
|
|
180920
|
+
"description": null,
|
|
180921
|
+
"enumValues": null,
|
|
180922
|
+
"fields": [
|
|
180923
|
+
{
|
|
180924
|
+
"args": [],
|
|
180925
|
+
"deprecationReason": null,
|
|
180926
|
+
"description": null,
|
|
180927
|
+
"isDeprecated": false,
|
|
180928
|
+
"name": "agentMonitor",
|
|
180929
|
+
"type": {
|
|
180930
|
+
"kind": "OBJECT",
|
|
180931
|
+
"name": "MetricMonitoring",
|
|
180932
|
+
"ofType": null
|
|
180933
|
+
}
|
|
180934
|
+
},
|
|
180935
|
+
{
|
|
180936
|
+
"args": [],
|
|
180937
|
+
"deprecationReason": null,
|
|
180938
|
+
"description": "SQL queries that will be run by the monitor on each execution.",
|
|
180939
|
+
"isDeprecated": false,
|
|
180940
|
+
"name": "queries",
|
|
180941
|
+
"type": {
|
|
180942
|
+
"kind": "LIST",
|
|
180943
|
+
"name": null,
|
|
180944
|
+
"ofType": {
|
|
180945
|
+
"kind": "NON_NULL",
|
|
180946
|
+
"name": null,
|
|
180947
|
+
"ofType": {
|
|
180948
|
+
"kind": "SCALAR",
|
|
180949
|
+
"name": "String",
|
|
180950
|
+
"ofType": null
|
|
180951
|
+
}
|
|
180952
|
+
}
|
|
180953
|
+
}
|
|
180954
|
+
}
|
|
180955
|
+
],
|
|
180956
|
+
"inputFields": null,
|
|
180957
|
+
"interfaces": [],
|
|
180958
|
+
"kind": "OBJECT",
|
|
180959
|
+
"name": "CreateOrUpdateAgentMonitor",
|
|
180960
|
+
"possibleTypes": null
|
|
180961
|
+
},
|
|
180962
|
+
{
|
|
180963
|
+
"description": null,
|
|
180964
|
+
"enumValues": null,
|
|
180965
|
+
"fields": null,
|
|
180966
|
+
"inputFields": [
|
|
180967
|
+
{
|
|
180968
|
+
"defaultValue": null,
|
|
180969
|
+
"description": "Filter by agent field. If omitted, no filter on agent.",
|
|
180970
|
+
"name": "agent",
|
|
180971
|
+
"type": {
|
|
180972
|
+
"kind": "INPUT_OBJECT",
|
|
180973
|
+
"name": "AgentSpanFieldFilterInput",
|
|
180974
|
+
"ofType": null
|
|
180975
|
+
}
|
|
180976
|
+
},
|
|
180977
|
+
{
|
|
180978
|
+
"defaultValue": null,
|
|
180979
|
+
"description": "Filter by workflow field. If omitted, no filter on workflow.",
|
|
180980
|
+
"name": "workflow",
|
|
180981
|
+
"type": {
|
|
180982
|
+
"kind": "INPUT_OBJECT",
|
|
180983
|
+
"name": "AgentSpanFieldFilterInput",
|
|
180984
|
+
"ofType": null
|
|
180985
|
+
}
|
|
180986
|
+
},
|
|
180987
|
+
{
|
|
180988
|
+
"defaultValue": null,
|
|
180989
|
+
"description": "Filter by task field. If omitted, no filter on task.",
|
|
180990
|
+
"name": "task",
|
|
180991
|
+
"type": {
|
|
180992
|
+
"kind": "INPUT_OBJECT",
|
|
180993
|
+
"name": "AgentSpanFieldFilterInput",
|
|
180994
|
+
"ofType": null
|
|
180995
|
+
}
|
|
180996
|
+
},
|
|
180997
|
+
{
|
|
180998
|
+
"defaultValue": null,
|
|
180999
|
+
"description": "Filter by span_name field. If omitted, no filter on span_name.",
|
|
181000
|
+
"name": "spanName",
|
|
181001
|
+
"type": {
|
|
181002
|
+
"kind": "INPUT_OBJECT",
|
|
181003
|
+
"name": "AgentSpanFieldFilterInput",
|
|
181004
|
+
"ofType": null
|
|
181005
|
+
}
|
|
181006
|
+
}
|
|
181007
|
+
],
|
|
181008
|
+
"interfaces": null,
|
|
181009
|
+
"kind": "INPUT_OBJECT",
|
|
181010
|
+
"name": "AgentSpanFilterInput",
|
|
181011
|
+
"possibleTypes": null
|
|
181012
|
+
},
|
|
181013
|
+
{
|
|
181014
|
+
"description": null,
|
|
181015
|
+
"enumValues": null,
|
|
181016
|
+
"fields": null,
|
|
181017
|
+
"inputFields": [
|
|
181018
|
+
{
|
|
181019
|
+
"defaultValue": null,
|
|
181020
|
+
"description": "Filter value. If null, filters for null values.",
|
|
181021
|
+
"name": "value",
|
|
181022
|
+
"type": {
|
|
181023
|
+
"kind": "SCALAR",
|
|
181024
|
+
"name": "String",
|
|
181025
|
+
"ofType": null
|
|
181026
|
+
}
|
|
181027
|
+
}
|
|
181028
|
+
],
|
|
181029
|
+
"interfaces": null,
|
|
181030
|
+
"kind": "INPUT_OBJECT",
|
|
181031
|
+
"name": "AgentSpanFieldFilterInput",
|
|
181032
|
+
"possibleTypes": null
|
|
181033
|
+
},
|
|
181034
|
+
{
|
|
181035
|
+
"description": null,
|
|
181036
|
+
"enumValues": null,
|
|
181037
|
+
"fields": null,
|
|
181038
|
+
"inputFields": [
|
|
181039
|
+
{
|
|
181040
|
+
"defaultValue": null,
|
|
181041
|
+
"description": null,
|
|
181042
|
+
"name": "percentage",
|
|
181043
|
+
"type": {
|
|
181044
|
+
"kind": "SCALAR",
|
|
181045
|
+
"name": "Float",
|
|
181046
|
+
"ofType": null
|
|
181047
|
+
}
|
|
181048
|
+
},
|
|
181049
|
+
{
|
|
181050
|
+
"defaultValue": null,
|
|
181051
|
+
"description": null,
|
|
181052
|
+
"name": "count",
|
|
181053
|
+
"type": {
|
|
181054
|
+
"kind": "SCALAR",
|
|
181055
|
+
"name": "Int",
|
|
181056
|
+
"ofType": null
|
|
181057
|
+
}
|
|
181058
|
+
}
|
|
181059
|
+
],
|
|
181060
|
+
"interfaces": null,
|
|
181061
|
+
"kind": "INPUT_OBJECT",
|
|
181062
|
+
"name": "MonitorSamplingConfigInput",
|
|
181063
|
+
"possibleTypes": null
|
|
181064
|
+
},
|
|
180480
181065
|
{
|
|
180481
181066
|
"description": null,
|
|
180482
181067
|
"enumValues": null,
|
pycarlo/lib/schema.py
CHANGED
|
@@ -5486,6 +5486,29 @@ class AIMessageInput(sgqlc.types.Input):
|
|
|
5486
5486
|
"""The mcons for the tables added in this message"""
|
|
5487
5487
|
|
|
5488
5488
|
|
|
5489
|
+
class AgentSpanFieldFilterInput(sgqlc.types.Input):
|
|
5490
|
+
__schema__ = schema
|
|
5491
|
+
__field_names__ = ("value",)
|
|
5492
|
+
value = sgqlc.types.Field(String, graphql_name="value")
|
|
5493
|
+
"""Filter value. If null, filters for null values."""
|
|
5494
|
+
|
|
5495
|
+
|
|
5496
|
+
class AgentSpanFilterInput(sgqlc.types.Input):
|
|
5497
|
+
__schema__ = schema
|
|
5498
|
+
__field_names__ = ("agent", "workflow", "task", "span_name")
|
|
5499
|
+
agent = sgqlc.types.Field(AgentSpanFieldFilterInput, graphql_name="agent")
|
|
5500
|
+
"""Filter by agent field. If omitted, no filter on agent."""
|
|
5501
|
+
|
|
5502
|
+
workflow = sgqlc.types.Field(AgentSpanFieldFilterInput, graphql_name="workflow")
|
|
5503
|
+
"""Filter by workflow field. If omitted, no filter on workflow."""
|
|
5504
|
+
|
|
5505
|
+
task = sgqlc.types.Field(AgentSpanFieldFilterInput, graphql_name="task")
|
|
5506
|
+
"""Filter by task field. If omitted, no filter on task."""
|
|
5507
|
+
|
|
5508
|
+
span_name = sgqlc.types.Field(AgentSpanFieldFilterInput, graphql_name="spanName")
|
|
5509
|
+
"""Filter by span_name field. If omitted, no filter on span_name."""
|
|
5510
|
+
|
|
5511
|
+
|
|
5489
5512
|
class AggregateInput(sgqlc.types.Input):
|
|
5490
5513
|
__schema__ = schema
|
|
5491
5514
|
__field_names__ = ("by", "time_axis")
|
|
@@ -7628,6 +7651,14 @@ class MonitorRecommendationsInput(sgqlc.types.Input):
|
|
|
7628
7651
|
"""
|
|
7629
7652
|
|
|
7630
7653
|
|
|
7654
|
+
class MonitorSamplingConfigInput(sgqlc.types.Input):
|
|
7655
|
+
__schema__ = schema
|
|
7656
|
+
__field_names__ = ("percentage", "count")
|
|
7657
|
+
percentage = sgqlc.types.Field(Float, graphql_name="percentage")
|
|
7658
|
+
|
|
7659
|
+
count = sgqlc.types.Field(Int, graphql_name="count")
|
|
7660
|
+
|
|
7661
|
+
|
|
7631
7662
|
class MonitorSelectExpressionInput(sgqlc.types.Input):
|
|
7632
7663
|
__schema__ = schema
|
|
7633
7664
|
__field_names__ = ("expression", "data_type")
|
|
@@ -15395,7 +15426,13 @@ class ConvertUiMonitorsToConfigTemplateOutput(sgqlc.types.Type):
|
|
|
15395
15426
|
"""Convert monitors to config template response"""
|
|
15396
15427
|
|
|
15397
15428
|
__schema__ = schema
|
|
15398
|
-
__field_names__ = (
|
|
15429
|
+
__field_names__ = (
|
|
15430
|
+
"monitors",
|
|
15431
|
+
"config_template_as_yaml",
|
|
15432
|
+
"config_template_as_dict",
|
|
15433
|
+
"errors",
|
|
15434
|
+
"warnings",
|
|
15435
|
+
)
|
|
15399
15436
|
monitors = sgqlc.types.Field(sgqlc.types.list_of("UserDefinedMonitor"), graphql_name="monitors")
|
|
15400
15437
|
"""Converted monitors"""
|
|
15401
15438
|
|
|
@@ -15408,6 +15445,9 @@ class ConvertUiMonitorsToConfigTemplateOutput(sgqlc.types.Type):
|
|
|
15408
15445
|
errors = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name="errors")
|
|
15409
15446
|
"""Errors encountered"""
|
|
15410
15447
|
|
|
15448
|
+
warnings = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name="warnings")
|
|
15449
|
+
"""Warnings encountered"""
|
|
15450
|
+
|
|
15411
15451
|
|
|
15412
15452
|
class CorrelationSamplingMetadata(sgqlc.types.Type):
|
|
15413
15453
|
__schema__ = schema
|
|
@@ -15601,6 +15641,17 @@ class CreateOrUpdateAgent(sgqlc.types.Type):
|
|
|
15601
15641
|
"""Result validating the provided parameters."""
|
|
15602
15642
|
|
|
15603
15643
|
|
|
15644
|
+
class CreateOrUpdateAgentMonitor(sgqlc.types.Type):
|
|
15645
|
+
__schema__ = schema
|
|
15646
|
+
__field_names__ = ("agent_monitor", "queries")
|
|
15647
|
+
agent_monitor = sgqlc.types.Field("MetricMonitoring", graphql_name="agentMonitor")
|
|
15648
|
+
|
|
15649
|
+
queries = sgqlc.types.Field(
|
|
15650
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name="queries"
|
|
15651
|
+
)
|
|
15652
|
+
"""SQL queries that will be run by the monitor on each execution."""
|
|
15653
|
+
|
|
15654
|
+
|
|
15604
15655
|
class CreateOrUpdateAlationIntegration(sgqlc.types.Type):
|
|
15605
15656
|
"""Create or update Alation integration"""
|
|
15606
15657
|
|
|
@@ -24082,6 +24133,14 @@ class MonitorRecommendationsResponse(sgqlc.types.Type):
|
|
|
24082
24133
|
)
|
|
24083
24134
|
|
|
24084
24135
|
|
|
24136
|
+
class MonitorSamplingConfig(sgqlc.types.Type):
|
|
24137
|
+
__schema__ = schema
|
|
24138
|
+
__field_names__ = ("percentage", "count")
|
|
24139
|
+
percentage = sgqlc.types.Field(Float, graphql_name="percentage")
|
|
24140
|
+
|
|
24141
|
+
count = sgqlc.types.Field(Int, graphql_name="count")
|
|
24142
|
+
|
|
24143
|
+
|
|
24085
24144
|
class MonitorSchedulingConfiguration(sgqlc.types.Type):
|
|
24086
24145
|
__schema__ = schema
|
|
24087
24146
|
__field_names__ = ("schedule_type", "interval_minutes", "start_time")
|
|
@@ -24105,6 +24164,25 @@ class MonitorScoreTrendType(sgqlc.types.Type):
|
|
|
24105
24164
|
"""Pass percentage for the day"""
|
|
24106
24165
|
|
|
24107
24166
|
|
|
24167
|
+
class MonitorSqlBlocks(sgqlc.types.Type):
|
|
24168
|
+
__schema__ = schema
|
|
24169
|
+
__field_names__ = ("alert_condition", "where_condition", "group_by", "agent_span")
|
|
24170
|
+
alert_condition = sgqlc.types.Field(
|
|
24171
|
+
sgqlc.types.non_null("FilterGroup"), graphql_name="alertCondition"
|
|
24172
|
+
)
|
|
24173
|
+
|
|
24174
|
+
where_condition = sgqlc.types.Field(
|
|
24175
|
+
sgqlc.types.non_null("FilterGroup"), graphql_name="whereCondition"
|
|
24176
|
+
)
|
|
24177
|
+
|
|
24178
|
+
group_by = sgqlc.types.Field(
|
|
24179
|
+
sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(FilterValueInterface))),
|
|
24180
|
+
graphql_name="groupBy",
|
|
24181
|
+
)
|
|
24182
|
+
|
|
24183
|
+
agent_span = sgqlc.types.Field(sgqlc.types.non_null("FilterGroup"), graphql_name="agentSpan")
|
|
24184
|
+
|
|
24185
|
+
|
|
24108
24186
|
class MonitorSummary(sgqlc.types.Type):
|
|
24109
24187
|
__schema__ = schema
|
|
24110
24188
|
__field_names__ = (
|
|
@@ -24712,6 +24790,7 @@ class Mutation(sgqlc.types.Type):
|
|
|
24712
24790
|
"pause_monitor_bootstrap",
|
|
24713
24791
|
"create_or_update_comparison_monitor",
|
|
24714
24792
|
"create_or_update_metric_monitor",
|
|
24793
|
+
"create_or_update_agent_monitor",
|
|
24715
24794
|
"create_or_update_json_schema_monitor",
|
|
24716
24795
|
"validate_cron",
|
|
24717
24796
|
"set_event_detector_feedback",
|
|
@@ -35337,6 +35416,175 @@ class Mutation(sgqlc.types.Type):
|
|
|
35337
35416
|
query
|
|
35338
35417
|
"""
|
|
35339
35418
|
|
|
35419
|
+
create_or_update_agent_monitor = sgqlc.types.Field(
|
|
35420
|
+
CreateOrUpdateAgentMonitor,
|
|
35421
|
+
graphql_name="createOrUpdateAgentMonitor",
|
|
35422
|
+
args=sgqlc.types.ArgDict(
|
|
35423
|
+
(
|
|
35424
|
+
(
|
|
35425
|
+
"agent_span_filters",
|
|
35426
|
+
sgqlc.types.Arg(
|
|
35427
|
+
sgqlc.types.non_null(
|
|
35428
|
+
sgqlc.types.list_of(sgqlc.types.non_null(AgentSpanFilterInput))
|
|
35429
|
+
),
|
|
35430
|
+
graphql_name="agentSpanFilters",
|
|
35431
|
+
default=None,
|
|
35432
|
+
),
|
|
35433
|
+
),
|
|
35434
|
+
(
|
|
35435
|
+
"alert_conditions",
|
|
35436
|
+
sgqlc.types.Arg(
|
|
35437
|
+
sgqlc.types.non_null(
|
|
35438
|
+
sgqlc.types.list_of(sgqlc.types.non_null(CustomRuleComparisonInput))
|
|
35439
|
+
),
|
|
35440
|
+
graphql_name="alertConditions",
|
|
35441
|
+
default=None,
|
|
35442
|
+
),
|
|
35443
|
+
),
|
|
35444
|
+
(
|
|
35445
|
+
"audiences",
|
|
35446
|
+
sgqlc.types.Arg(
|
|
35447
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)),
|
|
35448
|
+
graphql_name="audiences",
|
|
35449
|
+
default=None,
|
|
35450
|
+
),
|
|
35451
|
+
),
|
|
35452
|
+
("connection_id", sgqlc.types.Arg(UUID, graphql_name="connectionId", default=None)),
|
|
35453
|
+
(
|
|
35454
|
+
"data_quality_dimension",
|
|
35455
|
+
sgqlc.types.Arg(String, graphql_name="dataQualityDimension", default=None),
|
|
35456
|
+
),
|
|
35457
|
+
(
|
|
35458
|
+
"data_source",
|
|
35459
|
+
sgqlc.types.Arg(
|
|
35460
|
+
sgqlc.types.non_null(DataSourceUnionInput),
|
|
35461
|
+
graphql_name="dataSource",
|
|
35462
|
+
default=None,
|
|
35463
|
+
),
|
|
35464
|
+
),
|
|
35465
|
+
(
|
|
35466
|
+
"description",
|
|
35467
|
+
sgqlc.types.Arg(
|
|
35468
|
+
sgqlc.types.non_null(String), graphql_name="description", default=None
|
|
35469
|
+
),
|
|
35470
|
+
),
|
|
35471
|
+
("dry_run", sgqlc.types.Arg(Boolean, graphql_name="dryRun", default=False)),
|
|
35472
|
+
(
|
|
35473
|
+
"dw_id",
|
|
35474
|
+
sgqlc.types.Arg(sgqlc.types.non_null(UUID), graphql_name="dwId", default=None),
|
|
35475
|
+
),
|
|
35476
|
+
(
|
|
35477
|
+
"fail_on_reset",
|
|
35478
|
+
sgqlc.types.Arg(Boolean, graphql_name="failOnReset", default=False),
|
|
35479
|
+
),
|
|
35480
|
+
(
|
|
35481
|
+
"failure_audiences",
|
|
35482
|
+
sgqlc.types.Arg(
|
|
35483
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)),
|
|
35484
|
+
graphql_name="failureAudiences",
|
|
35485
|
+
default=None,
|
|
35486
|
+
),
|
|
35487
|
+
),
|
|
35488
|
+
(
|
|
35489
|
+
"filters",
|
|
35490
|
+
sgqlc.types.Arg(FilterGroupInput, graphql_name="filters", default=None),
|
|
35491
|
+
),
|
|
35492
|
+
("notes", sgqlc.types.Arg(String, graphql_name="notes", default="")),
|
|
35493
|
+
("priority", sgqlc.types.Arg(String, graphql_name="priority", default=None)),
|
|
35494
|
+
(
|
|
35495
|
+
"sampling_config",
|
|
35496
|
+
sgqlc.types.Arg(
|
|
35497
|
+
MonitorSamplingConfigInput, graphql_name="samplingConfig", default=None
|
|
35498
|
+
),
|
|
35499
|
+
),
|
|
35500
|
+
(
|
|
35501
|
+
"schedule_config",
|
|
35502
|
+
sgqlc.types.Arg(
|
|
35503
|
+
sgqlc.types.non_null(ScheduleConfigInput),
|
|
35504
|
+
graphql_name="scheduleConfig",
|
|
35505
|
+
default=None,
|
|
35506
|
+
),
|
|
35507
|
+
),
|
|
35508
|
+
(
|
|
35509
|
+
"segment_count_hint",
|
|
35510
|
+
sgqlc.types.Arg(Int, graphql_name="segmentCountHint", default=None),
|
|
35511
|
+
),
|
|
35512
|
+
(
|
|
35513
|
+
"segments",
|
|
35514
|
+
sgqlc.types.Arg(
|
|
35515
|
+
sgqlc.types.list_of(sgqlc.types.non_null(FilterValueUnionInput)),
|
|
35516
|
+
graphql_name="segments",
|
|
35517
|
+
default=None,
|
|
35518
|
+
),
|
|
35519
|
+
),
|
|
35520
|
+
(
|
|
35521
|
+
"sensitivity",
|
|
35522
|
+
sgqlc.types.Arg(SensitivityLevels, graphql_name="sensitivity", default=None),
|
|
35523
|
+
),
|
|
35524
|
+
("skip_reset", sgqlc.types.Arg(Boolean, graphql_name="skipReset", default=False)),
|
|
35525
|
+
(
|
|
35526
|
+
"tags",
|
|
35527
|
+
sgqlc.types.Arg(
|
|
35528
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
35529
|
+
graphql_name="tags",
|
|
35530
|
+
default=None,
|
|
35531
|
+
),
|
|
35532
|
+
),
|
|
35533
|
+
("uuid", sgqlc.types.Arg(UUID, graphql_name="uuid", default=None)),
|
|
35534
|
+
)
|
|
35535
|
+
),
|
|
35536
|
+
)
|
|
35537
|
+
"""(experimental) Create or update an Agent monitor
|
|
35538
|
+
|
|
35539
|
+
Arguments:
|
|
35540
|
+
|
|
35541
|
+
* `agent_span_filters` (`[AgentSpanFilterInput!]!`): Filter by
|
|
35542
|
+
agent span fields (agent, workflow, task, span_name)
|
|
35543
|
+
* `alert_conditions` (`[CustomRuleComparisonInput!]!`): Alert
|
|
35544
|
+
conditions.
|
|
35545
|
+
* `audiences` (`[String!]`): The monitor notification audiences
|
|
35546
|
+
* `connection_id` (`UUID`): Specify a connection (e.g. query-
|
|
35547
|
+
engine) to use
|
|
35548
|
+
* `data_quality_dimension` (`String`): Data quality dimension.
|
|
35549
|
+
* `data_source` (`DataSourceUnionInput!`)None
|
|
35550
|
+
* `description` (`String!`): Used as the name in the UI
|
|
35551
|
+
* `dry_run` (`Boolean`): Dry run the monitor creation or update
|
|
35552
|
+
and return the MaC YAML and queries. (default: `false`)
|
|
35553
|
+
* `dw_id` (`UUID!`): Warehouse the monitor will be run on.
|
|
35554
|
+
* `fail_on_reset` (`Boolean`): Return an error if the update is a
|
|
35555
|
+
significant change that would require a monitor reset. (default:
|
|
35556
|
+
`false`)
|
|
35557
|
+
* `failure_audiences` (`[String!]`): The monitor notification
|
|
35558
|
+
audiences for failures
|
|
35559
|
+
* `filters` (`FilterGroupInput`): Structured SQL filtering
|
|
35560
|
+
conditions to apply to query
|
|
35561
|
+
* `notes` (`String`): Additional context for the monitor (default:
|
|
35562
|
+
`""`)
|
|
35563
|
+
* `priority` (`String`): The default priority for alerts involving
|
|
35564
|
+
this monitor
|
|
35565
|
+
* `sampling_config` (`MonitorSamplingConfigInput`): Sampling
|
|
35566
|
+
configuration: either percentage or fixed count
|
|
35567
|
+
* `schedule_config` (`ScheduleConfigInput!`): Schedule of monitor
|
|
35568
|
+
* `segment_count_hint` (`Int`): Segment count when then monitor
|
|
35569
|
+
was created. Can be returned as the segment count for the
|
|
35570
|
+
monitor when no successful execution has yet occurred, and a
|
|
35571
|
+
fresh segment count is not available. This allows the UI to
|
|
35572
|
+
properly validate the monitor configuration and avoid creating
|
|
35573
|
+
monitors that will fail when they are created due too many
|
|
35574
|
+
metric combinations.
|
|
35575
|
+
* `segments` (`[FilterValueUnionInput!]`): Segments
|
|
35576
|
+
* `sensitivity` (`SensitivityLevels`): Sensitivity for automated
|
|
35577
|
+
thresholds.
|
|
35578
|
+
* `skip_reset` (`Boolean`): Do not reset monitor if the update is
|
|
35579
|
+
a significant change that would normally cause the monitor to be
|
|
35580
|
+
reset. Learned model might not match the new monitor
|
|
35581
|
+
configuration and false positives might be detected for up to 35
|
|
35582
|
+
days (default: `false`)
|
|
35583
|
+
* `tags` (`[TagKeyValuePairInput!]`): The monitor tags.
|
|
35584
|
+
* `uuid` (`UUID`): UUID of the monitor. If specified, it means the
|
|
35585
|
+
request is for update
|
|
35586
|
+
"""
|
|
35587
|
+
|
|
35340
35588
|
create_or_update_json_schema_monitor = sgqlc.types.Field(
|
|
35341
35589
|
CreateOrUpdateJsonSchemaMonitor,
|
|
35342
35590
|
graphql_name="createOrUpdateJsonSchemaMonitor",
|
|
@@ -71667,11 +71915,11 @@ class MetricMonitoring(sgqlc.types.Type, Node):
|
|
|
71667
71915
|
version = sgqlc.types.Field(Int, graphql_name="version")
|
|
71668
71916
|
"""Configuration version of the monitor."""
|
|
71669
71917
|
|
|
71670
|
-
sql_blocks = sgqlc.types.Field(
|
|
71671
|
-
"""
|
|
71918
|
+
sql_blocks = sgqlc.types.Field(MonitorSqlBlocks, graphql_name="sqlBlocks")
|
|
71919
|
+
"""SQL blocks used on the monitor"""
|
|
71672
71920
|
|
|
71673
|
-
sampling_config = sgqlc.types.Field(
|
|
71674
|
-
"""Sampling configuration"""
|
|
71921
|
+
sampling_config = sgqlc.types.Field(MonitorSamplingConfig, graphql_name="samplingConfig")
|
|
71922
|
+
"""Sampling configuration for the monitor"""
|
|
71675
71923
|
|
|
71676
71924
|
table = sgqlc.types.Field("WarehouseTable", graphql_name="table")
|
|
71677
71925
|
"""Table related to monitor"""
|
|
@@ -35,10 +35,10 @@ pycarlo/features/user/queries.py,sha256=m97RvM0oiBlrU5xmOwe_JJ5N0G0NG5hIOeyQqN2O
|
|
|
35
35
|
pycarlo/features/user/service.py,sha256=DHkhuonySaHro07NTd0YNe3cNkDk62CiRTY77dhVaMs,2890
|
|
36
36
|
pycarlo/lib/README.md,sha256=QGNeUefPzLKGyZqn5aITpcFgkC9WQTNS292BGisRFHk,139
|
|
37
37
|
pycarlo/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
|
-
pycarlo/lib/schema.json,sha256=
|
|
39
|
-
pycarlo/lib/schema.py,sha256=
|
|
40
|
-
pycarlo-0.10.
|
|
41
|
-
pycarlo-0.10.
|
|
42
|
-
pycarlo-0.10.
|
|
43
|
-
pycarlo-0.10.
|
|
44
|
-
pycarlo-0.10.
|
|
38
|
+
pycarlo/lib/schema.json,sha256=YQpKwKw7h75CDmwj-LKbhTGbgKMF3JCwY87SlYaE3rA,6063360
|
|
39
|
+
pycarlo/lib/schema.py,sha256=6vcISuQ59bHW64hwXcq5Ltwu3Z9HQh5gpLwWOjNubq0,2620930
|
|
40
|
+
pycarlo-0.10.105.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
41
|
+
pycarlo-0.10.105.dist-info/METADATA,sha256=P45iBYAq4f3sCdMvyRo-cUyg3NJx_a7okAn7YrUBrH0,8742
|
|
42
|
+
pycarlo-0.10.105.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
43
|
+
pycarlo-0.10.105.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
|
|
44
|
+
pycarlo-0.10.105.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|