pycarlo 0.12.64__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.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
- * `SCALAR`None
1370
+ * `SINGLE_VALUE`None
1353
1371
  * `TABLE`None
1354
1372
  * `TEXT`None
1355
1373
  """
1356
1374
 
1357
1375
  __schema__ = schema
1358
- __choices__ = ("GRAPH", "SCALAR", "TABLE", "TEXT")
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",
@@ -5638,10 +5711,27 @@ class UserDefinedMonitorSearchFields(pycarlo.lib.types.Enum):
5638
5711
  )
5639
5712
 
5640
5713
 
5714
+ class UserDefinedMonitorType(pycarlo.lib.types.Enum):
5715
+ """Enumeration Choices:
5716
+
5717
+ * `BULK_MONITOR`None
5718
+ * `MONITOR`None
5719
+ * `RULE`None
5720
+ * `TABLE_MONITOR`None
5721
+ """
5722
+
5723
+ __schema__ = schema
5724
+ __choices__ = ("BULK_MONITOR", "MONITOR", "RULE", "TABLE_MONITOR")
5725
+
5726
+
5641
5727
  class UserDefinedMonitors(pycarlo.lib.types.Enum):
5642
5728
  """Enumeration Choices:
5643
5729
 
5644
5730
  * `AGENT`: Agent
5731
+ * `AGENT_EVALUATION`: Agent Evaluation
5732
+ * `AGENT_METRIC`: Agent Metric
5733
+ * `AGENT_TRAJECTORY`: Agent Trajectory
5734
+ * `BULK_METRIC`: Bulk Monitor
5645
5735
  * `BULK_MONITOR`: Bulk Monitor
5646
5736
  * `CATEGORIES`: Dimension - legacy
5647
5737
  * `COMPARISON`: Comparison - legacy
@@ -5662,6 +5752,10 @@ class UserDefinedMonitors(pycarlo.lib.types.Enum):
5662
5752
  __schema__ = schema
5663
5753
  __choices__ = (
5664
5754
  "AGENT",
5755
+ "AGENT_EVALUATION",
5756
+ "AGENT_METRIC",
5757
+ "AGENT_TRAJECTORY",
5758
+ "BULK_METRIC",
5665
5759
  "BULK_MONITOR",
5666
5760
  "CATEGORIES",
5667
5761
  "COMPARISON",
@@ -8245,6 +8339,7 @@ class MetricsFilter(sgqlc.types.Input):
8245
8339
  __schema__ = schema
8246
8340
  __field_names__ = (
8247
8341
  "monitor_id",
8342
+ "bulk_monitor_id",
8248
8343
  "mcon",
8249
8344
  "full_table_id",
8250
8345
  "dw_id",
@@ -8258,6 +8353,11 @@ class MetricsFilter(sgqlc.types.Input):
8258
8353
  monitor_id = sgqlc.types.Field(UUID, graphql_name="monitorId")
8259
8354
  """UUID of the monitor or custom rule"""
8260
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
+
8261
8361
  mcon = sgqlc.types.Field(String, graphql_name="mcon")
8262
8362
  """MCON of the asset tracked by the metrics to be fetched"""
8263
8363
 
@@ -9590,6 +9690,7 @@ class ServiceNowIntegrationOptionsInput(sgqlc.types.Input):
9590
9690
  "supports_fetch_incident",
9591
9691
  "set_description_field",
9592
9692
  "status_mappings",
9693
+ "create_incidents",
9593
9694
  )
9594
9695
  oauth_token_endpoint = sgqlc.types.Field(String, graphql_name="oauthTokenEndpoint")
9595
9696
 
@@ -9610,6 +9711,8 @@ class ServiceNowIntegrationOptionsInput(sgqlc.types.Input):
9610
9711
  graphql_name="statusMappings",
9611
9712
  )
9612
9713
 
9714
+ create_incidents = sgqlc.types.Field(Boolean, graphql_name="createIncidents")
9715
+
9613
9716
 
9614
9717
  class ServiceNowStateMappingInput(sgqlc.types.Input):
9615
9718
  __schema__ = schema
