pycarlo 0.12.67__py3-none-any.whl → 0.12.80__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 +1851 -98
- pycarlo/lib/schema.py +817 -19
- {pycarlo-0.12.67.dist-info → pycarlo-0.12.80.dist-info}/METADATA +1 -1
- {pycarlo-0.12.67.dist-info → pycarlo-0.12.80.dist-info}/RECORD +7 -7
- {pycarlo-0.12.67.dist-info → pycarlo-0.12.80.dist-info}/WHEEL +1 -1
- {pycarlo-0.12.67.dist-info → pycarlo-0.12.80.dist-info}/LICENSE +0 -0
- {pycarlo-0.12.67.dist-info → pycarlo-0.12.80.dist-info}/top_level.txt +0 -0
pycarlo/lib/schema.py
CHANGED
|
@@ -508,6 +508,12 @@ class AlertSubType(pycarlo.lib.types.Enum):
|
|
|
508
508
|
* `ADF_JOB_FAILURE`None
|
|
509
509
|
* `AGENT_ANOMALIES`None
|
|
510
510
|
* `AGENT_ANOMALY`None
|
|
511
|
+
* `AGENT_EVALUATION_ANOMALIES`None
|
|
512
|
+
* `AGENT_EVALUATION_ANOMALY`None
|
|
513
|
+
* `AGENT_METRIC_ANOMALIES`None
|
|
514
|
+
* `AGENT_METRIC_ANOMALY`None
|
|
515
|
+
* `AGENT_TRAJECTORY_ANOMALIES`None
|
|
516
|
+
* `AGENT_TRAJECTORY_ANOMALY`None
|
|
511
517
|
* `AIRFLOW_DAG_FAILURE`None
|
|
512
518
|
* `ANOMALIES`None
|
|
513
519
|
* `COMPARISON_RULE_BREACH`None
|
|
@@ -557,6 +563,12 @@ class AlertSubType(pycarlo.lib.types.Enum):
|
|
|
557
563
|
"ADF_JOB_FAILURE",
|
|
558
564
|
"AGENT_ANOMALIES",
|
|
559
565
|
"AGENT_ANOMALY",
|
|
566
|
+
"AGENT_EVALUATION_ANOMALIES",
|
|
567
|
+
"AGENT_EVALUATION_ANOMALY",
|
|
568
|
+
"AGENT_METRIC_ANOMALIES",
|
|
569
|
+
"AGENT_METRIC_ANOMALY",
|
|
570
|
+
"AGENT_TRAJECTORY_ANOMALIES",
|
|
571
|
+
"AGENT_TRAJECTORY_ANOMALY",
|
|
560
572
|
"AIRFLOW_DAG_FAILURE",
|
|
561
573
|
"ANOMALIES",
|
|
562
574
|
"COMPARISON_RULE_BREACH",
|
|
@@ -606,6 +618,9 @@ class AlertType(pycarlo.lib.types.Enum):
|
|
|
606
618
|
"""Enumeration Choices:
|
|
607
619
|
|
|
608
620
|
* `AGENT_ANOMALIES`None
|
|
621
|
+
* `AGENT_EVALUATION_ANOMALIES`None
|
|
622
|
+
* `AGENT_METRIC_ANOMALIES`None
|
|
623
|
+
* `AGENT_TRAJECTORY_ANOMALIES`None
|
|
609
624
|
* `ANOMALIES`None
|
|
610
625
|
* `CUSTOM_RULE_ANOMALIES`None
|
|
611
626
|
* `DBT_ERRORS`None
|
|
@@ -624,6 +639,9 @@ class AlertType(pycarlo.lib.types.Enum):
|
|
|
624
639
|
__schema__ = schema
|
|
625
640
|
__choices__ = (
|
|
626
641
|
"AGENT_ANOMALIES",
|
|
642
|
+
"AGENT_EVALUATION_ANOMALIES",
|
|
643
|
+
"AGENT_METRIC_ANOMALIES",
|
|
644
|
+
"AGENT_TRAJECTORY_ANOMALIES",
|
|
627
645
|
"ANOMALIES",
|
|
628
646
|
"CUSTOM_RULE_ANOMALIES",
|
|
629
647
|
"DBT_ERRORS",
|
|
@@ -1349,13 +1367,13 @@ class CustomDashboardWidgetType(pycarlo.lib.types.Enum):
|
|
|
1349
1367
|
"""Enumeration Choices:
|
|
1350
1368
|
|
|
1351
1369
|
* `GRAPH`None
|
|
1352
|
-
* `
|
|
1370
|
+
* `SINGLE_VALUE`None
|
|
1353
1371
|
* `TABLE`None
|
|
1354
1372
|
* `TEXT`None
|
|
1355
1373
|
"""
|
|
1356
1374
|
|
|
1357
1375
|
__schema__ = schema
|
|
1358
|
-
__choices__ = ("GRAPH", "
|
|
1376
|
+
__choices__ = ("GRAPH", "SINGLE_VALUE", "TABLE", "TEXT")
|
|
1359
1377
|
|
|
1360
1378
|
|
|
1361
1379
|
class CustomRuleComparisonOperator(pycarlo.lib.types.Enum):
|
|
@@ -1891,6 +1909,17 @@ class DetectorStatus(pycarlo.lib.types.Enum):
|
|
|
1891
1909
|
__choices__ = ("ACTIVE", "INACTIVE", "TRAINING")
|
|
1892
1910
|
|
|
1893
1911
|
|
|
1912
|
+
class DomainModelDomainType(pycarlo.lib.types.Enum):
|
|
1913
|
+
"""Enumeration Choices:
|
|
1914
|
+
|
|
1915
|
+
* `METADATA`: Metadata
|
|
1916
|
+
* `SAMPLING`: Sampling
|
|
1917
|
+
"""
|
|
1918
|
+
|
|
1919
|
+
__schema__ = schema
|
|
1920
|
+
__choices__ = ("METADATA", "SAMPLING")
|
|
1921
|
+
|
|
1922
|
+
|
|
1894
1923
|
class ETLAssetType(pycarlo.lib.types.Enum):
|
|
1895
1924
|
"""Enum to distinguish between jobs and tasks
|
|
1896
1925
|
|
|
@@ -2115,6 +2144,9 @@ class EventModelEventType(pycarlo.lib.types.Enum):
|
|
|
2115
2144
|
|
|
2116
2145
|
* `ADF_JOB_FAILURE`: Data Factory Pipeline Failure
|
|
2117
2146
|
* `AGENT_ANOM`: Agent Anomaly
|
|
2147
|
+
* `AGENT_EVALUATION_ANOM`: Agent Evaluation Anomaly
|
|
2148
|
+
* `AGENT_METRIC_ANOM`: Agent Metric Anomaly
|
|
2149
|
+
* `AGENT_TRAJECTORY_ANOM`: Agent Trajectory Anomaly
|
|
2118
2150
|
* `AIRFLOW_DAG_FAILURE`: Airflow DAG Failure
|
|
2119
2151
|
* `COMMENT`: Timeline Comment
|
|
2120
2152
|
* `COMPARISON_RULE_ANOM`: Comparison Rule Anomaly
|
|
@@ -2156,6 +2188,9 @@ class EventModelEventType(pycarlo.lib.types.Enum):
|
|
|
2156
2188
|
__choices__ = (
|
|
2157
2189
|
"ADF_JOB_FAILURE",
|
|
2158
2190
|
"AGENT_ANOM",
|
|
2191
|
+
"AGENT_EVALUATION_ANOM",
|
|
2192
|
+
"AGENT_METRIC_ANOM",
|
|
2193
|
+
"AGENT_TRAJECTORY_ANOM",
|
|
2159
2194
|
"AIRFLOW_DAG_FAILURE",
|
|
2160
2195
|
"COMMENT",
|
|
2161
2196
|
"COMPARISON_RULE_ANOM",
|
|
@@ -2287,9 +2322,11 @@ class ExecDashboardMetrics(pycarlo.lib.types.Enum):
|
|
|
2287
2322
|
|
|
2288
2323
|
Enumeration Choices:
|
|
2289
2324
|
|
|
2325
|
+
* `ALERTS_BY_ACKNOWLEDGEMENT_AND_DOMAIN_COUNT`None
|
|
2290
2326
|
* `DAILY_MUTED_TABLES_COUNTS`None
|
|
2291
2327
|
* `DAILY_NON_MUTED_TABLES_COUNTS`None
|
|
2292
2328
|
* `DAILY_TABLES_COUNTS`None
|
|
2329
|
+
* `DECLARED_INCIDENTS_BY_DOMAIN_COUNT`None
|
|
2293
2330
|
* `DECLARED_INCIDENTS_BY_SEVERITY_AND_TYPE_COUNTS`None
|
|
2294
2331
|
* `DECLARED_INCIDENTS_BY_SEVERITY_COUNTS`None
|
|
2295
2332
|
* `DECLARED_INCIDENTS_COUNTS`None
|
|
@@ -2301,6 +2338,7 @@ class ExecDashboardMetrics(pycarlo.lib.types.Enum):
|
|
|
2301
2338
|
* `INCIDENTS_MEDIAN_TIME_TO_FIRST_RESPONSE`None
|
|
2302
2339
|
* `INCIDENTS_MEDIAN_TIME_TO_RESOLUTION`None
|
|
2303
2340
|
* `INCIDENTS_STATUS_UPDATE_RATE`None
|
|
2341
|
+
* `MONITORS_BY_TYPE_AND_DOMAIN_COUNT`None
|
|
2304
2342
|
* `MONITORS_CREATED_COUNT`None
|
|
2305
2343
|
* `MONITORS_INCIDENTS_COUNTS`None
|
|
2306
2344
|
* `OOTB_FRESHNESS_UPTIME_PCT`None
|
|
@@ -2315,9 +2353,11 @@ class ExecDashboardMetrics(pycarlo.lib.types.Enum):
|
|
|
2315
2353
|
|
|
2316
2354
|
__schema__ = schema
|
|
2317
2355
|
__choices__ = (
|
|
2356
|
+
"ALERTS_BY_ACKNOWLEDGEMENT_AND_DOMAIN_COUNT",
|
|
2318
2357
|
"DAILY_MUTED_TABLES_COUNTS",
|
|
2319
2358
|
"DAILY_NON_MUTED_TABLES_COUNTS",
|
|
2320
2359
|
"DAILY_TABLES_COUNTS",
|
|
2360
|
+
"DECLARED_INCIDENTS_BY_DOMAIN_COUNT",
|
|
2321
2361
|
"DECLARED_INCIDENTS_BY_SEVERITY_AND_TYPE_COUNTS",
|
|
2322
2362
|
"DECLARED_INCIDENTS_BY_SEVERITY_COUNTS",
|
|
2323
2363
|
"DECLARED_INCIDENTS_COUNTS",
|
|
@@ -2329,6 +2369,7 @@ class ExecDashboardMetrics(pycarlo.lib.types.Enum):
|
|
|
2329
2369
|
"INCIDENTS_MEDIAN_TIME_TO_FIRST_RESPONSE",
|
|
2330
2370
|
"INCIDENTS_MEDIAN_TIME_TO_RESOLUTION",
|
|
2331
2371
|
"INCIDENTS_STATUS_UPDATE_RATE",
|
|
2372
|
+
"MONITORS_BY_TYPE_AND_DOMAIN_COUNT",
|
|
2332
2373
|
"MONITORS_CREATED_COUNT",
|
|
2333
2374
|
"MONITORS_INCIDENTS_COUNTS",
|
|
2334
2375
|
"OOTB_FRESHNESS_UPTIME_PCT",
|
|
@@ -3109,6 +3150,9 @@ class IncidentModelIncidentType(pycarlo.lib.types.Enum):
|
|
|
3109
3150
|
"""Enumeration Choices:
|
|
3110
3151
|
|
|
3111
3152
|
* `AGENT_ANOMALIES`: Agent anomalies
|
|
3153
|
+
* `AGENT_EVALUATION_ANOMALIES`: Agent evaluation anomalies
|
|
3154
|
+
* `AGENT_METRIC_ANOMALIES`: Agent metric anomalies
|
|
3155
|
+
* `AGENT_TRAJECTORY_ANOMALIES`: Agent trajectory anomalies
|
|
3112
3156
|
* `ANOMALIES`: Anomalies
|
|
3113
3157
|
* `CUSTOM_RULE_ANOMALIES`: Custom rule anomalies
|
|
3114
3158
|
* `DBT_ERRORS`: dbt errors
|
|
@@ -3127,6 +3171,9 @@ class IncidentModelIncidentType(pycarlo.lib.types.Enum):
|
|
|
3127
3171
|
__schema__ = schema
|
|
3128
3172
|
__choices__ = (
|
|
3129
3173
|
"AGENT_ANOMALIES",
|
|
3174
|
+
"AGENT_EVALUATION_ANOMALIES",
|
|
3175
|
+
"AGENT_METRIC_ANOMALIES",
|
|
3176
|
+
"AGENT_TRAJECTORY_ANOMALIES",
|
|
3130
3177
|
"ANOMALIES",
|
|
3131
3178
|
"CUSTOM_RULE_ANOMALIES",
|
|
3132
3179
|
"DBT_ERRORS",
|
|
@@ -3163,6 +3210,9 @@ class IncidentSubType(pycarlo.lib.types.Enum):
|
|
|
3163
3210
|
* `abnormal_size_change`None
|
|
3164
3211
|
* `adf_job_failure`None
|
|
3165
3212
|
* `agent_anomaly`None
|
|
3213
|
+
* `agent_evaluation_anomaly`None
|
|
3214
|
+
* `agent_metric_anomaly`None
|
|
3215
|
+
* `agent_trajectory_anomaly`None
|
|
3166
3216
|
* `airflow_dag_failure`None
|
|
3167
3217
|
* `comparison_rule_breach`None
|
|
3168
3218
|
* `data_added`None
|
|
@@ -3198,6 +3248,9 @@ class IncidentSubType(pycarlo.lib.types.Enum):
|
|
|
3198
3248
|
"abnormal_size_change",
|
|
3199
3249
|
"adf_job_failure",
|
|
3200
3250
|
"agent_anomaly",
|
|
3251
|
+
"agent_evaluation_anomaly",
|
|
3252
|
+
"agent_metric_anomaly",
|
|
3253
|
+
"agent_trajectory_anomaly",
|
|
3201
3254
|
"airflow_dag_failure",
|
|
3202
3255
|
"comparison_rule_breach",
|
|
3203
3256
|
"data_added",
|
|
@@ -3643,6 +3696,9 @@ class MetricMonitoringModelType(pycarlo.lib.types.Enum):
|
|
|
3643
3696
|
"""Enumeration Choices:
|
|
3644
3697
|
|
|
3645
3698
|
* `AGENT`: Agent
|
|
3699
|
+
* `AGENT_EVALUATION`: Agent Evaluation
|
|
3700
|
+
* `AGENT_METRIC`: Agent Metric
|
|
3701
|
+
* `AGENT_TRAJECTORY`: Agent Trajectory
|
|
3646
3702
|
* `CATEGORIES`: Dimension
|
|
3647
3703
|
* `HOURLY_STATS`: Statistical metrics over an hour interval
|
|
3648
3704
|
* `JSON_SCHEMA`: JSON schema
|
|
@@ -3653,6 +3709,9 @@ class MetricMonitoringModelType(pycarlo.lib.types.Enum):
|
|
|
3653
3709
|
__schema__ = schema
|
|
3654
3710
|
__choices__ = (
|
|
3655
3711
|
"AGENT",
|
|
3712
|
+
"AGENT_EVALUATION",
|
|
3713
|
+
"AGENT_METRIC",
|
|
3714
|
+
"AGENT_TRAJECTORY",
|
|
3656
3715
|
"CATEGORIES",
|
|
3657
3716
|
"HOURLY_STATS",
|
|
3658
3717
|
"JSON_SCHEMA",
|
|
@@ -4059,6 +4118,8 @@ class Permission(pycarlo.lib.types.Enum):
|
|
|
4059
4118
|
* `IncidentsUpdateStatus`None
|
|
4060
4119
|
* `MonitorsAccess`None
|
|
4061
4120
|
* `MonitorsAggregates`None
|
|
4121
|
+
* `MonitorsDataSamplingAccess`None
|
|
4122
|
+
* `MonitorsDataSamplingDownload`None
|
|
4062
4123
|
* `MonitorsDraft`None
|
|
4063
4124
|
* `MonitorsEdit`None
|
|
4064
4125
|
* `PerformanceAccess`None
|
|
@@ -4067,7 +4128,6 @@ class Permission(pycarlo.lib.types.Enum):
|
|
|
4067
4128
|
* `ProductsAccess`None
|
|
4068
4129
|
* `ProductsDiscoveryAccess`None
|
|
4069
4130
|
* `ProductsObservabilityAccess`None
|
|
4070
|
-
* `ProductsSamplingAccess`None
|
|
4071
4131
|
* `SettingsAccess`None
|
|
4072
4132
|
* `SettingsApiAccess`None
|
|
4073
4133
|
* `SettingsApiEdit`None
|
|
@@ -4124,6 +4184,8 @@ class Permission(pycarlo.lib.types.Enum):
|
|
|
4124
4184
|
"IncidentsUpdateStatus",
|
|
4125
4185
|
"MonitorsAccess",
|
|
4126
4186
|
"MonitorsAggregates",
|
|
4187
|
+
"MonitorsDataSamplingAccess",
|
|
4188
|
+
"MonitorsDataSamplingDownload",
|
|
4127
4189
|
"MonitorsDraft",
|
|
4128
4190
|
"MonitorsEdit",
|
|
4129
4191
|
"PerformanceAccess",
|
|
@@ -4132,7 +4194,6 @@ class Permission(pycarlo.lib.types.Enum):
|
|
|
4132
4194
|
"ProductsAccess",
|
|
4133
4195
|
"ProductsDiscoveryAccess",
|
|
4134
4196
|
"ProductsObservabilityAccess",
|
|
4135
|
-
"ProductsSamplingAccess",
|
|
4136
4197
|
"SettingsAccess",
|
|
4137
4198
|
"SettingsApiAccess",
|
|
4138
4199
|
"SettingsApiEdit",
|
|
@@ -5091,6 +5152,9 @@ class TableAnomalyModelReason(pycarlo.lib.types.Enum):
|
|
|
5091
5152
|
"""Enumeration Choices:
|
|
5092
5153
|
|
|
5093
5154
|
* `AGENT`: Agent Anomaly
|
|
5155
|
+
* `AGENT_EVALUATION`: Agent Evaluation Anomaly
|
|
5156
|
+
* `AGENT_METRIC`: Agent Metric Anomaly
|
|
5157
|
+
* `AGENT_TRAJECTORY`: Agent Trajectory Anomaly
|
|
5094
5158
|
* `COMPARISON_RULE`: Comparison Rule Anomaly
|
|
5095
5159
|
* `CUSTOM_RULE`: Custom Rule Anomaly
|
|
5096
5160
|
* `DIST`: Distribution Anomaly
|
|
@@ -5108,6 +5172,9 @@ class TableAnomalyModelReason(pycarlo.lib.types.Enum):
|
|
|
5108
5172
|
__schema__ = schema
|
|
5109
5173
|
__choices__ = (
|
|
5110
5174
|
"AGENT",
|
|
5175
|
+
"AGENT_EVALUATION",
|
|
5176
|
+
"AGENT_METRIC",
|
|
5177
|
+
"AGENT_TRAJECTORY",
|
|
5111
5178
|
"COMPARISON_RULE",
|
|
5112
5179
|
"CUSTOM_RULE",
|
|
5113
5180
|
"DIST",
|
|
@@ -5540,6 +5607,9 @@ class UserDefinedMonitorModelMonitorType(pycarlo.lib.types.Enum):
|
|
|
5540
5607
|
"""Enumeration Choices:
|
|
5541
5608
|
|
|
5542
5609
|
* `AGENT`: Agent
|
|
5610
|
+
* `AGENT_EVALUATION`: Agent Evaluation
|
|
5611
|
+
* `AGENT_METRIC`: Agent Metric
|
|
5612
|
+
* `AGENT_TRAJECTORY`: Agent Trajectory
|
|
5543
5613
|
* `CATEGORIES`: Dimension
|
|
5544
5614
|
* `COMPARISON`: Comparison
|
|
5545
5615
|
* `CUSTOM_SQL`: Custom SQL
|
|
@@ -5558,6 +5628,9 @@ class UserDefinedMonitorModelMonitorType(pycarlo.lib.types.Enum):
|
|
|
5558
5628
|
__schema__ = schema
|
|
5559
5629
|
__choices__ = (
|
|
5560
5630
|
"AGENT",
|
|
5631
|
+
"AGENT_EVALUATION",
|
|
5632
|
+
"AGENT_METRIC",
|
|
5633
|
+
"AGENT_TRAJECTORY",
|
|
5561
5634
|
"CATEGORIES",
|
|
5562
5635
|
"COMPARISON",
|
|
5563
5636
|
"CUSTOM_SQL",
|
|
@@ -5655,6 +5728,10 @@ class UserDefinedMonitors(pycarlo.lib.types.Enum):
|
|
|
5655
5728
|
"""Enumeration Choices:
|
|
5656
5729
|
|
|
5657
5730
|
* `AGENT`: Agent
|
|
5731
|
+
* `AGENT_EVALUATION`: Agent Evaluation
|
|
5732
|
+
* `AGENT_METRIC`: Agent Metric
|
|
5733
|
+
* `AGENT_TRAJECTORY`: Agent Trajectory
|
|
5734
|
+
* `BULK_METRIC`: Bulk Monitor
|
|
5658
5735
|
* `BULK_MONITOR`: Bulk Monitor
|
|
5659
5736
|
* `CATEGORIES`: Dimension - legacy
|
|
5660
5737
|
* `COMPARISON`: Comparison - legacy
|
|
@@ -5675,6 +5752,10 @@ class UserDefinedMonitors(pycarlo.lib.types.Enum):
|
|
|
5675
5752
|
__schema__ = schema
|
|
5676
5753
|
__choices__ = (
|
|
5677
5754
|
"AGENT",
|
|
5755
|
+
"AGENT_EVALUATION",
|
|
5756
|
+
"AGENT_METRIC",
|
|
5757
|
+
"AGENT_TRAJECTORY",
|
|
5758
|
+
"BULK_METRIC",
|
|
5678
5759
|
"BULK_MONITOR",
|
|
5679
5760
|
"CATEGORIES",
|
|
5680
5761
|
"COMPARISON",
|
|
@@ -8258,6 +8339,7 @@ class MetricsFilter(sgqlc.types.Input):
|
|
|
8258
8339
|
__schema__ = schema
|
|
8259
8340
|
__field_names__ = (
|
|
8260
8341
|
"monitor_id",
|
|
8342
|
+
"bulk_monitor_id",
|
|
8261
8343
|
"mcon",
|
|
8262
8344
|
"full_table_id",
|
|
8263
8345
|
"dw_id",
|
|
@@ -8271,6 +8353,11 @@ class MetricsFilter(sgqlc.types.Input):
|
|
|
8271
8353
|
monitor_id = sgqlc.types.Field(UUID, graphql_name="monitorId")
|
|
8272
8354
|
"""UUID of the monitor or custom rule"""
|
|
8273
8355
|
|
|
8356
|
+
bulk_monitor_id = sgqlc.types.Field(UUID, graphql_name="bulkMonitorId")
|
|
8357
|
+
"""UUID of the bulk monitor. Returns aggregated metrics for a given
|
|
8358
|
+
table.full_table_id is required when using bulk_monitor_id
|
|
8359
|
+
"""
|
|
8360
|
+
|
|
8274
8361
|
mcon = sgqlc.types.Field(String, graphql_name="mcon")
|
|
8275
8362
|
"""MCON of the asset tracked by the metrics to be fetched"""
|
|
8276
8363
|
|
|
@@ -9603,6 +9690,7 @@ class ServiceNowIntegrationOptionsInput(sgqlc.types.Input):
|
|
|
9603
9690
|
"supports_fetch_incident",
|
|
9604
9691
|
"set_description_field",
|
|
9605
9692
|
"status_mappings",
|
|
9693
|
+
"create_incidents",
|
|
9606
9694
|
)
|
|
9607
9695
|
oauth_token_endpoint = sgqlc.types.Field(String, graphql_name="oauthTokenEndpoint")
|
|
9608
9696
|
|
|
@@ -9623,6 +9711,8 @@ class ServiceNowIntegrationOptionsInput(sgqlc.types.Input):
|
|
|
9623
9711
|
graphql_name="statusMappings",
|
|
9624
9712
|
)
|
|
9625
9713
|
|
|
9714
|
+
create_incidents = sgqlc.types.Field(Boolean, graphql_name="createIncidents")
|
|
9715
|
+
|
|
9626
9716
|
|
|
9627
9717
|
class ServiceNowStateMappingInput(sgqlc.types.Input):
|
|
9628
9718
|
__schema__ = schema
|
|
@@ -12873,10 +12963,11 @@ class AccountNotificationSetting(sgqlc.types.Type):
|
|
|
12873
12963
|
"""Limit notifications to specific incident types (default=all).
|
|
12874
12964
|
Supported options include: anomalies, schema_changes,
|
|
12875
12965
|
json_schema_changes, deleted_tables, metric_anomalies,
|
|
12876
|
-
|
|
12877
|
-
|
|
12878
|
-
|
|
12879
|
-
|
|
12966
|
+
agent_metric_anomalies, agent_evaluation_anomalies,
|
|
12967
|
+
agent_trajectory_anomalies, agent_anomalies,
|
|
12968
|
+
metric_comparison_anomalies, custom_rule_anomalies,
|
|
12969
|
+
performance_anomalies, dbt_errors, etl_errors,
|
|
12970
|
+
pseudo_integration_test, rule_run_execution_error, merged
|
|
12880
12971
|
"""
|
|
12881
12972
|
|
|
12882
12973
|
incident_sub_types = sgqlc.types.Field(
|
|
@@ -13464,14 +13555,12 @@ class AgentSpanNode(sgqlc.types.Type):
|
|
|
13464
13555
|
|
|
13465
13556
|
class AgentSpanTree(sgqlc.types.Type):
|
|
13466
13557
|
__schema__ = schema
|
|
13467
|
-
__field_names__ = ("nodes",
|
|
13558
|
+
__field_names__ = ("nodes",)
|
|
13468
13559
|
nodes = sgqlc.types.Field(
|
|
13469
13560
|
sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(AgentSpanNode))),
|
|
13470
13561
|
graphql_name="nodes",
|
|
13471
13562
|
)
|
|
13472
13563
|
|
|
13473
|
-
query = sgqlc.types.Field(String, graphql_name="query")
|
|
13474
|
-
|
|
13475
13564
|
|
|
13476
13565
|
class AgentTraceTableConnection(sgqlc.types.relay.Connection):
|
|
13477
13566
|
__schema__ = schema
|
|
@@ -14010,6 +14099,9 @@ class AlertTypeSummary(sgqlc.types.Type):
|
|
|
14010
14099
|
"json_schema_changes",
|
|
14011
14100
|
"deleted_tables",
|
|
14012
14101
|
"metric_anomalies",
|
|
14102
|
+
"agent_metric_anomalies",
|
|
14103
|
+
"agent_evaluation_anomalies",
|
|
14104
|
+
"agent_trajectory_anomalies",
|
|
14013
14105
|
"agent_anomalies",
|
|
14014
14106
|
"metric_comparison_anomalies",
|
|
14015
14107
|
"custom_rule_anomalies",
|
|
@@ -14030,6 +14122,12 @@ class AlertTypeSummary(sgqlc.types.Type):
|
|
|
14030
14122
|
|
|
14031
14123
|
metric_anomalies = sgqlc.types.Field(Int, graphql_name="metricAnomalies")
|
|
14032
14124
|
|
|
14125
|
+
agent_metric_anomalies = sgqlc.types.Field(Int, graphql_name="agentMetricAnomalies")
|
|
14126
|
+
|
|
14127
|
+
agent_evaluation_anomalies = sgqlc.types.Field(Int, graphql_name="agentEvaluationAnomalies")
|
|
14128
|
+
|
|
14129
|
+
agent_trajectory_anomalies = sgqlc.types.Field(Int, graphql_name="agentTrajectoryAnomalies")
|
|
14130
|
+
|
|
14033
14131
|
agent_anomalies = sgqlc.types.Field(Int, graphql_name="agentAnomalies")
|
|
14034
14132
|
|
|
14035
14133
|
metric_comparison_anomalies = sgqlc.types.Field(Int, graphql_name="metricComparisonAnomalies")
|
|
@@ -15875,6 +15973,77 @@ class BulkMonitorEdge(sgqlc.types.Type):
|
|
|
15875
15973
|
"""A cursor for use in pagination"""
|
|
15876
15974
|
|
|
15877
15975
|
|
|
15976
|
+
class BulkMonitorJobExecutionLog(sgqlc.types.Type):
|
|
15977
|
+
"""Job execution log entry with table context for bulk monitors"""
|
|
15978
|
+
|
|
15979
|
+
__schema__ = schema
|
|
15980
|
+
__field_names__ = (
|
|
15981
|
+
"job_execution_uuid",
|
|
15982
|
+
"start_time",
|
|
15983
|
+
"status",
|
|
15984
|
+
"end_time",
|
|
15985
|
+
"exceptions",
|
|
15986
|
+
"exceptions_detail",
|
|
15987
|
+
"total_invocations_count",
|
|
15988
|
+
"total_result_count",
|
|
15989
|
+
"total_execution_duration",
|
|
15990
|
+
"consolidating_job_uuid",
|
|
15991
|
+
"scheduled_timestamp",
|
|
15992
|
+
"table_mcon",
|
|
15993
|
+
"table_id",
|
|
15994
|
+
)
|
|
15995
|
+
job_execution_uuid = sgqlc.types.Field(
|
|
15996
|
+
sgqlc.types.non_null(UUID), graphql_name="jobExecutionUuid"
|
|
15997
|
+
)
|
|
15998
|
+
"""UUID of job execution"""
|
|
15999
|
+
|
|
16000
|
+
start_time = sgqlc.types.Field(DateTime, graphql_name="startTime")
|
|
16001
|
+
"""When the job was scheduled"""
|
|
16002
|
+
|
|
16003
|
+
status = sgqlc.types.Field(JobExecutionStatus, graphql_name="status")
|
|
16004
|
+
|
|
16005
|
+
end_time = sgqlc.types.Field(DateTime, graphql_name="endTime")
|
|
16006
|
+
"""When the job was completed"""
|
|
16007
|
+
|
|
16008
|
+
exceptions = sgqlc.types.Field(String, graphql_name="exceptions")
|
|
16009
|
+
"""Exceptions that were captured during this job execution (pre-
|
|
16010
|
+
formatted)
|
|
16011
|
+
"""
|
|
16012
|
+
|
|
16013
|
+
exceptions_detail = sgqlc.types.Field(
|
|
16014
|
+
sgqlc.types.list_of(sgqlc.types.non_null("JobExecutionException")),
|
|
16015
|
+
graphql_name="exceptionsDetail",
|
|
16016
|
+
)
|
|
16017
|
+
"""Exceptions that were captured during this job execution"""
|
|
16018
|
+
|
|
16019
|
+
total_invocations_count = sgqlc.types.Field(Int, graphql_name="totalInvocationsCount")
|
|
16020
|
+
"""Total number of invocations for the job execution. May be null if
|
|
16021
|
+
execution has not completed.
|
|
16022
|
+
"""
|
|
16023
|
+
|
|
16024
|
+
total_result_count = sgqlc.types.Field(Int, graphql_name="totalResultCount")
|
|
16025
|
+
"""Total number of objects returned by the job execution. May be null
|
|
16026
|
+
if execution has not completed.
|
|
16027
|
+
"""
|
|
16028
|
+
|
|
16029
|
+
total_execution_duration = sgqlc.types.Field(Float, graphql_name="totalExecutionDuration")
|
|
16030
|
+
"""Total execution duration in seconds. May be null if execution has
|
|
16031
|
+
not completed.
|
|
16032
|
+
"""
|
|
16033
|
+
|
|
16034
|
+
consolidating_job_uuid = sgqlc.types.Field(UUID, graphql_name="consolidatingJobUuid")
|
|
16035
|
+
"""UUID of the consolidating job execution"""
|
|
16036
|
+
|
|
16037
|
+
scheduled_timestamp = sgqlc.types.Field(DateTime, graphql_name="scheduledTimestamp")
|
|
16038
|
+
"""When the job was scheduled to run"""
|
|
16039
|
+
|
|
16040
|
+
table_mcon = sgqlc.types.Field(String, graphql_name="tableMcon")
|
|
16041
|
+
"""MCON of the table associated with this execution"""
|
|
16042
|
+
|
|
16043
|
+
table_id = sgqlc.types.Field(String, graphql_name="tableId")
|
|
16044
|
+
"""Full table ID (project:dataset.table) for this execution"""
|
|
16045
|
+
|
|
16046
|
+
|
|
15878
16047
|
class BulkSetEtlJobGeneratesAlerts(sgqlc.types.Type):
|
|
15879
16048
|
"""Set whether a set of ETL jobs (like an Airflow DAG) generates
|
|
15880
16049
|
alerts or not
|
|
@@ -17432,6 +17601,36 @@ class CreateOrUpdateAgent(sgqlc.types.Type):
|
|
|
17432
17601
|
"""Result validating the provided parameters."""
|
|
17433
17602
|
|
|
17434
17603
|
|
|
17604
|
+
class CreateOrUpdateAgentEvaluationMonitor(sgqlc.types.Type):
|
|
17605
|
+
"""Create or update an Agent Evaluation monitor (with sampling_config
|
|
17606
|
+
and transforms).
|
|
17607
|
+
"""
|
|
17608
|
+
|
|
17609
|
+
__schema__ = schema
|
|
17610
|
+
__field_names__ = ("agent_monitor", "queries")
|
|
17611
|
+
agent_monitor = sgqlc.types.Field("MetricMonitoring", graphql_name="agentMonitor")
|
|
17612
|
+
|
|
17613
|
+
queries = sgqlc.types.Field(
|
|
17614
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name="queries"
|
|
17615
|
+
)
|
|
17616
|
+
"""SQL queries that will be run by the monitor on each execution."""
|
|
17617
|
+
|
|
17618
|
+
|
|
17619
|
+
class CreateOrUpdateAgentMetricMonitor(sgqlc.types.Type):
|
|
17620
|
+
"""Create or update an Agent Metric monitor (no sampling_config, no
|
|
17621
|
+
transforms)
|
|
17622
|
+
"""
|
|
17623
|
+
|
|
17624
|
+
__schema__ = schema
|
|
17625
|
+
__field_names__ = ("agent_monitor", "queries")
|
|
17626
|
+
agent_monitor = sgqlc.types.Field("MetricMonitoring", graphql_name="agentMonitor")
|
|
17627
|
+
|
|
17628
|
+
queries = sgqlc.types.Field(
|
|
17629
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name="queries"
|
|
17630
|
+
)
|
|
17631
|
+
"""SQL queries that will be run by the monitor on each execution."""
|
|
17632
|
+
|
|
17633
|
+
|
|
17435
17634
|
class CreateOrUpdateAgentMonitor(sgqlc.types.Type):
|
|
17436
17635
|
__schema__ = schema
|
|
17437
17636
|
__field_names__ = ("agent_monitor", "queries")
|
|
@@ -22164,6 +22363,9 @@ class EventTypeSummary(sgqlc.types.Type):
|
|
|
22164
22363
|
"size_diff",
|
|
22165
22364
|
"metric_anom",
|
|
22166
22365
|
"metric_comparison_anom",
|
|
22366
|
+
"agent_metric_anom",
|
|
22367
|
+
"agent_evaluation_anom",
|
|
22368
|
+
"agent_trajectory_anom",
|
|
22167
22369
|
"agent_anom",
|
|
22168
22370
|
"custom_rule_anom",
|
|
22169
22371
|
"validation_anom",
|
|
@@ -22199,6 +22401,12 @@ class EventTypeSummary(sgqlc.types.Type):
|
|
|
22199
22401
|
|
|
22200
22402
|
metric_comparison_anom = sgqlc.types.Field(Int, graphql_name="metricComparisonAnom")
|
|
22201
22403
|
|
|
22404
|
+
agent_metric_anom = sgqlc.types.Field(Int, graphql_name="agentMetricAnom")
|
|
22405
|
+
|
|
22406
|
+
agent_evaluation_anom = sgqlc.types.Field(Int, graphql_name="agentEvaluationAnom")
|
|
22407
|
+
|
|
22408
|
+
agent_trajectory_anom = sgqlc.types.Field(Int, graphql_name="agentTrajectoryAnom")
|
|
22409
|
+
|
|
22202
22410
|
agent_anom = sgqlc.types.Field(Int, graphql_name="agentAnom")
|
|
22203
22411
|
|
|
22204
22412
|
custom_rule_anom = sgqlc.types.Field(Int, graphql_name="customRuleAnom")
|
|
@@ -23905,6 +24113,9 @@ class IncidentTypeSummary(sgqlc.types.Type):
|
|
|
23905
24113
|
"json_schema_changes",
|
|
23906
24114
|
"deleted_tables",
|
|
23907
24115
|
"metric_anomalies",
|
|
24116
|
+
"agent_metric_anomalies",
|
|
24117
|
+
"agent_evaluation_anomalies",
|
|
24118
|
+
"agent_trajectory_anomalies",
|
|
23908
24119
|
"agent_anomalies",
|
|
23909
24120
|
"metric_comparison_anomalies",
|
|
23910
24121
|
"custom_rule_anomalies",
|
|
@@ -23925,6 +24136,12 @@ class IncidentTypeSummary(sgqlc.types.Type):
|
|
|
23925
24136
|
|
|
23926
24137
|
metric_anomalies = sgqlc.types.Field(Int, graphql_name="metricAnomalies")
|
|
23927
24138
|
|
|
24139
|
+
agent_metric_anomalies = sgqlc.types.Field(Int, graphql_name="agentMetricAnomalies")
|
|
24140
|
+
|
|
24141
|
+
agent_evaluation_anomalies = sgqlc.types.Field(Int, graphql_name="agentEvaluationAnomalies")
|
|
24142
|
+
|
|
24143
|
+
agent_trajectory_anomalies = sgqlc.types.Field(Int, graphql_name="agentTrajectoryAnomalies")
|
|
24144
|
+
|
|
23928
24145
|
agent_anomalies = sgqlc.types.Field(Int, graphql_name="agentAnomalies")
|
|
23929
24146
|
|
|
23930
24147
|
metric_comparison_anomalies = sgqlc.types.Field(Int, graphql_name="metricComparisonAnomalies")
|
|
@@ -24194,7 +24411,18 @@ class IntegrationUpdateResult(sgqlc.types.Type):
|
|
|
24194
24411
|
|
|
24195
24412
|
class InternalNotifications(sgqlc.types.Type):
|
|
24196
24413
|
__schema__ = schema
|
|
24197
|
-
__field_names__ = (
|
|
24414
|
+
__field_names__ = (
|
|
24415
|
+
"id",
|
|
24416
|
+
"type",
|
|
24417
|
+
"friendly_message",
|
|
24418
|
+
"details",
|
|
24419
|
+
"is_urgent",
|
|
24420
|
+
"expiration_date",
|
|
24421
|
+
"created_at",
|
|
24422
|
+
)
|
|
24423
|
+
id = sgqlc.types.Field(String, graphql_name="id")
|
|
24424
|
+
"""Unique identifier for the notification."""
|
|
24425
|
+
|
|
24198
24426
|
type = sgqlc.types.Field(String, graphql_name="type")
|
|
24199
24427
|
"""Type of notification."""
|
|
24200
24428
|
|
|
@@ -24210,6 +24438,9 @@ class InternalNotifications(sgqlc.types.Type):
|
|
|
24210
24438
|
expiration_date = sgqlc.types.Field(DateTime, graphql_name="expirationDate")
|
|
24211
24439
|
"""Reserved for future use (e.g. hiding old messages)."""
|
|
24212
24440
|
|
|
24441
|
+
created_at = sgqlc.types.Field(DateTime, graphql_name="createdAt")
|
|
24442
|
+
"""When the notification was created."""
|
|
24443
|
+
|
|
24213
24444
|
|
|
24214
24445
|
class InvestigationQuery(sgqlc.types.Type):
|
|
24215
24446
|
__schema__ = schema
|
|
@@ -27556,6 +27787,8 @@ class Mutation(sgqlc.types.Type):
|
|
|
27556
27787
|
"create_or_update_comparison_monitor",
|
|
27557
27788
|
"create_or_update_metric_monitor",
|
|
27558
27789
|
"create_or_update_agent_monitor",
|
|
27790
|
+
"create_or_update_agent_metric_monitor",
|
|
27791
|
+
"create_or_update_agent_evaluation_monitor",
|
|
27559
27792
|
"create_or_update_json_schema_monitor",
|
|
27560
27793
|
"validate_cron",
|
|
27561
27794
|
"set_event_detector_feedback",
|
|
@@ -33642,7 +33875,9 @@ class Mutation(sgqlc.types.Type):
|
|
|
33642
33875
|
* `anomaly_types` (`[String]`): Limit notifications to specific
|
|
33643
33876
|
incident types (default=all). Supported options include:
|
|
33644
33877
|
anomalies, schema_changes, json_schema_changes, deleted_tables,
|
|
33645
|
-
metric_anomalies,
|
|
33878
|
+
metric_anomalies, agent_metric_anomalies,
|
|
33879
|
+
agent_evaluation_anomalies, agent_trajectory_anomalies,
|
|
33880
|
+
agent_anomalies, metric_comparison_anomalies,
|
|
33646
33881
|
custom_rule_anomalies, performance_anomalies, dbt_errors,
|
|
33647
33882
|
etl_errors, pseudo_integration_test, rule_run_execution_error,
|
|
33648
33883
|
merged
|
|
@@ -34058,7 +34293,9 @@ class Mutation(sgqlc.types.Type):
|
|
|
34058
34293
|
* `anomaly_types` (`[String]`): Limit notifications to specific
|
|
34059
34294
|
incident types (default=all). Supported options include:
|
|
34060
34295
|
anomalies, schema_changes, json_schema_changes, deleted_tables,
|
|
34061
|
-
metric_anomalies,
|
|
34296
|
+
metric_anomalies, agent_metric_anomalies,
|
|
34297
|
+
agent_evaluation_anomalies, agent_trajectory_anomalies,
|
|
34298
|
+
agent_anomalies, metric_comparison_anomalies,
|
|
34062
34299
|
custom_rule_anomalies, performance_anomalies, dbt_errors,
|
|
34063
34300
|
etl_errors, pseudo_integration_test, rule_run_execution_error,
|
|
34064
34301
|
merged
|
|
@@ -39302,6 +39539,402 @@ class Mutation(sgqlc.types.Type):
|
|
|
39302
39539
|
request is for update
|
|
39303
39540
|
"""
|
|
39304
39541
|
|
|
39542
|
+
create_or_update_agent_metric_monitor = sgqlc.types.Field(
|
|
39543
|
+
CreateOrUpdateAgentMetricMonitor,
|
|
39544
|
+
graphql_name="createOrUpdateAgentMetricMonitor",
|
|
39545
|
+
args=sgqlc.types.ArgDict(
|
|
39546
|
+
(
|
|
39547
|
+
(
|
|
39548
|
+
"agent_span_filters",
|
|
39549
|
+
sgqlc.types.Arg(
|
|
39550
|
+
sgqlc.types.non_null(
|
|
39551
|
+
sgqlc.types.list_of(sgqlc.types.non_null(AgentSpanFilterInput))
|
|
39552
|
+
),
|
|
39553
|
+
graphql_name="agentSpanFilters",
|
|
39554
|
+
default=None,
|
|
39555
|
+
),
|
|
39556
|
+
),
|
|
39557
|
+
(
|
|
39558
|
+
"aggregate_by",
|
|
39559
|
+
sgqlc.types.Arg(
|
|
39560
|
+
MonitorAggTimeInterval, graphql_name="aggregateBy", default="HOUR"
|
|
39561
|
+
),
|
|
39562
|
+
),
|
|
39563
|
+
(
|
|
39564
|
+
"alert_conditions",
|
|
39565
|
+
sgqlc.types.Arg(
|
|
39566
|
+
sgqlc.types.non_null(
|
|
39567
|
+
sgqlc.types.list_of(sgqlc.types.non_null(MetricAlertConditionInput))
|
|
39568
|
+
),
|
|
39569
|
+
graphql_name="alertConditions",
|
|
39570
|
+
default=None,
|
|
39571
|
+
),
|
|
39572
|
+
),
|
|
39573
|
+
(
|
|
39574
|
+
"audiences",
|
|
39575
|
+
sgqlc.types.Arg(
|
|
39576
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)),
|
|
39577
|
+
graphql_name="audiences",
|
|
39578
|
+
default=None,
|
|
39579
|
+
),
|
|
39580
|
+
),
|
|
39581
|
+
(
|
|
39582
|
+
"collection_lag_hours",
|
|
39583
|
+
sgqlc.types.Arg(Int, graphql_name="collectionLagHours", default=0),
|
|
39584
|
+
),
|
|
39585
|
+
("connection_id", sgqlc.types.Arg(UUID, graphql_name="connectionId", default=None)),
|
|
39586
|
+
(
|
|
39587
|
+
"data_quality_dimension",
|
|
39588
|
+
sgqlc.types.Arg(String, graphql_name="dataQualityDimension", default=None),
|
|
39589
|
+
),
|
|
39590
|
+
(
|
|
39591
|
+
"data_source",
|
|
39592
|
+
sgqlc.types.Arg(
|
|
39593
|
+
sgqlc.types.non_null(DataSourceUnionInput),
|
|
39594
|
+
graphql_name="dataSource",
|
|
39595
|
+
default=None,
|
|
39596
|
+
),
|
|
39597
|
+
),
|
|
39598
|
+
(
|
|
39599
|
+
"description",
|
|
39600
|
+
sgqlc.types.Arg(
|
|
39601
|
+
sgqlc.types.non_null(String), graphql_name="description", default=None
|
|
39602
|
+
),
|
|
39603
|
+
),
|
|
39604
|
+
(
|
|
39605
|
+
"domain_uuids",
|
|
39606
|
+
sgqlc.types.Arg(
|
|
39607
|
+
sgqlc.types.list_of(sgqlc.types.non_null(UUID)),
|
|
39608
|
+
graphql_name="domainUuids",
|
|
39609
|
+
default=None,
|
|
39610
|
+
),
|
|
39611
|
+
),
|
|
39612
|
+
("dry_run", sgqlc.types.Arg(Boolean, graphql_name="dryRun", default=False)),
|
|
39613
|
+
(
|
|
39614
|
+
"dw_id",
|
|
39615
|
+
sgqlc.types.Arg(sgqlc.types.non_null(UUID), graphql_name="dwId", default=None),
|
|
39616
|
+
),
|
|
39617
|
+
(
|
|
39618
|
+
"fail_on_reset",
|
|
39619
|
+
sgqlc.types.Arg(Boolean, graphql_name="failOnReset", default=False),
|
|
39620
|
+
),
|
|
39621
|
+
(
|
|
39622
|
+
"failure_audiences",
|
|
39623
|
+
sgqlc.types.Arg(
|
|
39624
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)),
|
|
39625
|
+
graphql_name="failureAudiences",
|
|
39626
|
+
default=None,
|
|
39627
|
+
),
|
|
39628
|
+
),
|
|
39629
|
+
(
|
|
39630
|
+
"filters",
|
|
39631
|
+
sgqlc.types.Arg(FilterGroupInput, graphql_name="filters", default=None),
|
|
39632
|
+
),
|
|
39633
|
+
(
|
|
39634
|
+
"high_segment_count",
|
|
39635
|
+
sgqlc.types.Arg(Boolean, graphql_name="highSegmentCount", default=False),
|
|
39636
|
+
),
|
|
39637
|
+
("notes", sgqlc.types.Arg(String, graphql_name="notes", default="")),
|
|
39638
|
+
("priority", sgqlc.types.Arg(String, graphql_name="priority", default=None)),
|
|
39639
|
+
(
|
|
39640
|
+
"schedule_config",
|
|
39641
|
+
sgqlc.types.Arg(
|
|
39642
|
+
sgqlc.types.non_null(ScheduleConfigInput),
|
|
39643
|
+
graphql_name="scheduleConfig",
|
|
39644
|
+
default=None,
|
|
39645
|
+
),
|
|
39646
|
+
),
|
|
39647
|
+
(
|
|
39648
|
+
"segment_count_hint",
|
|
39649
|
+
sgqlc.types.Arg(Int, graphql_name="segmentCountHint", default=None),
|
|
39650
|
+
),
|
|
39651
|
+
(
|
|
39652
|
+
"segments",
|
|
39653
|
+
sgqlc.types.Arg(
|
|
39654
|
+
sgqlc.types.list_of(sgqlc.types.non_null(FilterValueUnionInput)),
|
|
39655
|
+
graphql_name="segments",
|
|
39656
|
+
default=None,
|
|
39657
|
+
),
|
|
39658
|
+
),
|
|
39659
|
+
(
|
|
39660
|
+
"sensitivity",
|
|
39661
|
+
sgqlc.types.Arg(SensitivityLevels, graphql_name="sensitivity", default=None),
|
|
39662
|
+
),
|
|
39663
|
+
("skip_reset", sgqlc.types.Arg(Boolean, graphql_name="skipReset", default=False)),
|
|
39664
|
+
(
|
|
39665
|
+
"tags",
|
|
39666
|
+
sgqlc.types.Arg(
|
|
39667
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
39668
|
+
graphql_name="tags",
|
|
39669
|
+
default=None,
|
|
39670
|
+
),
|
|
39671
|
+
),
|
|
39672
|
+
("uuid", sgqlc.types.Arg(UUID, graphql_name="uuid", default=None)),
|
|
39673
|
+
)
|
|
39674
|
+
),
|
|
39675
|
+
)
|
|
39676
|
+
"""(experimental) Create or update an Agent Metric monitor
|
|
39677
|
+
|
|
39678
|
+
Arguments:
|
|
39679
|
+
|
|
39680
|
+
* `agent_span_filters` (`[AgentSpanFilterInput!]!`): Filter by
|
|
39681
|
+
agent span fields (agent, workflow, task, span_name)
|
|
39682
|
+
* `aggregate_by` (`MonitorAggTimeInterval`): Aggregation time
|
|
39683
|
+
interval. When not using a hourly interval, the timecomponent of
|
|
39684
|
+
the event timestamp should be ignored. (default: `"HOUR"`)
|
|
39685
|
+
* `alert_conditions` (`[MetricAlertConditionInput!]!`): Alert
|
|
39686
|
+
conditions.
|
|
39687
|
+
* `audiences` (`[String!]`): The monitor notification audiences
|
|
39688
|
+
* `collection_lag_hours` (`Int`): Collection lag in hours (for the
|
|
39689
|
+
provided timestamp) (default: `0`)
|
|
39690
|
+
* `connection_id` (`UUID`): Specify a connection (e.g. query-
|
|
39691
|
+
engine) to use
|
|
39692
|
+
* `data_quality_dimension` (`String`): Data quality dimension.
|
|
39693
|
+
* `data_source` (`DataSourceUnionInput!`)None
|
|
39694
|
+
* `description` (`String!`): Used as the name in the UI
|
|
39695
|
+
* `domain_uuids` (`[UUID!]`): Please provide one and only one
|
|
39696
|
+
valid domain uuid.
|
|
39697
|
+
* `dry_run` (`Boolean`): Dry run the monitor creation or update
|
|
39698
|
+
and return the MaC YAML and queries. (default: `false`)
|
|
39699
|
+
* `dw_id` (`UUID!`): Warehouse the monitor will be run on.
|
|
39700
|
+
* `fail_on_reset` (`Boolean`): Return an error if the update is a
|
|
39701
|
+
significant change that would require a monitor reset. (default:
|
|
39702
|
+
`false`)
|
|
39703
|
+
* `failure_audiences` (`[String!]`): The monitor notification
|
|
39704
|
+
audiences for failures
|
|
39705
|
+
* `filters` (`FilterGroupInput`): Structured SQL filtering
|
|
39706
|
+
conditions to apply to query
|
|
39707
|
+
* `high_segment_count` (`Boolean`): Flag to apply additional
|
|
39708
|
+
limits which increase the supported segment count (default:
|
|
39709
|
+
`false`)
|
|
39710
|
+
* `notes` (`String`): Additional context for the monitor (default:
|
|
39711
|
+
`""`)
|
|
39712
|
+
* `priority` (`String`): The default priority for alerts involving
|
|
39713
|
+
this monitor
|
|
39714
|
+
* `schedule_config` (`ScheduleConfigInput!`): Schedule of monitor
|
|
39715
|
+
* `segment_count_hint` (`Int`): Segment count when then monitor
|
|
39716
|
+
was created. Can be returned as the segment count for the
|
|
39717
|
+
monitor when no successful execution has yet occurred, and a
|
|
39718
|
+
fresh segment count is not available. This allows the UI to
|
|
39719
|
+
properly validate the monitor configuration and avoid creating
|
|
39720
|
+
monitors that will fail when they are created due too many
|
|
39721
|
+
metric combinations.
|
|
39722
|
+
* `segments` (`[FilterValueUnionInput!]`): Segments
|
|
39723
|
+
* `sensitivity` (`SensitivityLevels`): Sensitivity for automated
|
|
39724
|
+
thresholds.
|
|
39725
|
+
* `skip_reset` (`Boolean`): Do not reset monitor if the update is
|
|
39726
|
+
a significant change that would normally cause the monitor to be
|
|
39727
|
+
reset. Learned model might not match the new monitor
|
|
39728
|
+
configuration and false positives might be detected for up to 35
|
|
39729
|
+
days (default: `false`)
|
|
39730
|
+
* `tags` (`[TagKeyValuePairInput!]`): The monitor tags.
|
|
39731
|
+
* `uuid` (`UUID`): UUID of the monitor. If specified, it means the
|
|
39732
|
+
request is for update
|
|
39733
|
+
"""
|
|
39734
|
+
|
|
39735
|
+
create_or_update_agent_evaluation_monitor = sgqlc.types.Field(
|
|
39736
|
+
CreateOrUpdateAgentEvaluationMonitor,
|
|
39737
|
+
graphql_name="createOrUpdateAgentEvaluationMonitor",
|
|
39738
|
+
args=sgqlc.types.ArgDict(
|
|
39739
|
+
(
|
|
39740
|
+
(
|
|
39741
|
+
"agent_span_filters",
|
|
39742
|
+
sgqlc.types.Arg(
|
|
39743
|
+
sgqlc.types.non_null(
|
|
39744
|
+
sgqlc.types.list_of(sgqlc.types.non_null(AgentSpanFilterInput))
|
|
39745
|
+
),
|
|
39746
|
+
graphql_name="agentSpanFilters",
|
|
39747
|
+
default=None,
|
|
39748
|
+
),
|
|
39749
|
+
),
|
|
39750
|
+
(
|
|
39751
|
+
"aggregate_by",
|
|
39752
|
+
sgqlc.types.Arg(
|
|
39753
|
+
MonitorAggTimeInterval, graphql_name="aggregateBy", default="HOUR"
|
|
39754
|
+
),
|
|
39755
|
+
),
|
|
39756
|
+
(
|
|
39757
|
+
"alert_conditions",
|
|
39758
|
+
sgqlc.types.Arg(
|
|
39759
|
+
sgqlc.types.non_null(
|
|
39760
|
+
sgqlc.types.list_of(sgqlc.types.non_null(MetricAlertConditionInput))
|
|
39761
|
+
),
|
|
39762
|
+
graphql_name="alertConditions",
|
|
39763
|
+
default=None,
|
|
39764
|
+
),
|
|
39765
|
+
),
|
|
39766
|
+
(
|
|
39767
|
+
"audiences",
|
|
39768
|
+
sgqlc.types.Arg(
|
|
39769
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)),
|
|
39770
|
+
graphql_name="audiences",
|
|
39771
|
+
default=None,
|
|
39772
|
+
),
|
|
39773
|
+
),
|
|
39774
|
+
(
|
|
39775
|
+
"collection_lag_hours",
|
|
39776
|
+
sgqlc.types.Arg(Int, graphql_name="collectionLagHours", default=0),
|
|
39777
|
+
),
|
|
39778
|
+
("connection_id", sgqlc.types.Arg(UUID, graphql_name="connectionId", default=None)),
|
|
39779
|
+
(
|
|
39780
|
+
"data_quality_dimension",
|
|
39781
|
+
sgqlc.types.Arg(String, graphql_name="dataQualityDimension", default=None),
|
|
39782
|
+
),
|
|
39783
|
+
(
|
|
39784
|
+
"data_source",
|
|
39785
|
+
sgqlc.types.Arg(
|
|
39786
|
+
sgqlc.types.non_null(DataSourceUnionInput),
|
|
39787
|
+
graphql_name="dataSource",
|
|
39788
|
+
default=None,
|
|
39789
|
+
),
|
|
39790
|
+
),
|
|
39791
|
+
(
|
|
39792
|
+
"description",
|
|
39793
|
+
sgqlc.types.Arg(
|
|
39794
|
+
sgqlc.types.non_null(String), graphql_name="description", default=None
|
|
39795
|
+
),
|
|
39796
|
+
),
|
|
39797
|
+
(
|
|
39798
|
+
"domain_uuids",
|
|
39799
|
+
sgqlc.types.Arg(
|
|
39800
|
+
sgqlc.types.list_of(sgqlc.types.non_null(UUID)),
|
|
39801
|
+
graphql_name="domainUuids",
|
|
39802
|
+
default=None,
|
|
39803
|
+
),
|
|
39804
|
+
),
|
|
39805
|
+
("dry_run", sgqlc.types.Arg(Boolean, graphql_name="dryRun", default=False)),
|
|
39806
|
+
(
|
|
39807
|
+
"dw_id",
|
|
39808
|
+
sgqlc.types.Arg(sgqlc.types.non_null(UUID), graphql_name="dwId", default=None),
|
|
39809
|
+
),
|
|
39810
|
+
(
|
|
39811
|
+
"fail_on_reset",
|
|
39812
|
+
sgqlc.types.Arg(Boolean, graphql_name="failOnReset", default=False),
|
|
39813
|
+
),
|
|
39814
|
+
(
|
|
39815
|
+
"failure_audiences",
|
|
39816
|
+
sgqlc.types.Arg(
|
|
39817
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)),
|
|
39818
|
+
graphql_name="failureAudiences",
|
|
39819
|
+
default=None,
|
|
39820
|
+
),
|
|
39821
|
+
),
|
|
39822
|
+
(
|
|
39823
|
+
"filters",
|
|
39824
|
+
sgqlc.types.Arg(FilterGroupInput, graphql_name="filters", default=None),
|
|
39825
|
+
),
|
|
39826
|
+
(
|
|
39827
|
+
"high_segment_count",
|
|
39828
|
+
sgqlc.types.Arg(Boolean, graphql_name="highSegmentCount", default=False),
|
|
39829
|
+
),
|
|
39830
|
+
("notes", sgqlc.types.Arg(String, graphql_name="notes", default="")),
|
|
39831
|
+
("priority", sgqlc.types.Arg(String, graphql_name="priority", default=None)),
|
|
39832
|
+
(
|
|
39833
|
+
"sampling_config",
|
|
39834
|
+
sgqlc.types.Arg(
|
|
39835
|
+
sgqlc.types.non_null(MonitorSamplingConfigInput),
|
|
39836
|
+
graphql_name="samplingConfig",
|
|
39837
|
+
default=None,
|
|
39838
|
+
),
|
|
39839
|
+
),
|
|
39840
|
+
(
|
|
39841
|
+
"schedule_config",
|
|
39842
|
+
sgqlc.types.Arg(
|
|
39843
|
+
sgqlc.types.non_null(ScheduleConfigInput),
|
|
39844
|
+
graphql_name="scheduleConfig",
|
|
39845
|
+
default=None,
|
|
39846
|
+
),
|
|
39847
|
+
),
|
|
39848
|
+
(
|
|
39849
|
+
"segment_count_hint",
|
|
39850
|
+
sgqlc.types.Arg(Int, graphql_name="segmentCountHint", default=None),
|
|
39851
|
+
),
|
|
39852
|
+
(
|
|
39853
|
+
"segments",
|
|
39854
|
+
sgqlc.types.Arg(
|
|
39855
|
+
sgqlc.types.list_of(sgqlc.types.non_null(FilterValueUnionInput)),
|
|
39856
|
+
graphql_name="segments",
|
|
39857
|
+
default=None,
|
|
39858
|
+
),
|
|
39859
|
+
),
|
|
39860
|
+
(
|
|
39861
|
+
"sensitivity",
|
|
39862
|
+
sgqlc.types.Arg(SensitivityLevels, graphql_name="sensitivity", default=None),
|
|
39863
|
+
),
|
|
39864
|
+
("skip_reset", sgqlc.types.Arg(Boolean, graphql_name="skipReset", default=False)),
|
|
39865
|
+
(
|
|
39866
|
+
"tags",
|
|
39867
|
+
sgqlc.types.Arg(
|
|
39868
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
39869
|
+
graphql_name="tags",
|
|
39870
|
+
default=None,
|
|
39871
|
+
),
|
|
39872
|
+
),
|
|
39873
|
+
("uuid", sgqlc.types.Arg(UUID, graphql_name="uuid", default=None)),
|
|
39874
|
+
)
|
|
39875
|
+
),
|
|
39876
|
+
)
|
|
39877
|
+
"""(experimental) Create or update an Agent Evaluation monitor
|
|
39878
|
+
|
|
39879
|
+
Arguments:
|
|
39880
|
+
|
|
39881
|
+
* `agent_span_filters` (`[AgentSpanFilterInput!]!`): Filter by
|
|
39882
|
+
agent span fields (agent, workflow, task, span_name)
|
|
39883
|
+
* `aggregate_by` (`MonitorAggTimeInterval`): Aggregation time
|
|
39884
|
+
interval. When not using a hourly interval, the timecomponent of
|
|
39885
|
+
the event timestamp should be ignored. (default: `"HOUR"`)
|
|
39886
|
+
* `alert_conditions` (`[MetricAlertConditionInput!]!`): Alert
|
|
39887
|
+
conditions.
|
|
39888
|
+
* `audiences` (`[String!]`): The monitor notification audiences
|
|
39889
|
+
* `collection_lag_hours` (`Int`): Collection lag in hours (for the
|
|
39890
|
+
provided timestamp) (default: `0`)
|
|
39891
|
+
* `connection_id` (`UUID`): Specify a connection (e.g. query-
|
|
39892
|
+
engine) to use
|
|
39893
|
+
* `data_quality_dimension` (`String`): Data quality dimension.
|
|
39894
|
+
* `data_source` (`DataSourceUnionInput!`)None
|
|
39895
|
+
* `description` (`String!`): Used as the name in the UI
|
|
39896
|
+
* `domain_uuids` (`[UUID!]`): Please provide one and only one
|
|
39897
|
+
valid domain uuid.
|
|
39898
|
+
* `dry_run` (`Boolean`): Dry run the monitor creation or update
|
|
39899
|
+
and return the MaC YAML and queries. (default: `false`)
|
|
39900
|
+
* `dw_id` (`UUID!`): Warehouse the monitor will be run on.
|
|
39901
|
+
* `fail_on_reset` (`Boolean`): Return an error if the update is a
|
|
39902
|
+
significant change that would require a monitor reset. (default:
|
|
39903
|
+
`false`)
|
|
39904
|
+
* `failure_audiences` (`[String!]`): The monitor notification
|
|
39905
|
+
audiences for failures
|
|
39906
|
+
* `filters` (`FilterGroupInput`): Structured SQL filtering
|
|
39907
|
+
conditions to apply to query
|
|
39908
|
+
* `high_segment_count` (`Boolean`): Flag to apply additional
|
|
39909
|
+
limits which increase the supported segment count (default:
|
|
39910
|
+
`false`)
|
|
39911
|
+
* `notes` (`String`): Additional context for the monitor (default:
|
|
39912
|
+
`""`)
|
|
39913
|
+
* `priority` (`String`): The default priority for alerts involving
|
|
39914
|
+
this monitor
|
|
39915
|
+
* `sampling_config` (`MonitorSamplingConfigInput!`): Sampling
|
|
39916
|
+
configuration: either percentage or fixed count
|
|
39917
|
+
* `schedule_config` (`ScheduleConfigInput!`): Schedule of monitor
|
|
39918
|
+
* `segment_count_hint` (`Int`): Segment count when then monitor
|
|
39919
|
+
was created. Can be returned as the segment count for the
|
|
39920
|
+
monitor when no successful execution has yet occurred, and a
|
|
39921
|
+
fresh segment count is not available. This allows the UI to
|
|
39922
|
+
properly validate the monitor configuration and avoid creating
|
|
39923
|
+
monitors that will fail when they are created due too many
|
|
39924
|
+
metric combinations.
|
|
39925
|
+
* `segments` (`[FilterValueUnionInput!]`): Segments
|
|
39926
|
+
* `sensitivity` (`SensitivityLevels`): Sensitivity for automated
|
|
39927
|
+
thresholds.
|
|
39928
|
+
* `skip_reset` (`Boolean`): Do not reset monitor if the update is
|
|
39929
|
+
a significant change that would normally cause the monitor to be
|
|
39930
|
+
reset. Learned model might not match the new monitor
|
|
39931
|
+
configuration and false positives might be detected for up to 35
|
|
39932
|
+
days (default: `false`)
|
|
39933
|
+
* `tags` (`[TagKeyValuePairInput!]`): The monitor tags.
|
|
39934
|
+
* `uuid` (`UUID`): UUID of the monitor. If specified, it means the
|
|
39935
|
+
request is for update
|
|
39936
|
+
"""
|
|
39937
|
+
|
|
39305
39938
|
create_or_update_json_schema_monitor = sgqlc.types.Field(
|
|
39306
39939
|
CreateOrUpdateJsonSchemaMonitor,
|
|
39307
39940
|
graphql_name="createOrUpdateJsonSchemaMonitor",
|
|
@@ -44243,6 +44876,10 @@ class Mutation(sgqlc.types.Type):
|
|
|
44243
44876
|
graphql_name="createOrUpdateBulkMonitor",
|
|
44244
44877
|
args=sgqlc.types.ArgDict(
|
|
44245
44878
|
(
|
|
44879
|
+
(
|
|
44880
|
+
"aggregate",
|
|
44881
|
+
sgqlc.types.Arg(AggregateInput, graphql_name="aggregate", default=None),
|
|
44882
|
+
),
|
|
44246
44883
|
(
|
|
44247
44884
|
"alert_conditions",
|
|
44248
44885
|
sgqlc.types.Arg(
|
|
@@ -44267,6 +44904,14 @@ class Mutation(sgqlc.types.Type):
|
|
|
44267
44904
|
sgqlc.types.list_of(String), graphql_name="audiences", default=None
|
|
44268
44905
|
),
|
|
44269
44906
|
),
|
|
44907
|
+
(
|
|
44908
|
+
"collection_lag_hours",
|
|
44909
|
+
sgqlc.types.Arg(Int, graphql_name="collectionLagHours", default=0),
|
|
44910
|
+
),
|
|
44911
|
+
(
|
|
44912
|
+
"data_quality_dimension",
|
|
44913
|
+
sgqlc.types.Arg(String, graphql_name="dataQualityDimension", default=None),
|
|
44914
|
+
),
|
|
44270
44915
|
("description", sgqlc.types.Arg(String, graphql_name="description", default=None)),
|
|
44271
44916
|
(
|
|
44272
44917
|
"domain_restrictions",
|
|
@@ -44281,7 +44926,6 @@ class Mutation(sgqlc.types.Type):
|
|
|
44281
44926
|
sgqlc.types.list_of(String), graphql_name="failureAudiences", default=None
|
|
44282
44927
|
),
|
|
44283
44928
|
),
|
|
44284
|
-
("monitor_name", sgqlc.types.Arg(String, graphql_name="monitorName", default=None)),
|
|
44285
44929
|
(
|
|
44286
44930
|
"monitor_type",
|
|
44287
44931
|
sgqlc.types.Arg(
|
|
@@ -44300,7 +44944,6 @@ class Mutation(sgqlc.types.Type):
|
|
|
44300
44944
|
default=None,
|
|
44301
44945
|
),
|
|
44302
44946
|
),
|
|
44303
|
-
("table_limit", sgqlc.types.Arg(Int, graphql_name="tableLimit", default=None)),
|
|
44304
44947
|
(
|
|
44305
44948
|
"tags",
|
|
44306
44949
|
sgqlc.types.Arg(
|
|
@@ -44321,21 +44964,26 @@ class Mutation(sgqlc.types.Type):
|
|
|
44321
44964
|
|
|
44322
44965
|
Arguments:
|
|
44323
44966
|
|
|
44967
|
+
* `aggregate` (`AggregateInput`): Time aggregation for grouping
|
|
44968
|
+
data. Only valid when all tables share the same time field.
|
|
44324
44969
|
* `alert_conditions` (`[MetricAlertConditionInput!]!`): Alert
|
|
44325
44970
|
conditions
|
|
44326
44971
|
* `asset_selection` (`AssetSelectionInput!`)None
|
|
44327
44972
|
* `audiences` (`[String]`): Monitor audiences
|
|
44973
|
+
* `collection_lag_hours` (`Int`): Time to offset the collection
|
|
44974
|
+
time bucket by in hours. Should be a multiple of 24 if
|
|
44975
|
+
agg_time_interval is DAY. Defaults to 0 (no lag). (default: `0`)
|
|
44976
|
+
* `data_quality_dimension` (`String`): Data quality dimension to
|
|
44977
|
+
assign to the monitor.
|
|
44328
44978
|
* `description` (`String`): Description of the monitor
|
|
44329
44979
|
* `domain_restrictions` (`[String]`): Domain restrictions
|
|
44330
44980
|
* `dry_run` (`Boolean`): Dry run the monitor creation or update
|
|
44331
44981
|
and return the MaC YAML. (default: `false`)
|
|
44332
44982
|
* `failure_audiences` (`[String]`): Failure notification audiences
|
|
44333
|
-
* `monitor_name` (`String`): Name of the monitor
|
|
44334
44983
|
* `monitor_type` (`BulkMonitorTypeEnum!`): Type of bulk monitor
|
|
44335
44984
|
* `notes` (`String`): Notes for the monitor
|
|
44336
44985
|
* `priority` (`String`): Priority of the monitor (P1-P5)
|
|
44337
44986
|
* `schedule_config` (`ScheduleConfigInput!`)None
|
|
44338
|
-
* `table_limit` (`Int`): Maximum number of tables (default: 1000)
|
|
44339
44987
|
* `tags` (`[TagKeyValuePairInput]`): Monitor tags
|
|
44340
44988
|
* `uuid` (`UUID`): UUID of the bulk monitor. If specified, it
|
|
44341
44989
|
means the request is for update
|
|
@@ -47035,6 +47683,7 @@ class Query(sgqlc.types.Type):
|
|
|
47035
47683
|
"evaluate_agent_monitor_data_source",
|
|
47036
47684
|
"get_job_execution_history_logs",
|
|
47037
47685
|
"get_job_executions",
|
|
47686
|
+
"get_bulk_monitor_job_executions",
|
|
47038
47687
|
"get_table_monitor",
|
|
47039
47688
|
"get_table_monitor_coverage",
|
|
47040
47689
|
"get_monitors",
|
|
@@ -54536,6 +55185,35 @@ class Query(sgqlc.types.Type):
|
|
|
54536
55185
|
* `last` (`Int`)None
|
|
54537
55186
|
"""
|
|
54538
55187
|
|
|
55188
|
+
get_bulk_monitor_job_executions = sgqlc.types.Field(
|
|
55189
|
+
sgqlc.types.list_of(sgqlc.types.non_null(BulkMonitorJobExecutionLog)),
|
|
55190
|
+
graphql_name="getBulkMonitorJobExecutions",
|
|
55191
|
+
args=sgqlc.types.ArgDict(
|
|
55192
|
+
(
|
|
55193
|
+
(
|
|
55194
|
+
"bulk_monitor_uuid",
|
|
55195
|
+
sgqlc.types.Arg(
|
|
55196
|
+
sgqlc.types.non_null(UUID), graphql_name="bulkMonitorUuid", default=None
|
|
55197
|
+
),
|
|
55198
|
+
),
|
|
55199
|
+
("table_id", sgqlc.types.Arg(Int, graphql_name="tableId", default=None)),
|
|
55200
|
+
("history_days", sgqlc.types.Arg(Int, graphql_name="historyDays", default=None)),
|
|
55201
|
+
("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=None)),
|
|
55202
|
+
)
|
|
55203
|
+
),
|
|
55204
|
+
)
|
|
55205
|
+
"""(experimental) Get job executions for a bulk monitor with table
|
|
55206
|
+
context
|
|
55207
|
+
|
|
55208
|
+
Arguments:
|
|
55209
|
+
|
|
55210
|
+
* `bulk_monitor_uuid` (`UUID!`): UUID of the bulk monitor
|
|
55211
|
+
* `table_id` (`Int`): Optional table ID to filter to a specific
|
|
55212
|
+
child
|
|
55213
|
+
* `history_days` (`Int`): Number of days back (default 90)
|
|
55214
|
+
* `limit` (`Int`): Max number of executions (default 500)
|
|
55215
|
+
"""
|
|
55216
|
+
|
|
54539
55217
|
get_table_monitor = sgqlc.types.Field(
|
|
54540
55218
|
"TableMonitor",
|
|
54541
55219
|
graphql_name="getTableMonitor",
|
|
@@ -62619,6 +63297,18 @@ class Query(sgqlc.types.Type):
|
|
|
62619
63297
|
("location", sgqlc.types.Arg(String, graphql_name="location", default=None)),
|
|
62620
63298
|
("project_name", sgqlc.types.Arg(String, graphql_name="projectName", default=None)),
|
|
62621
63299
|
("dataset", sgqlc.types.Arg(String, graphql_name="dataset", default=None)),
|
|
63300
|
+
(
|
|
63301
|
+
"original_table_id",
|
|
63302
|
+
sgqlc.types.Arg(String, graphql_name="originalTableId", default=None),
|
|
63303
|
+
),
|
|
63304
|
+
(
|
|
63305
|
+
"original_project_name",
|
|
63306
|
+
sgqlc.types.Arg(String, graphql_name="originalProjectName", default=None),
|
|
63307
|
+
),
|
|
63308
|
+
(
|
|
63309
|
+
"original_dataset",
|
|
63310
|
+
sgqlc.types.Arg(String, graphql_name="originalDataset", default=None),
|
|
63311
|
+
),
|
|
62622
63312
|
("description", sgqlc.types.Arg(String, graphql_name="description", default=None)),
|
|
62623
63313
|
("table_type", sgqlc.types.Arg(String, graphql_name="tableType", default=None)),
|
|
62624
63314
|
(
|
|
@@ -62734,6 +63424,9 @@ class Query(sgqlc.types.Type):
|
|
|
62734
63424
|
* `location` (`String`)None
|
|
62735
63425
|
* `project_name` (`String`)None
|
|
62736
63426
|
* `dataset` (`String`)None
|
|
63427
|
+
* `original_table_id` (`String`)None
|
|
63428
|
+
* `original_project_name` (`String`)None
|
|
63429
|
+
* `original_dataset` (`String`)None
|
|
62737
63430
|
* `description` (`String`)None
|
|
62738
63431
|
* `table_type` (`String`)None
|
|
62739
63432
|
* `is_encrypted` (`Boolean`)None
|
|
@@ -62950,6 +63643,18 @@ class Query(sgqlc.types.Type):
|
|
|
62950
63643
|
("location", sgqlc.types.Arg(String, graphql_name="location", default=None)),
|
|
62951
63644
|
("project_name", sgqlc.types.Arg(String, graphql_name="projectName", default=None)),
|
|
62952
63645
|
("dataset", sgqlc.types.Arg(String, graphql_name="dataset", default=None)),
|
|
63646
|
+
(
|
|
63647
|
+
"original_table_id",
|
|
63648
|
+
sgqlc.types.Arg(String, graphql_name="originalTableId", default=None),
|
|
63649
|
+
),
|
|
63650
|
+
(
|
|
63651
|
+
"original_project_name",
|
|
63652
|
+
sgqlc.types.Arg(String, graphql_name="originalProjectName", default=None),
|
|
63653
|
+
),
|
|
63654
|
+
(
|
|
63655
|
+
"original_dataset",
|
|
63656
|
+
sgqlc.types.Arg(String, graphql_name="originalDataset", default=None),
|
|
63657
|
+
),
|
|
62953
63658
|
("description", sgqlc.types.Arg(String, graphql_name="description", default=None)),
|
|
62954
63659
|
("table_type", sgqlc.types.Arg(String, graphql_name="tableType", default=None)),
|
|
62955
63660
|
(
|
|
@@ -63114,6 +63819,9 @@ class Query(sgqlc.types.Type):
|
|
|
63114
63819
|
* `location` (`String`)None
|
|
63115
63820
|
* `project_name` (`String`)None
|
|
63116
63821
|
* `dataset` (`String`)None
|
|
63822
|
+
* `original_table_id` (`String`)None
|
|
63823
|
+
* `original_project_name` (`String`)None
|
|
63824
|
+
* `original_dataset` (`String`)None
|
|
63117
63825
|
* `description` (`String`)None
|
|
63118
63826
|
* `table_type` (`String`)None
|
|
63119
63827
|
* `is_encrypted` (`Boolean`)None
|
|
@@ -66945,6 +67653,7 @@ class ServiceNowIncidentOutput(sgqlc.types.Type):
|
|
|
66945
67653
|
"create_warning",
|
|
66946
67654
|
"details",
|
|
66947
67655
|
"created_at",
|
|
67656
|
+
"record_type",
|
|
66948
67657
|
)
|
|
66949
67658
|
id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="id")
|
|
66950
67659
|
"""The ID to identify the ServiceNow incident in Monte Carlo"""
|
|
@@ -66974,6 +67683,9 @@ class ServiceNowIncidentOutput(sgqlc.types.Type):
|
|
|
66974
67683
|
created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdAt")
|
|
66975
67684
|
"""When the incident was created"""
|
|
66976
67685
|
|
|
67686
|
+
record_type = sgqlc.types.Field(String, graphql_name="recordType")
|
|
67687
|
+
"""Type of record in ServiceNow: 'incident' or 'event' """
|
|
67688
|
+
|
|
66977
67689
|
|
|
66978
67690
|
class ServiceNowIncidentStateOutput(sgqlc.types.Type):
|
|
66979
67691
|
"""A ServiceNow state"""
|
|
@@ -66998,6 +67710,7 @@ class ServiceNowIntegrationOptions(sgqlc.types.Type):
|
|
|
66998
67710
|
"supports_fetch_incident",
|
|
66999
67711
|
"set_description_field",
|
|
67000
67712
|
"status_mappings",
|
|
67713
|
+
"create_incidents",
|
|
67001
67714
|
)
|
|
67002
67715
|
oauth_token_endpoint = sgqlc.types.Field(String, graphql_name="oauthTokenEndpoint")
|
|
67003
67716
|
|
|
@@ -67026,6 +67739,10 @@ class ServiceNowIntegrationOptions(sgqlc.types.Type):
|
|
|
67026
67739
|
graphql_name="statusMappings",
|
|
67027
67740
|
)
|
|
67028
67741
|
|
|
67742
|
+
create_incidents = sgqlc.types.Field(
|
|
67743
|
+
sgqlc.types.non_null(Boolean), graphql_name="createIncidents"
|
|
67744
|
+
)
|
|
67745
|
+
|
|
67029
67746
|
|
|
67030
67747
|
class ServiceNowIntegrationOutput(sgqlc.types.Type):
|
|
67031
67748
|
"""A ServiceNow integration"""
|
|
@@ -72908,6 +73625,7 @@ class Warehouse(sgqlc.types.Type):
|
|
|
72908
73625
|
"deleted_by",
|
|
72909
73626
|
"config",
|
|
72910
73627
|
"created_by",
|
|
73628
|
+
"sampling_domain",
|
|
72911
73629
|
"connections",
|
|
72912
73630
|
"tables",
|
|
72913
73631
|
"incidents",
|
|
@@ -72984,6 +73702,9 @@ class Warehouse(sgqlc.types.Type):
|
|
|
72984
73702
|
created_by = sgqlc.types.Field("User", graphql_name="createdBy")
|
|
72985
73703
|
"""User who created this warehouse"""
|
|
72986
73704
|
|
|
73705
|
+
sampling_domain = sgqlc.types.Field("DomainRestriction", graphql_name="samplingDomain")
|
|
73706
|
+
"""Domain defining which tables can be sampled. If null, all allowed."""
|
|
73707
|
+
|
|
72987
73708
|
connections = sgqlc.types.Field(
|
|
72988
73709
|
sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(Connection))),
|
|
72989
73710
|
graphql_name="connections",
|
|
@@ -76148,12 +76869,16 @@ class BulkMonitor(sgqlc.types.Type, Node):
|
|
|
76148
76869
|
"account_uuid",
|
|
76149
76870
|
"is_deleted",
|
|
76150
76871
|
"deleted_at",
|
|
76872
|
+
"description",
|
|
76151
76873
|
"notes",
|
|
76152
76874
|
"priority",
|
|
76153
76875
|
"is_paused",
|
|
76154
76876
|
"warehouse_uuid",
|
|
76155
76877
|
"monitor_name",
|
|
76156
76878
|
"domain_restrictions",
|
|
76879
|
+
"time_axis_field_name",
|
|
76880
|
+
"time_axis_field_type",
|
|
76881
|
+
"collection_lag_hours",
|
|
76157
76882
|
"table_limit",
|
|
76158
76883
|
"deleted_by",
|
|
76159
76884
|
"monitor_type",
|
|
@@ -76163,8 +76888,11 @@ class BulkMonitor(sgqlc.types.Type, Node):
|
|
|
76163
76888
|
"audiences",
|
|
76164
76889
|
"failure_audiences",
|
|
76165
76890
|
"tags",
|
|
76891
|
+
"data_quality_dimension",
|
|
76166
76892
|
"child_monitor_count",
|
|
76167
76893
|
"has_reached_table_limit",
|
|
76894
|
+
"agg_time_interval",
|
|
76895
|
+
"tables",
|
|
76168
76896
|
)
|
|
76169
76897
|
created_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdTime")
|
|
76170
76898
|
|
|
@@ -76185,6 +76913,8 @@ class BulkMonitor(sgqlc.types.Type, Node):
|
|
|
76185
76913
|
|
|
76186
76914
|
deleted_at = sgqlc.types.Field(DateTime, graphql_name="deletedAt")
|
|
76187
76915
|
|
|
76916
|
+
description = sgqlc.types.Field(String, graphql_name="description")
|
|
76917
|
+
|
|
76188
76918
|
notes = sgqlc.types.Field(String, graphql_name="notes")
|
|
76189
76919
|
|
|
76190
76920
|
priority = sgqlc.types.Field(BulkMonitorModelPriority, graphql_name="priority")
|
|
@@ -76208,6 +76938,20 @@ class BulkMonitor(sgqlc.types.Type, Node):
|
|
|
76208
76938
|
monitor, if any
|
|
76209
76939
|
"""
|
|
76210
76940
|
|
|
76941
|
+
time_axis_field_name = sgqlc.types.Field(String, graphql_name="timeAxisFieldName")
|
|
76942
|
+
"""Name of the timestamp field for time bucketing (must exist on all
|
|
76943
|
+
tables)
|
|
76944
|
+
"""
|
|
76945
|
+
|
|
76946
|
+
time_axis_field_type = sgqlc.types.Field(String, graphql_name="timeAxisFieldType")
|
|
76947
|
+
"""Type of the time axis field (e.g., timestamp, date)"""
|
|
76948
|
+
|
|
76949
|
+
collection_lag_hours = sgqlc.types.Field(Int, graphql_name="collectionLagHours")
|
|
76950
|
+
"""Time to offset the collection time bucket by in hours. Field
|
|
76951
|
+
should be a multiple of 24 if agg_time_interval is set to DAY.
|
|
76952
|
+
Copied to child monitors.
|
|
76953
|
+
"""
|
|
76954
|
+
|
|
76211
76955
|
table_limit = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="tableLimit")
|
|
76212
76956
|
"""Maximum number of tables this bulk monitor can manage"""
|
|
76213
76957
|
|
|
@@ -76245,12 +76989,21 @@ class BulkMonitor(sgqlc.types.Type, Node):
|
|
|
76245
76989
|
)
|
|
76246
76990
|
"""The monitor tags."""
|
|
76247
76991
|
|
|
76992
|
+
data_quality_dimension = sgqlc.types.Field(String, graphql_name="dataQualityDimension")
|
|
76993
|
+
"""Data quality dimension assigned to this bulk monitor."""
|
|
76994
|
+
|
|
76248
76995
|
child_monitor_count = sgqlc.types.Field(Int, graphql_name="childMonitorCount")
|
|
76249
76996
|
"""Number of child monitors generated from this bulk monitor"""
|
|
76250
76997
|
|
|
76251
76998
|
has_reached_table_limit = sgqlc.types.Field(Boolean, graphql_name="hasReachedTableLimit")
|
|
76252
76999
|
"""Whether this bulk monitor has reached its table limit"""
|
|
76253
77000
|
|
|
77001
|
+
agg_time_interval = sgqlc.types.Field(MonitorAggTimeInterval, graphql_name="aggTimeInterval")
|
|
77002
|
+
"""Time interval for bucketing data (HOUR, DAY, WEEK, MONTH)"""
|
|
77003
|
+
|
|
77004
|
+
tables = sgqlc.types.Field(sgqlc.types.list_of("WarehouseTable"), graphql_name="tables")
|
|
77005
|
+
"""Tables from child monitors' data sources"""
|
|
77006
|
+
|
|
76254
77007
|
|
|
76255
77008
|
class CatalogObjectMetadata(sgqlc.types.Type, Node):
|
|
76256
77009
|
__schema__ = schema
|
|
@@ -76712,6 +77465,8 @@ class CustomRule(sgqlc.types.Type, Node):
|
|
|
76712
77465
|
"system_snooze_until_time",
|
|
76713
77466
|
"query_result_type",
|
|
76714
77467
|
"custom_sampling_sql",
|
|
77468
|
+
"sampling_entities",
|
|
77469
|
+
"sampling_entity_mcons",
|
|
76715
77470
|
"sql_blocks",
|
|
76716
77471
|
"generated_rules",
|
|
76717
77472
|
"queries",
|
|
@@ -76893,6 +77648,16 @@ class CustomRule(sgqlc.types.Type, Node):
|
|
|
76893
77648
|
custom_sampling_sql = sgqlc.types.Field(String, graphql_name="customSamplingSql")
|
|
76894
77649
|
"""Custom query to sample the data on breach"""
|
|
76895
77650
|
|
|
77651
|
+
sampling_entities = sgqlc.types.Field(
|
|
77652
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name="samplingEntities"
|
|
77653
|
+
)
|
|
77654
|
+
"""Full table IDs referenced in custom_sampling_sql (from SQL parser)"""
|
|
77655
|
+
|
|
77656
|
+
sampling_entity_mcons = sgqlc.types.Field(
|
|
77657
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name="samplingEntityMcons"
|
|
77658
|
+
)
|
|
77659
|
+
"""MCONs for tables in custom_sampling_sql (only ingested tables)"""
|
|
77660
|
+
|
|
76896
77661
|
sql_blocks = sgqlc.types.Field(CustomRuleSqlBlocks, graphql_name="sqlBlocks")
|
|
76897
77662
|
"""SQL blocks used on the monitor"""
|
|
76898
77663
|
|
|
@@ -79160,10 +79925,12 @@ class DomainRestriction(sgqlc.types.Type, Node):
|
|
|
79160
79925
|
"updated_time",
|
|
79161
79926
|
"uuid",
|
|
79162
79927
|
"name",
|
|
79928
|
+
"domain_type",
|
|
79163
79929
|
"description",
|
|
79164
79930
|
"created_by",
|
|
79165
79931
|
"tables",
|
|
79166
79932
|
"obj_assignment_update_time",
|
|
79933
|
+
"warehouses_using_sampling",
|
|
79167
79934
|
"data_products_created_in",
|
|
79168
79935
|
)
|
|
79169
79936
|
created_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdTime")
|
|
@@ -79176,6 +79943,13 @@ class DomainRestriction(sgqlc.types.Type, Node):
|
|
|
79176
79943
|
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="name")
|
|
79177
79944
|
"""Domain name"""
|
|
79178
79945
|
|
|
79946
|
+
domain_type = sgqlc.types.Field(
|
|
79947
|
+
sgqlc.types.non_null(DomainModelDomainType), graphql_name="domainType"
|
|
79948
|
+
)
|
|
79949
|
+
"""Type of domain. Sampling domains define which tables can be
|
|
79950
|
+
sampled.
|
|
79951
|
+
"""
|
|
79952
|
+
|
|
79179
79953
|
description = sgqlc.types.Field(String, graphql_name="description")
|
|
79180
79954
|
"""Domain description"""
|
|
79181
79955
|
|
|
@@ -79213,6 +79987,12 @@ class DomainRestriction(sgqlc.types.Type, Node):
|
|
|
79213
79987
|
(as opposed to catalog changes)
|
|
79214
79988
|
"""
|
|
79215
79989
|
|
|
79990
|
+
warehouses_using_sampling = sgqlc.types.Field(
|
|
79991
|
+
sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(Warehouse))),
|
|
79992
|
+
graphql_name="warehousesUsingSampling",
|
|
79993
|
+
)
|
|
79994
|
+
"""Domain defining which tables can be sampled. If null, all allowed."""
|
|
79995
|
+
|
|
79216
79996
|
data_products_created_in = sgqlc.types.Field(
|
|
79217
79997
|
sgqlc.types.non_null(DataProductConnection),
|
|
79218
79998
|
graphql_name="dataProductsCreatedIn",
|
|
@@ -83380,6 +84160,9 @@ class WarehouseTable(sgqlc.types.Type, Node):
|
|
|
83380
84160
|
"location",
|
|
83381
84161
|
"project_name",
|
|
83382
84162
|
"dataset",
|
|
84163
|
+
"original_table_id",
|
|
84164
|
+
"original_project_name",
|
|
84165
|
+
"original_dataset",
|
|
83383
84166
|
"description",
|
|
83384
84167
|
"table_type",
|
|
83385
84168
|
"is_encrypted",
|
|
@@ -83462,6 +84245,12 @@ class WarehouseTable(sgqlc.types.Type, Node):
|
|
|
83462
84245
|
|
|
83463
84246
|
dataset = sgqlc.types.Field(String, graphql_name="dataset")
|
|
83464
84247
|
|
|
84248
|
+
original_table_id = sgqlc.types.Field(String, graphql_name="originalTableId")
|
|
84249
|
+
|
|
84250
|
+
original_project_name = sgqlc.types.Field(String, graphql_name="originalProjectName")
|
|
84251
|
+
|
|
84252
|
+
original_dataset = sgqlc.types.Field(String, graphql_name="originalDataset")
|
|
84253
|
+
|
|
83465
84254
|
description = sgqlc.types.Field(String, graphql_name="description")
|
|
83466
84255
|
"""(Deprecated) Use `description` from `CatalogObjectMetadataModel`"""
|
|
83467
84256
|
|
|
@@ -83960,6 +84749,9 @@ class WarehouseTableHealth(sgqlc.types.Type, Node):
|
|
|
83960
84749
|
"location",
|
|
83961
84750
|
"project_name",
|
|
83962
84751
|
"dataset",
|
|
84752
|
+
"original_table_id",
|
|
84753
|
+
"original_project_name",
|
|
84754
|
+
"original_dataset",
|
|
83963
84755
|
"description",
|
|
83964
84756
|
"table_type",
|
|
83965
84757
|
"is_encrypted",
|
|
@@ -84016,6 +84808,12 @@ class WarehouseTableHealth(sgqlc.types.Type, Node):
|
|
|
84016
84808
|
|
|
84017
84809
|
dataset = sgqlc.types.Field(String, graphql_name="dataset")
|
|
84018
84810
|
|
|
84811
|
+
original_table_id = sgqlc.types.Field(String, graphql_name="originalTableId")
|
|
84812
|
+
|
|
84813
|
+
original_project_name = sgqlc.types.Field(String, graphql_name="originalProjectName")
|
|
84814
|
+
|
|
84815
|
+
original_dataset = sgqlc.types.Field(String, graphql_name="originalDataset")
|
|
84816
|
+
|
|
84019
84817
|
description = sgqlc.types.Field(String, graphql_name="description")
|
|
84020
84818
|
"""(Deprecated) Use `description` from `CatalogObjectMetadataModel`"""
|
|
84021
84819
|
|
|
@@ -84223,7 +85021,7 @@ class WidgetOptionsGraph(sgqlc.types.Type, WidgetOptionsInterface):
|
|
|
84223
85021
|
)
|
|
84224
85022
|
|
|
84225
85023
|
|
|
84226
|
-
class
|
|
85024
|
+
class WidgetOptionsSingleValue(sgqlc.types.Type, WidgetOptionsInterface):
|
|
84227
85025
|
__schema__ = schema
|
|
84228
85026
|
__field_names__ = ("field",)
|
|
84229
85027
|
field = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="field")
|