@@ -11317,6 +11420,7 @@ class IMonitor(sgqlc.types.Interface):
11317
11420
  __field_names__ = (
11318
11421
  "uuid",
11319
11422
  "monitor_type",
11423
+ "udm_type",
11320
11424
  "created_time",
11321
11425
  "last_update_time",
11322
11426
  "creator_id",
@@ -11377,6 +11481,11 @@ class IMonitor(sgqlc.types.Interface):
11377
11481
  )
11378
11482
  """Type of monitor"""
11379
11483
 
11484
+ udm_type = sgqlc.types.Field(UserDefinedMonitorType, graphql_name="udmType")
11485
+ """User-defined monitor type category (RULE, MONITOR, TABLE_MONITOR,
11486
+ BULK_MONITOR)
11487
+ """
11488
+
11380
11489
  created_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdTime")
11381
11490
  """Monitor creation time (UTC)"""
11382
11491
 
@@ -12854,10 +12963,11 @@ class AccountNotificationSetting(sgqlc.types.Type):
12854
12963
  """Limit notifications to specific incident types (default=all).
12855
12964
  Supported options include: anomalies, schema_changes,
12856
12965
  json_schema_changes, deleted_tables, metric_anomalies,
12857
- agent_anomalies, metric_comparison_anomalies,
12858
- custom_rule_anomalies, performance_anomalies, dbt_errors,
12859
- etl_errors, pseudo_integration_test, rule_run_execution_error,
12860
- merged
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
12861
12971
  """
12862
12972
 
12863
12973
  incident_sub_types = sgqlc.types.Field(
@@ -13445,14 +13555,12 @@ class AgentSpanNode(sgqlc.types.Type):
13445
13555
 
13446
13556
  class AgentSpanTree(sgqlc.types.Type):
13447
13557
  __schema__ = schema
13448
- __field_names__ = ("nodes", "query")
13558
+ __field_names__ = ("nodes",)
13449
13559
  nodes = sgqlc.types.Field(
13450
13560
  sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(AgentSpanNode))),
13451
13561
  graphql_name="nodes",
13452
13562
  )
13453
13563
 
13454
- query = sgqlc.types.Field(String, graphql_name="query")
13455
-
13456
13564
 
13457
13565
  class AgentTraceTableConnection(sgqlc.types.relay.Connection):
13458
13566
  __schema__ = schema
@@ -13991,6 +14099,9 @@ class AlertTypeSummary(sgqlc.types.Type):
13991
14099
  "json_schema_changes",
13992
14100
  "deleted_tables",
13993
14101
  "metric_anomalies",
14102
+ "agent_metric_anomalies",
14103
+ "agent_evaluation_anomalies",
14104
+ "agent_trajectory_anomalies",
13994
14105
  "agent_anomalies",
13995
14106
  "metric_comparison_anomalies",
13996
14107
  "custom_rule_anomalies",
@@ -14011,6 +14122,12 @@ class AlertTypeSummary(sgqlc.types.Type):
14011
14122
 
14012
14123
  metric_anomalies = sgqlc.types.Field(Int, graphql_name="metricAnomalies")
14013
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
+
14014
14131
  agent_anomalies = sgqlc.types.Field(Int, graphql_name="agentAnomalies")
14015
14132
 
14016
14133
  metric_comparison_anomalies = sgqlc.types.Field(Int, graphql_name="metricComparisonAnomalies")
@@ -15856,6 +15973,77 @@ class BulkMonitorEdge(sgqlc.types.Type):
15856
15973
  """A cursor for use in pagination"""
15857
15974
 
15858
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
+
15859
16047
  class BulkSetEtlJobGeneratesAlerts(sgqlc.types.Type):
15860
16048
  """Set whether a set of ETL jobs (like an Airflow DAG) generates
15861
16049
  alerts or not
@@ -17413,6 +17601,36 @@ class CreateOrUpdateAgent(sgqlc.types.Type):
17413
17601
  """Result validating the provided parameters."""
17414
17602
 
17415
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
+
17416
17634
  class CreateOrUpdateAgentMonitor(sgqlc.types.Type):
17417
17635
  __schema__ = schema
17418
17636
  __field_names__ = ("agent_monitor", "queries")
@@ -18156,6 +18374,26 @@ class CustomDashboardTimeSeriesLookup(sgqlc.types.Type):
18156
18374
  time_series_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="timeSeriesId")
18157
18375
 
18158
18376
 
18377
+ class CustomDashboardTimeSeriesMetadata(sgqlc.types.Type):
18378
+ __schema__ = schema
18379
+ __field_names__ = ("mcon", "monitor_id", "metric_name", "field", "segmented_values")
18380
+ mcon = sgqlc.types.Field(String, graphql_name="mcon")
18381
+ """MCON if timeseries is for a table"""
18382
+
18383
+ monitor_id = sgqlc.types.Field(UUID, graphql_name="monitorId")
18384
+ """Monitor Id if timeseries is for a rule or metric monitor"""
18385
+
18386
+ metric_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="metricName")
18387
+ """Metric name"""
18388
+
18389
+ field = sgqlc.types.Field(String, graphql_name="field")
18390
+ """Field name for monitor metrics with fields"""
18391
+
18392
+ segmented_values = sgqlc.types.Field(
18393
+ sgqlc.types.non_null(sgqlc.types.list_of(String)), graphql_name="segmentedValues"
18394
+ )
18395
+
18396
+
18159
18397
  class CustomDashboardWidgetContentData(sgqlc.types.Type):
18160
18398
  __schema__ = schema
18161
18399
  __field_names__ = ("data_source_id", "data")
@@ -22125,6 +22363,9 @@ class EventTypeSummary(sgqlc.types.Type):
22125
22363
  "size_diff",
22126
22364
  "metric_anom",
22127
22365
  "metric_comparison_anom",
22366
+ "agent_metric_anom",
22367
+ "agent_evaluation_anom",
22368
+ "agent_trajectory_anom",
22128
22369
  "agent_anom",
22129
22370
  "custom_rule_anom",
22130
22371
  "validation_anom",
@@ -22160,6 +22401,12 @@ class EventTypeSummary(sgqlc.types.Type):
22160
22401
 
22161
22402
  metric_comparison_anom = sgqlc.types.Field(Int, graphql_name="metricComparisonAnom")
22162
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
+
22163
22410
  agent_anom = sgqlc.types.Field(Int, graphql_name="agentAnom")
22164
22411
 
22165
22412
  custom_rule_anom = sgqlc.types.Field(Int, graphql_name="customRuleAnom")
@@ -23866,6 +24113,9 @@ class IncidentTypeSummary(sgqlc.types.Type):
23866
24113
  "json_schema_changes",
23867
24114
  "deleted_tables",
23868
24115
  "metric_anomalies",
24116
+ "agent_metric_anomalies",
24117
+ "agent_evaluation_anomalies",
24118
+ "agent_trajectory_anomalies",
23869
24119
  "agent_anomalies",
23870
24120
  "metric_comparison_anomalies",
23871
24121
  "custom_rule_anomalies",
@@ -23886,6 +24136,12 @@ class IncidentTypeSummary(sgqlc.types.Type):
23886
24136
 
23887
24137
  metric_anomalies = sgqlc.types.Field(Int, graphql_name="metricAnomalies")
23888
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
+
23889
24145
  agent_anomalies = sgqlc.types.Field(Int, graphql_name="agentAnomalies")
23890
24146
 
23891
24147
  metric_comparison_anomalies = sgqlc.types.Field(Int, graphql_name="metricComparisonAnomalies")
@@ -24155,7 +24411,18 @@ class IntegrationUpdateResult(sgqlc.types.Type):
24155
24411
 
24156
24412
  class InternalNotifications(sgqlc.types.Type):
24157
24413
  __schema__ = schema
24158
- __field_names__ = ("type", "friendly_message", "details", "is_urgent", "expiration_date")
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
+
24159
24426
  type = sgqlc.types.Field(String, graphql_name="type")
24160
24427
  """Type of notification."""
24161
24428
 
@@ -24171,6 +24438,9 @@ class InternalNotifications(sgqlc.types.Type):
24171
24438
  expiration_date = sgqlc.types.Field(DateTime, graphql_name="expirationDate")
24172
24439
  """Reserved for future use (e.g. hiding old messages)."""
24173
24440
 
24441
+ created_at = sgqlc.types.Field(DateTime, graphql_name="createdAt")
24442
+ """When the notification was created."""
24443
+
24174
24444
 
24175
24445
  class InvestigationQuery(sgqlc.types.Type):
24176
24446
  __schema__ = schema
@@ -27517,6 +27787,8 @@ class Mutation(sgqlc.types.Type):
27517
27787
  "create_or_update_comparison_monitor",
27518
27788
  "create_or_update_metric_monitor",
27519
27789
  "create_or_update_agent_monitor",
27790
+ "create_or_update_agent_metric_monitor",
27791
+ "create_or_update_agent_evaluation_monitor",
27520
27792
  "create_or_update_json_schema_monitor",
27521
27793
  "validate_cron",
27522
27794
  "set_event_detector_feedback",
@@ -33603,7 +33875,9 @@ class Mutation(sgqlc.types.Type):
33603
33875
  * `anomaly_types` (`[String]`): Limit notifications to specific
33604
33876
  incident types (default=all). Supported options include:
33605
33877
  anomalies, schema_changes, json_schema_changes, deleted_tables,
33606
- metric_anomalies, agent_anomalies, metric_comparison_anomalies,
33878
+ metric_anomalies, agent_metric_anomalies,
33879
+ agent_evaluation_anomalies, agent_trajectory_anomalies,
33880
+ agent_anomalies, metric_comparison_anomalies,
33607
33881
  custom_rule_anomalies, performance_anomalies, dbt_errors,
33608
33882
  etl_errors, pseudo_integration_test, rule_run_execution_error,
33609
33883
  merged
@@ -34019,7 +34293,9 @@ class Mutation(sgqlc.types.Type):
34019
34293
  * `anomaly_types` (`[String]`): Limit notifications to specific
34020
34294
  incident types (default=all). Supported options include:
34021
34295
  anomalies, schema_changes, json_schema_changes, deleted_tables,
34022
- metric_anomalies, agent_anomalies, metric_comparison_anomalies,
34296
+ metric_anomalies, agent_metric_anomalies,
34297
+ agent_evaluation_anomalies, agent_trajectory_anomalies,
34298
+ agent_anomalies, metric_comparison_anomalies,
34023
34299
  custom_rule_anomalies, performance_anomalies, dbt_errors,
34024
34300
  etl_errors, pseudo_integration_test, rule_run_execution_error,
34025
34301
  merged
@@ -39263,6 +39539,402 @@ class Mutation(sgqlc.types.Type):
39263
39539
  request is for update
39264
39540
  """
39265
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
+
39266
39938
  create_or_update_json_schema_monitor = sgqlc.types.Field(
39267
39939
  CreateOrUpdateJsonSchemaMonitor,
39268
39940
  graphql_name="createOrUpdateJsonSchemaMonitor",
@@ -44204,6 +44876,10 @@ class Mutation(sgqlc.types.Type):
44204
44876
  graphql_name="createOrUpdateBulkMonitor",
44205
44877
  args=sgqlc.types.ArgDict(
44206
44878
  (
44879
+ (
44880
+ "aggregate",
44881
+ sgqlc.types.Arg(AggregateInput, graphql_name="aggregate", default=None),
44882
+ ),
44207
44883
  (
44208
44884
  "alert_conditions",
44209
44885
  sgqlc.types.Arg(
@@ -44228,6 +44904,14 @@ class Mutation(sgqlc.types.Type):
44228
44904
  sgqlc.types.list_of(String), graphql_name="audiences", default=None
44229
44905
  ),
44230
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
+ ),
44231
44915
  ("description", sgqlc.types.Arg(String, graphql_name="description", default=None)),
44232
44916
  (
44233
44917
  "domain_restrictions",
@@ -44242,7 +44926,6 @@ class Mutation(sgqlc.types.Type):
44242
44926
  sgqlc.types.list_of(String), graphql_name="failureAudiences", default=None
44243
44927
  ),
44244
44928
  ),
44245
- ("monitor_name", sgqlc.types.Arg(String, graphql_name="monitorName", default=None)),
44246
44929
  (
44247
44930
  "monitor_type",
44248
44931
  sgqlc.types.Arg(
@@ -44261,7 +44944,6 @@ class Mutation(sgqlc.types.Type):
44261
44944
  default=None,
44262
44945
  ),
44263
44946
  ),
44264
- ("table_limit", sgqlc.types.Arg(Int, graphql_name="tableLimit", default=None)),
44265
44947
  (
44266
44948
  "tags",
44267
44949
  sgqlc.types.Arg(
@@ -44282,21 +44964,26 @@ class Mutation(sgqlc.types.Type):
44282
44964
 
44283
44965
  Arguments:
44284
44966
 
44967
+ * `aggregate` (`AggregateInput`): Time aggregation for grouping
44968
+ data. Only valid when all tables share the same time field.
44285
44969
  * `alert_conditions` (`[MetricAlertConditionInput!]!`): Alert
44286
44970
  conditions
44287
44971
  * `asset_selection` (`AssetSelectionInput!`)None
44288
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.
44289
44978
  * `description` (`String`): Description of the monitor
44290
44979
  * `domain_restrictions` (`[String]`): Domain restrictions
44291
44980
  * `dry_run` (`Boolean`): Dry run the monitor creation or update
44292
44981
  and return the MaC YAML. (default: `false`)
44293
44982
  * `failure_audiences` (`[String]`): Failure notification audiences
44294
- * `monitor_name` (`String`): Name of the monitor
44295
44983
  * `monitor_type` (`BulkMonitorTypeEnum!`): Type of bulk monitor
44296
44984
  * `notes` (`String`): Notes for the monitor
44297
44985
  * `priority` (`String`): Priority of the monitor (P1-P5)
44298
44986
  * `schedule_config` (`ScheduleConfigInput!`)None
44299
- * `table_limit` (`Int`): Maximum number of tables (default: 1000)
44300
44987
  * `tags` (`[TagKeyValuePairInput]`): Monitor tags
44301
44988
  * `uuid` (`UUID`): UUID of the bulk monitor. If specified, it
44302
44989
  means the request is for update
@@ -46996,6 +47683,7 @@ class Query(sgqlc.types.Type):
46996
47683
  "evaluate_agent_monitor_data_source",
46997
47684
  "get_job_execution_history_logs",
46998
47685
  "get_job_executions",
47686
+ "get_bulk_monitor_job_executions",
46999
47687
  "get_table_monitor",
47000
47688
  "get_table_monitor_coverage",
47001
47689
  "get_monitors",
@@ -54497,6 +55185,35 @@ class Query(sgqlc.types.Type):
54497
55185
  * `last` (`Int`)None
54498
55186
  """
54499
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
+
54500
55217
  get_table_monitor = sgqlc.types.Field(
54501
55218
  "TableMonitor",
54502
55219
  graphql_name="getTableMonitor",
@@ -60713,6 +61430,18 @@ class Query(sgqlc.types.Type):
60713
61430
  sgqlc.types.list_of(UUID), graphql_name="domainIds", default=None
60714
61431
  ),
60715
61432
  ),
61433
+ (
61434
+ "tags",
61435
+ sgqlc.types.Arg(
61436
+ sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
61437
+ ),
61438
+ ),
61439
+ (
61440
+ "data_product_ids",
61441
+ sgqlc.types.Arg(
61442
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
61443
+ ),
61444
+ ),
60716
61445
  )
60717
61446
  ),
60718
61447
  )
@@ -60731,6 +61460,8 @@ class Query(sgqlc.types.Type):
60731
61460
  * `event_limit` (`Int`): Maximum number of anomalies to return per
60732
61461
  table (default: `10`)
60733
61462
  * `domain_ids` (`[UUID]`): Filter by domain UUIDs
61463
+ * `tags` (`[TagKeyValuePairInput]`)None
61464
+ * `data_product_ids` (`[UUID]`)None
60734
61465
  """
60735
61466
 
60736
61467
  get_object = sgqlc.types.Field(
@@ -62566,6 +63297,18 @@ class Query(sgqlc.types.Type):
62566
63297
  ("location", sgqlc.types.Arg(String, graphql_name="location", default=None)),
62567
63298
  ("project_name", sgqlc.types.Arg(String, graphql_name="projectName", default=None)),
62568
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
+ ),
62569
63312
  ("description", sgqlc.types.Arg(String, graphql_name="description", default=None)),
62570
63313
  ("table_type", sgqlc.types.Arg(String, graphql_name="tableType", default=None)),
62571
63314
  (
@@ -62681,6 +63424,9 @@ class Query(sgqlc.types.Type):
62681
63424
  * `location` (`String`)None
62682
63425
  * `project_name` (`String`)None
62683
63426
  * `dataset` (`String`)None
63427
+ * `original_table_id` (`String`)None
63428
+ * `original_project_name` (`String`)None
63429
+ * `original_dataset` (`String`)None
62684
63430
  * `description` (`String`)None
62685
63431
  * `table_type` (`String`)None
62686
63432
  * `is_encrypted` (`Boolean`)None
@@ -62897,6 +63643,18 @@ class Query(sgqlc.types.Type):
62897
63643
  ("location", sgqlc.types.Arg(String, graphql_name="location", default=None)),
62898
63644
  ("project_name", sgqlc.types.Arg(String, graphql_name="projectName", default=None)),
62899
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
+ ),
62900
63658
  ("description", sgqlc.types.Arg(String, graphql_name="description", default=None)),
62901
63659
  ("table_type", sgqlc.types.Arg(String, graphql_name="tableType", default=None)),
62902
63660
  (
@@ -63061,6 +63819,9 @@ class Query(sgqlc.types.Type):
63061
63819
  * `location` (`String`)None
63062
63820
  * `project_name` (`String`)None
63063
63821
  * `dataset` (`String`)None
63822
+ * `original_table_id` (`String`)None
63823
+ * `original_project_name` (`String`)None
63824
+ * `original_dataset` (`String`)None
63064
63825
  * `description` (`String`)None
63065
63826
  * `table_type` (`String`)None
63066
63827
  * `is_encrypted` (`Boolean`)None
@@ -66892,6 +67653,7 @@ class ServiceNowIncidentOutput(sgqlc.types.Type):
66892
67653
  "create_warning",
66893
67654
  "details",
66894
67655
  "created_at",
67656
+ "record_type",
66895
67657
  )
66896
67658
  id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="id")
66897
67659
  """The ID to identify the ServiceNow incident in Monte Carlo"""
@@ -66921,6 +67683,9 @@ class ServiceNowIncidentOutput(sgqlc.types.Type):
66921
67683
  created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdAt")
66922
67684
  """When the incident was created"""
66923
67685
 
67686
+ record_type = sgqlc.types.Field(String, graphql_name="recordType")
67687
+ """Type of record in ServiceNow: 'incident' or 'event' """
67688
+
66924
67689
 
66925
67690
  class ServiceNowIncidentStateOutput(sgqlc.types.Type):
66926
67691
  """A ServiceNow state"""
@@ -66945,6 +67710,7 @@ class ServiceNowIntegrationOptions(sgqlc.types.Type):
66945
67710
  "supports_fetch_incident",
66946
67711
  "set_description_field",
66947
67712
  "status_mappings",
67713
+ "create_incidents",
66948
67714
  )
66949
67715
  oauth_token_endpoint = sgqlc.types.Field(String, graphql_name="oauthTokenEndpoint")
66950
67716
 
@@ -66973,6 +67739,10 @@ class ServiceNowIntegrationOptions(sgqlc.types.Type):
66973
67739
  graphql_name="statusMappings",
66974
67740
  )
66975
67741
 
67742
+ create_incidents = sgqlc.types.Field(
67743
+ sgqlc.types.non_null(Boolean), graphql_name="createIncidents"
67744
+ )
67745
+
66976
67746
 
66977
67747
  class ServiceNowIntegrationOutput(sgqlc.types.Type):
66978
67748
  """A ServiceNow integration"""
@@ -72855,6 +73625,7 @@ class Warehouse(sgqlc.types.Type):
72855
73625
  "deleted_by",
72856
73626
  "config",
72857
73627
  "created_by",
73628
+ "sampling_domain",
72858
73629
  "connections",
72859
73630
  "tables",
72860
73631
  "incidents",
@@ -72931,6 +73702,9 @@ class Warehouse(sgqlc.types.Type):
72931
73702
  created_by = sgqlc.types.Field("User", graphql_name="createdBy")
72932
73703
  """User who created this warehouse"""
72933
73704
 
73705
+ sampling_domain = sgqlc.types.Field("DomainRestriction", graphql_name="samplingDomain")
73706
+ """Domain defining which tables can be sampled. If null, all allowed."""
73707
+
72934
73708
  connections = sgqlc.types.Field(
72935
73709
  sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(Connection))),
72936
73710
  graphql_name="connections",
@@ -76095,12 +76869,16 @@ class BulkMonitor(sgqlc.types.Type, Node):
76095
76869
  "account_uuid",
76096
76870
  "is_deleted",
76097
76871
  "deleted_at",
76872
+ "description",
76098
76873
  "notes",
76099
76874
  "priority",
76100
76875
  "is_paused",
76101
76876
  "warehouse_uuid",
76102
76877
  "monitor_name",
76103
76878
  "domain_restrictions",
76879
+ "time_axis_field_name",
76880
+ "time_axis_field_type",
76881
+ "collection_lag_hours",
76104
76882
  "table_limit",
76105
76883
  "deleted_by",
76106
76884
  "monitor_type",
@@ -76110,8 +76888,11 @@ class BulkMonitor(sgqlc.types.Type, Node):
76110
76888
  "audiences",
76111
76889
  "failure_audiences",
76112
76890
  "tags",
76891
+ "data_quality_dimension",
76113
76892
  "child_monitor_count",
76114
76893
  "has_reached_table_limit",
76894
+ "agg_time_interval",
76895
+ "tables",
76115
76896
  )
76116
76897
  created_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdTime")
76117
76898
 
@@ -76132,6 +76913,8 @@ class BulkMonitor(sgqlc.types.Type, Node):
76132
76913
 
76133
76914
  deleted_at = sgqlc.types.Field(DateTime, graphql_name="deletedAt")
76134
76915
 
76916
+ description = sgqlc.types.Field(String, graphql_name="description")
76917
+
76135
76918
  notes = sgqlc.types.Field(String, graphql_name="notes")
76136
76919
 
76137
76920
  priority = sgqlc.types.Field(BulkMonitorModelPriority, graphql_name="priority")
@@ -76155,6 +76938,20 @@ class BulkMonitor(sgqlc.types.Type, Node):
76155
76938
  monitor, if any
76156
76939
  """
76157
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
+
76158
76955
  table_limit = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="tableLimit")
76159
76956
  """Maximum number of tables this bulk monitor can manage"""
76160
76957
 
@@ -76192,12 +76989,21 @@ class BulkMonitor(sgqlc.types.Type, Node):
76192
76989
  )
76193
76990
  """The monitor tags."""
76194
76991
 
76992
+ data_quality_dimension = sgqlc.types.Field(String, graphql_name="dataQualityDimension")
76993
+ """Data quality dimension assigned to this bulk monitor."""
76994
+
76195
76995
  child_monitor_count = sgqlc.types.Field(Int, graphql_name="childMonitorCount")
76196
76996
  """Number of child monitors generated from this bulk monitor"""
76197
76997
 
76198
76998
  has_reached_table_limit = sgqlc.types.Field(Boolean, graphql_name="hasReachedTableLimit")
76199
76999
  """Whether this bulk monitor has reached its table limit"""
76200
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
+
76201
77007
 
76202
77008
  class CatalogObjectMetadata(sgqlc.types.Type, Node):
76203
77009
  __schema__ = schema
@@ -76659,6 +77465,8 @@ class CustomRule(sgqlc.types.Type, Node):
76659
77465
  "system_snooze_until_time",
76660
77466
  "query_result_type",
76661
77467
  "custom_sampling_sql",
77468
+ "sampling_entities",
77469
+ "sampling_entity_mcons",
76662
77470
  "sql_blocks",
76663
77471
  "generated_rules",
76664
77472
  "queries",
@@ -76840,6 +77648,16 @@ class CustomRule(sgqlc.types.Type, Node):
76840
77648
  custom_sampling_sql = sgqlc.types.Field(String, graphql_name="customSamplingSql")
76841
77649
  """Custom query to sample the data on breach"""
76842
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
+
76843
77661
  sql_blocks = sgqlc.types.Field(CustomRuleSqlBlocks, graphql_name="sqlBlocks")
76844
77662
  """SQL blocks used on the monitor"""
76845
77663
 
@@ -79107,10 +79925,12 @@ class DomainRestriction(sgqlc.types.Type, Node):
79107
79925
  "updated_time",
79108
79926
  "uuid",
79109
79927
  "name",
79928
+ "domain_type",
79110
79929
  "description",
79111
79930
  "created_by",
79112
79931
  "tables",
79113
79932
  "obj_assignment_update_time",
79933
+ "warehouses_using_sampling",
79114
79934
  "data_products_created_in",
79115
79935
  )
79116
79936
  created_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdTime")
@@ -79123,6 +79943,13 @@ class DomainRestriction(sgqlc.types.Type, Node):
79123
79943
  name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="name")
79124
79944
  """Domain name"""
79125
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
+
79126
79953
  description = sgqlc.types.Field(String, graphql_name="description")
79127
79954
  """Domain description"""
79128
79955
 
@@ -79160,6 +79987,12 @@ class DomainRestriction(sgqlc.types.Type, Node):
79160
79987
  (as opposed to catalog changes)
79161
79988
  """
79162
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
+
79163
79996
  data_products_created_in = sgqlc.types.Field(
79164
79997
  sgqlc.types.non_null(DataProductConnection),
79165
79998
  graphql_name="dataProductsCreatedIn",
@@ -83327,6 +84160,9 @@ class WarehouseTable(sgqlc.types.Type, Node):
83327
84160
  "location",
83328
84161
  "project_name",
83329
84162
  "dataset",
84163
+ "original_table_id",
84164
+ "original_project_name",
84165
+ "original_dataset",
83330
84166
  "description",
83331
84167
  "table_type",
83332
84168
  "is_encrypted",
@@ -83409,6 +84245,12 @@ class WarehouseTable(sgqlc.types.Type, Node):
83409
84245
 
83410
84246
  dataset = sgqlc.types.Field(String, graphql_name="dataset")
83411
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
+
83412
84254
  description = sgqlc.types.Field(String, graphql_name="description")
83413
84255
  """(Deprecated) Use `description` from `CatalogObjectMetadataModel`"""
83414
84256
 
@@ -83907,6 +84749,9 @@ class WarehouseTableHealth(sgqlc.types.Type, Node):
83907
84749
  "location",
83908
84750
  "project_name",
83909
84751
  "dataset",
84752
+ "original_table_id",
84753
+ "original_project_name",
84754
+ "original_dataset",
83910
84755
  "description",
83911
84756
  "table_type",
83912
84757
  "is_encrypted",
@@ -83963,6 +84808,12 @@ class WarehouseTableHealth(sgqlc.types.Type, Node):
83963
84808
 
83964
84809
  dataset = sgqlc.types.Field(String, graphql_name="dataset")
83965
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
+
83966
84817
  description = sgqlc.types.Field(String, graphql_name="description")
83967
84818
  """(Deprecated) Use `description` from `CatalogObjectMetadataModel`"""
83968
84819
 
@@ -84148,9 +84999,13 @@ class WidgetDataSourceJobExecutions(sgqlc.types.Type, WidgetDataSourceInterface)
84148
84999
 
84149
85000
  class WidgetDataSourceMetrics(sgqlc.types.Type, WidgetDataSourceInterface):
84150
85001
  __schema__ = schema
84151
- __field_names__ = ("time_series_id",)
85002
+ __field_names__ = ("time_series_id", "time_series_metadata")
84152
85003
  time_series_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="timeSeriesId")
84153
85004
 
85005
+ time_series_metadata = sgqlc.types.Field(
85006
+ CustomDashboardTimeSeriesMetadata, graphql_name="timeSeriesMetadata"
85007
+ )
85008
+
84154
85009
 
84155
85010
  class WidgetDataSourceMonitor(sgqlc.types.Type, WidgetDataSourceInterface):
84156
85011
  __schema__ = schema
@@ -84166,7 +85021,7 @@ class WidgetOptionsGraph(sgqlc.types.Type, WidgetOptionsInterface):
84166
85021
  )
84167
85022
 
84168
85023
 
84169
- class WidgetOptionsScalar(sgqlc.types.Type, WidgetOptionsInterface):
85024
+ class WidgetOptionsSingleValue(sgqlc.types.Type, WidgetOptionsInterface):
84170
85025
  __schema__ = schema
84171
85026
  __field_names__ = ("field",)
84172
85027
  field = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="field")