pycarlo 0.10.108__py3-none-any.whl → 0.10.109__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 +1950 -10
- pycarlo/lib/schema.py +1081 -13
- {pycarlo-0.10.108.dist-info → pycarlo-0.10.109.dist-info}/METADATA +1 -1
- {pycarlo-0.10.108.dist-info → pycarlo-0.10.109.dist-info}/RECORD +7 -7
- {pycarlo-0.10.108.dist-info → pycarlo-0.10.109.dist-info}/LICENSE +0 -0
- {pycarlo-0.10.108.dist-info → pycarlo-0.10.109.dist-info}/WHEEL +0 -0
- {pycarlo-0.10.108.dist-info → pycarlo-0.10.109.dist-info}/top_level.txt +0 -0
pycarlo/lib/schema.py
CHANGED
|
@@ -23805,6 +23805,21 @@ class MonitorDataSource(sgqlc.types.Type):
|
|
|
23805
23805
|
transforms = sgqlc.types.Field(sgqlc.types.list_of("Transform"), graphql_name="transforms")
|
|
23806
23806
|
|
|
23807
23807
|
|
|
23808
|
+
class MonitorDataset(sgqlc.types.Type):
|
|
23809
|
+
"""Datasets referenced by monitors, grouped by dataset name"""
|
|
23810
|
+
|
|
23811
|
+
__schema__ = schema
|
|
23812
|
+
__field_names__ = ("display_name", "mcons")
|
|
23813
|
+
display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="displayName")
|
|
23814
|
+
"""Dataset name"""
|
|
23815
|
+
|
|
23816
|
+
mcons = sgqlc.types.Field(
|
|
23817
|
+
sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))),
|
|
23818
|
+
graphql_name="mcons",
|
|
23819
|
+
)
|
|
23820
|
+
"""List of MCONs for the datasets with this name"""
|
|
23821
|
+
|
|
23822
|
+
|
|
23808
23823
|
class MonitorLabel(sgqlc.types.Type):
|
|
23809
23824
|
__schema__ = schema
|
|
23810
23825
|
__field_names__ = ("label",)
|
|
@@ -23992,6 +24007,14 @@ class MonitorLabelObject(sgqlc.types.Type):
|
|
|
23992
24007
|
default=None,
|
|
23993
24008
|
),
|
|
23994
24009
|
),
|
|
24010
|
+
(
|
|
24011
|
+
"exclude_asset_tags",
|
|
24012
|
+
sgqlc.types.Arg(
|
|
24013
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
24014
|
+
graphql_name="excludeAssetTags",
|
|
24015
|
+
default=None,
|
|
24016
|
+
),
|
|
24017
|
+
),
|
|
23995
24018
|
(
|
|
23996
24019
|
"data_quality_dimensions",
|
|
23997
24020
|
sgqlc.types.Arg(
|
|
@@ -24052,8 +24075,12 @@ class MonitorLabelObject(sgqlc.types.Type):
|
|
|
24052
24075
|
* `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
|
|
24053
24076
|
can include null to include monitors without tags
|
|
24054
24077
|
* `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
|
|
24055
|
-
Returns monitors
|
|
24078
|
+
Returns monitors with at least one linked table that has any of
|
|
24056
24079
|
the provided tags
|
|
24080
|
+
* `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
|
|
24081
|
+
monitors that have any linked table whose tags consist only of
|
|
24082
|
+
the provided tags. Tables with additional tags or no tags are
|
|
24083
|
+
included
|
|
24057
24084
|
* `data_quality_dimensions` (`[String]`): Filter by data quality
|
|
24058
24085
|
dimensions
|
|
24059
24086
|
* `order_by` (`String`): Field and direction to order monitors by
|
|
@@ -24104,6 +24131,21 @@ class MonitorLimits(sgqlc.types.Type):
|
|
|
24104
24131
|
"""Monthly time series limit"""
|
|
24105
24132
|
|
|
24106
24133
|
|
|
24134
|
+
class MonitorProject(sgqlc.types.Type):
|
|
24135
|
+
"""Projects referenced by monitors, grouped by project name"""
|
|
24136
|
+
|
|
24137
|
+
__schema__ = schema
|
|
24138
|
+
__field_names__ = ("display_name", "mcons")
|
|
24139
|
+
display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="displayName")
|
|
24140
|
+
"""Project name"""
|
|
24141
|
+
|
|
24142
|
+
mcons = sgqlc.types.Field(
|
|
24143
|
+
sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))),
|
|
24144
|
+
graphql_name="mcons",
|
|
24145
|
+
)
|
|
24146
|
+
"""List of MCONs for the projects with this name"""
|
|
24147
|
+
|
|
24148
|
+
|
|
24107
24149
|
class MonitorQueries(sgqlc.types.Type):
|
|
24108
24150
|
"""A monitor query"""
|
|
24109
24151
|
|
|
@@ -24210,6 +24252,36 @@ class MonitorSummary(sgqlc.types.Type):
|
|
|
24210
24252
|
table_metric = sgqlc.types.Field(Int, graphql_name="tableMetric")
|
|
24211
24253
|
|
|
24212
24254
|
|
|
24255
|
+
class MonitorTable(sgqlc.types.Type):
|
|
24256
|
+
"""Tables referenced by monitors, grouped by table identifier"""
|
|
24257
|
+
|
|
24258
|
+
__schema__ = schema
|
|
24259
|
+
__field_names__ = ("display_name", "mcons")
|
|
24260
|
+
display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="displayName")
|
|
24261
|
+
"""Table identifier"""
|
|
24262
|
+
|
|
24263
|
+
mcons = sgqlc.types.Field(
|
|
24264
|
+
sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))),
|
|
24265
|
+
graphql_name="mcons",
|
|
24266
|
+
)
|
|
24267
|
+
"""List of MCONs for the tables with this identifier"""
|
|
24268
|
+
|
|
24269
|
+
|
|
24270
|
+
class MonitorWarehouse(sgqlc.types.Type):
|
|
24271
|
+
"""Warehouse assets referenced by monitors, grouped by name"""
|
|
24272
|
+
|
|
24273
|
+
__schema__ = schema
|
|
24274
|
+
__field_names__ = ("display_name", "mcons")
|
|
24275
|
+
display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="displayName")
|
|
24276
|
+
"""Warehouse name"""
|
|
24277
|
+
|
|
24278
|
+
mcons = sgqlc.types.Field(
|
|
24279
|
+
sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))),
|
|
24280
|
+
graphql_name="mcons",
|
|
24281
|
+
)
|
|
24282
|
+
"""List of MCONs for the warehouses with this name"""
|
|
24283
|
+
|
|
24284
|
+
|
|
24213
24285
|
class MonitoredTableRuleJobStatusObject(sgqlc.types.Type):
|
|
24214
24286
|
"""Job status for updating monitored table rules"""
|
|
24215
24287
|
|
|
@@ -43130,6 +43202,10 @@ class Query(sgqlc.types.Type):
|
|
|
43130
43202
|
"get_monitors",
|
|
43131
43203
|
"get_monitors_count",
|
|
43132
43204
|
"get_monitor_namespaces",
|
|
43205
|
+
"get_monitor_warehouses",
|
|
43206
|
+
"get_monitor_projects",
|
|
43207
|
+
"get_monitor_datasets",
|
|
43208
|
+
"get_monitor_tables",
|
|
43133
43209
|
"get_monitor_creators",
|
|
43134
43210
|
"get_monitor_updaters",
|
|
43135
43211
|
"get_monitor_queries",
|
|
@@ -49448,6 +49524,14 @@ class Query(sgqlc.types.Type):
|
|
|
49448
49524
|
default=None,
|
|
49449
49525
|
),
|
|
49450
49526
|
),
|
|
49527
|
+
(
|
|
49528
|
+
"exclude_asset_tags",
|
|
49529
|
+
sgqlc.types.Arg(
|
|
49530
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
49531
|
+
graphql_name="excludeAssetTags",
|
|
49532
|
+
default=None,
|
|
49533
|
+
),
|
|
49534
|
+
),
|
|
49451
49535
|
(
|
|
49452
49536
|
"data_quality_dimensions",
|
|
49453
49537
|
sgqlc.types.Arg(
|
|
@@ -49508,8 +49592,12 @@ class Query(sgqlc.types.Type):
|
|
|
49508
49592
|
* `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
|
|
49509
49593
|
can include null to include monitors without tags
|
|
49510
49594
|
* `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
|
|
49511
|
-
Returns monitors
|
|
49595
|
+
Returns monitors with at least one linked table that has any of
|
|
49512
49596
|
the provided tags
|
|
49597
|
+
* `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
|
|
49598
|
+
monitors that have any linked table whose tags consist only of
|
|
49599
|
+
the provided tags. Tables with additional tags or no tags are
|
|
49600
|
+
included
|
|
49513
49601
|
* `data_quality_dimensions` (`[String]`): Filter by data quality
|
|
49514
49602
|
dimensions
|
|
49515
49603
|
* `order_by` (`String`): Field and direction to order monitors by
|
|
@@ -49669,6 +49757,14 @@ class Query(sgqlc.types.Type):
|
|
|
49669
49757
|
default=None,
|
|
49670
49758
|
),
|
|
49671
49759
|
),
|
|
49760
|
+
(
|
|
49761
|
+
"exclude_asset_tags",
|
|
49762
|
+
sgqlc.types.Arg(
|
|
49763
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
49764
|
+
graphql_name="excludeAssetTags",
|
|
49765
|
+
default=None,
|
|
49766
|
+
),
|
|
49767
|
+
),
|
|
49672
49768
|
(
|
|
49673
49769
|
"data_quality_dimensions",
|
|
49674
49770
|
sgqlc.types.Arg(
|
|
@@ -49729,8 +49825,12 @@ class Query(sgqlc.types.Type):
|
|
|
49729
49825
|
* `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
|
|
49730
49826
|
can include null to include monitors without tags
|
|
49731
49827
|
* `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
|
|
49732
|
-
Returns monitors
|
|
49828
|
+
Returns monitors with at least one linked table that has any of
|
|
49733
49829
|
the provided tags
|
|
49830
|
+
* `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
|
|
49831
|
+
monitors that have any linked table whose tags consist only of
|
|
49832
|
+
the provided tags. Tables with additional tags or no tags are
|
|
49833
|
+
included
|
|
49734
49834
|
* `data_quality_dimensions` (`[String]`): Filter by data quality
|
|
49735
49835
|
dimensions
|
|
49736
49836
|
* `order_by` (`String`): Field and direction to order monitors by
|
|
@@ -49890,6 +49990,14 @@ class Query(sgqlc.types.Type):
|
|
|
49890
49990
|
default=None,
|
|
49891
49991
|
),
|
|
49892
49992
|
),
|
|
49993
|
+
(
|
|
49994
|
+
"exclude_asset_tags",
|
|
49995
|
+
sgqlc.types.Arg(
|
|
49996
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
49997
|
+
graphql_name="excludeAssetTags",
|
|
49998
|
+
default=None,
|
|
49999
|
+
),
|
|
50000
|
+
),
|
|
49893
50001
|
(
|
|
49894
50002
|
"data_quality_dimensions",
|
|
49895
50003
|
sgqlc.types.Arg(
|
|
@@ -49950,8 +50058,12 @@ class Query(sgqlc.types.Type):
|
|
|
49950
50058
|
* `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
|
|
49951
50059
|
can include null to include monitors without tags
|
|
49952
50060
|
* `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
|
|
49953
|
-
Returns monitors
|
|
50061
|
+
Returns monitors with at least one linked table that has any of
|
|
49954
50062
|
the provided tags
|
|
50063
|
+
* `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
|
|
50064
|
+
monitors that have any linked table whose tags consist only of
|
|
50065
|
+
the provided tags. Tables with additional tags or no tags are
|
|
50066
|
+
included
|
|
49955
50067
|
* `data_quality_dimensions` (`[String]`): Filter by data quality
|
|
49956
50068
|
dimensions
|
|
49957
50069
|
* `order_by` (`String`): Field and direction to order monitors by
|
|
@@ -49959,9 +50071,9 @@ class Query(sgqlc.types.Type):
|
|
|
49959
50071
|
* `offset` (`Int`): From which monitor to return the next results
|
|
49960
50072
|
"""
|
|
49961
50073
|
|
|
49962
|
-
|
|
49963
|
-
sgqlc.types.list_of(
|
|
49964
|
-
graphql_name="
|
|
50074
|
+
get_monitor_warehouses = sgqlc.types.Field(
|
|
50075
|
+
sgqlc.types.list_of(sgqlc.types.non_null(MonitorWarehouse)),
|
|
50076
|
+
graphql_name="getMonitorWarehouses",
|
|
49965
50077
|
args=sgqlc.types.ArgDict(
|
|
49966
50078
|
(
|
|
49967
50079
|
(
|
|
@@ -50111,6 +50223,14 @@ class Query(sgqlc.types.Type):
|
|
|
50111
50223
|
default=None,
|
|
50112
50224
|
),
|
|
50113
50225
|
),
|
|
50226
|
+
(
|
|
50227
|
+
"exclude_asset_tags",
|
|
50228
|
+
sgqlc.types.Arg(
|
|
50229
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
50230
|
+
graphql_name="excludeAssetTags",
|
|
50231
|
+
default=None,
|
|
50232
|
+
),
|
|
50233
|
+
),
|
|
50114
50234
|
(
|
|
50115
50235
|
"data_quality_dimensions",
|
|
50116
50236
|
sgqlc.types.Arg(
|
|
@@ -50125,7 +50245,7 @@ class Query(sgqlc.types.Type):
|
|
|
50125
50245
|
)
|
|
50126
50246
|
),
|
|
50127
50247
|
)
|
|
50128
|
-
"""(experimental) List of
|
|
50248
|
+
"""(experimental) List of monitor warehouses
|
|
50129
50249
|
|
|
50130
50250
|
Arguments:
|
|
50131
50251
|
|
|
@@ -50171,8 +50291,12 @@ class Query(sgqlc.types.Type):
|
|
|
50171
50291
|
* `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
|
|
50172
50292
|
can include null to include monitors without tags
|
|
50173
50293
|
* `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
|
|
50174
|
-
Returns monitors
|
|
50294
|
+
Returns monitors with at least one linked table that has any of
|
|
50175
50295
|
the provided tags
|
|
50296
|
+
* `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
|
|
50297
|
+
monitors that have any linked table whose tags consist only of
|
|
50298
|
+
the provided tags. Tables with additional tags or no tags are
|
|
50299
|
+
included
|
|
50176
50300
|
* `data_quality_dimensions` (`[String]`): Filter by data quality
|
|
50177
50301
|
dimensions
|
|
50178
50302
|
* `order_by` (`String`): Field and direction to order monitors by
|
|
@@ -50180,9 +50304,9 @@ class Query(sgqlc.types.Type):
|
|
|
50180
50304
|
* `offset` (`Int`): From which monitor to return the next results
|
|
50181
50305
|
"""
|
|
50182
50306
|
|
|
50183
|
-
|
|
50184
|
-
sgqlc.types.list_of(
|
|
50185
|
-
graphql_name="
|
|
50307
|
+
get_monitor_projects = sgqlc.types.Field(
|
|
50308
|
+
sgqlc.types.list_of(sgqlc.types.non_null(MonitorProject)),
|
|
50309
|
+
graphql_name="getMonitorProjects",
|
|
50186
50310
|
args=sgqlc.types.ArgDict(
|
|
50187
50311
|
(
|
|
50188
50312
|
(
|
|
@@ -50332,6 +50456,946 @@ class Query(sgqlc.types.Type):
|
|
|
50332
50456
|
default=None,
|
|
50333
50457
|
),
|
|
50334
50458
|
),
|
|
50459
|
+
(
|
|
50460
|
+
"exclude_asset_tags",
|
|
50461
|
+
sgqlc.types.Arg(
|
|
50462
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
50463
|
+
graphql_name="excludeAssetTags",
|
|
50464
|
+
default=None,
|
|
50465
|
+
),
|
|
50466
|
+
),
|
|
50467
|
+
(
|
|
50468
|
+
"data_quality_dimensions",
|
|
50469
|
+
sgqlc.types.Arg(
|
|
50470
|
+
sgqlc.types.list_of(String),
|
|
50471
|
+
graphql_name="dataQualityDimensions",
|
|
50472
|
+
default=None,
|
|
50473
|
+
),
|
|
50474
|
+
),
|
|
50475
|
+
("order_by", sgqlc.types.Arg(String, graphql_name="orderBy", default=None)),
|
|
50476
|
+
("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=None)),
|
|
50477
|
+
("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
|
|
50478
|
+
)
|
|
50479
|
+
),
|
|
50480
|
+
)
|
|
50481
|
+
"""(experimental) List of monitor projects
|
|
50482
|
+
|
|
50483
|
+
Arguments:
|
|
50484
|
+
|
|
50485
|
+
* `monitor_types` (`[UserDefinedMonitors]`): Type of monitors to
|
|
50486
|
+
filter by, default all
|
|
50487
|
+
* `status_types` (`[MonitorStatusType]`): Type of monitor status
|
|
50488
|
+
to filter by, default all
|
|
50489
|
+
* `consolidated_status_types` (`[ConsolidatedMonitorStatusType]`):
|
|
50490
|
+
Type of consolidated monitor status to filter by, default all
|
|
50491
|
+
* `description_field_or_table` (`[String]`): DEPRECATED
|
|
50492
|
+
* `created_by` (`[String!]`): Filter by creator using a list of
|
|
50493
|
+
user emails
|
|
50494
|
+
* `updated_by` (`[String!]`): Filter by updater using a list of
|
|
50495
|
+
user emails
|
|
50496
|
+
* `priorities` (`[String]`): Filter by priorities. It can include
|
|
50497
|
+
null to include monitors without a priority set
|
|
50498
|
+
* `domain_id` (`UUID`): Domain uuid to filter by
|
|
50499
|
+
* `domain_ids` (`[UUID!]`): List of domain uuids to filter by
|
|
50500
|
+
* `uuids` (`[String]`): list of uuids of the monitors to filter by
|
|
50501
|
+
* `created_by_filters` (`CreatedByFilters`): Deprecated
|
|
50502
|
+
* `labels` (`[String]`): List of labels to filter by
|
|
50503
|
+
* `search` (`[String]`): Search criteria for filtering the
|
|
50504
|
+
monitors list
|
|
50505
|
+
* `search_fields` (`[UserDefinedMonitorSearchFields]`): Which
|
|
50506
|
+
fields to include during search
|
|
50507
|
+
* `namespaces` (`[String]`): filter by namespaces
|
|
50508
|
+
* `is_template_managed` (`Boolean`): Filter monitors created by
|
|
50509
|
+
code
|
|
50510
|
+
* `is_ootb_replacement` (`Boolean`): Filter monitors which replace
|
|
50511
|
+
a default ootb detector (default: `false`)
|
|
50512
|
+
* `include_ootb_monitors` (`Boolean`): If set to true, OOTB
|
|
50513
|
+
monitors will be returned. They will be the first few monitors
|
|
50514
|
+
in the first page of the results (default: `false`)
|
|
50515
|
+
* `include_ootb_replacement` (`Boolean`): If set to true and
|
|
50516
|
+
is_ootb_replacement is not specified or false, ootb_replacement
|
|
50517
|
+
monitors will be included in result (default: `false`)
|
|
50518
|
+
* `mcons` (`[String]`): Filter by warehouses, projects, datasets,
|
|
50519
|
+
or tables (MCON)
|
|
50520
|
+
* `exclude_mcons` (`[String]`): Exclude monitors associated with
|
|
50521
|
+
these warehouses, projects, datasets, or tables (MCON)
|
|
50522
|
+
* `alerted_only` (`Boolean`): EXPERIMENTAL. Filter monitors to
|
|
50523
|
+
only the ones that are breached.
|
|
50524
|
+
* `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
|
|
50525
|
+
can include null to include monitors without tags
|
|
50526
|
+
* `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
|
|
50527
|
+
Returns monitors with at least one linked table that has any of
|
|
50528
|
+
the provided tags
|
|
50529
|
+
* `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
|
|
50530
|
+
monitors that have any linked table whose tags consist only of
|
|
50531
|
+
the provided tags. Tables with additional tags or no tags are
|
|
50532
|
+
included
|
|
50533
|
+
* `data_quality_dimensions` (`[String]`): Filter by data quality
|
|
50534
|
+
dimensions
|
|
50535
|
+
* `order_by` (`String`): Field and direction to order monitors by
|
|
50536
|
+
* `limit` (`Int`): Number of monitors to return
|
|
50537
|
+
* `offset` (`Int`): From which monitor to return the next results
|
|
50538
|
+
"""
|
|
50539
|
+
|
|
50540
|
+
get_monitor_datasets = sgqlc.types.Field(
|
|
50541
|
+
sgqlc.types.list_of(sgqlc.types.non_null(MonitorDataset)),
|
|
50542
|
+
graphql_name="getMonitorDatasets",
|
|
50543
|
+
args=sgqlc.types.ArgDict(
|
|
50544
|
+
(
|
|
50545
|
+
(
|
|
50546
|
+
"monitor_types",
|
|
50547
|
+
sgqlc.types.Arg(
|
|
50548
|
+
sgqlc.types.list_of(UserDefinedMonitors),
|
|
50549
|
+
graphql_name="monitorTypes",
|
|
50550
|
+
default=None,
|
|
50551
|
+
),
|
|
50552
|
+
),
|
|
50553
|
+
(
|
|
50554
|
+
"status_types",
|
|
50555
|
+
sgqlc.types.Arg(
|
|
50556
|
+
sgqlc.types.list_of(MonitorStatusType),
|
|
50557
|
+
graphql_name="statusTypes",
|
|
50558
|
+
default=None,
|
|
50559
|
+
),
|
|
50560
|
+
),
|
|
50561
|
+
(
|
|
50562
|
+
"consolidated_status_types",
|
|
50563
|
+
sgqlc.types.Arg(
|
|
50564
|
+
sgqlc.types.list_of(ConsolidatedMonitorStatusType),
|
|
50565
|
+
graphql_name="consolidatedStatusTypes",
|
|
50566
|
+
default=None,
|
|
50567
|
+
),
|
|
50568
|
+
),
|
|
50569
|
+
(
|
|
50570
|
+
"description_field_or_table",
|
|
50571
|
+
sgqlc.types.Arg(
|
|
50572
|
+
sgqlc.types.list_of(String),
|
|
50573
|
+
graphql_name="descriptionFieldOrTable",
|
|
50574
|
+
default=None,
|
|
50575
|
+
),
|
|
50576
|
+
),
|
|
50577
|
+
(
|
|
50578
|
+
"created_by",
|
|
50579
|
+
sgqlc.types.Arg(
|
|
50580
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)),
|
|
50581
|
+
graphql_name="createdBy",
|
|
50582
|
+
default=None,
|
|
50583
|
+
),
|
|
50584
|
+
),
|
|
50585
|
+
(
|
|
50586
|
+
"updated_by",
|
|
50587
|
+
sgqlc.types.Arg(
|
|
50588
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)),
|
|
50589
|
+
graphql_name="updatedBy",
|
|
50590
|
+
default=None,
|
|
50591
|
+
),
|
|
50592
|
+
),
|
|
50593
|
+
(
|
|
50594
|
+
"priorities",
|
|
50595
|
+
sgqlc.types.Arg(
|
|
50596
|
+
sgqlc.types.list_of(String), graphql_name="priorities", default=None
|
|
50597
|
+
),
|
|
50598
|
+
),
|
|
50599
|
+
("domain_id", sgqlc.types.Arg(UUID, graphql_name="domainId", default=None)),
|
|
50600
|
+
(
|
|
50601
|
+
"domain_ids",
|
|
50602
|
+
sgqlc.types.Arg(
|
|
50603
|
+
sgqlc.types.list_of(sgqlc.types.non_null(UUID)),
|
|
50604
|
+
graphql_name="domainIds",
|
|
50605
|
+
default=None,
|
|
50606
|
+
),
|
|
50607
|
+
),
|
|
50608
|
+
(
|
|
50609
|
+
"uuids",
|
|
50610
|
+
sgqlc.types.Arg(
|
|
50611
|
+
sgqlc.types.list_of(String), graphql_name="uuids", default=None
|
|
50612
|
+
),
|
|
50613
|
+
),
|
|
50614
|
+
(
|
|
50615
|
+
"created_by_filters",
|
|
50616
|
+
sgqlc.types.Arg(
|
|
50617
|
+
CreatedByFilters, graphql_name="createdByFilters", default=None
|
|
50618
|
+
),
|
|
50619
|
+
),
|
|
50620
|
+
(
|
|
50621
|
+
"labels",
|
|
50622
|
+
sgqlc.types.Arg(
|
|
50623
|
+
sgqlc.types.list_of(String), graphql_name="labels", default=None
|
|
50624
|
+
),
|
|
50625
|
+
),
|
|
50626
|
+
(
|
|
50627
|
+
"search",
|
|
50628
|
+
sgqlc.types.Arg(
|
|
50629
|
+
sgqlc.types.list_of(String), graphql_name="search", default=None
|
|
50630
|
+
),
|
|
50631
|
+
),
|
|
50632
|
+
(
|
|
50633
|
+
"search_fields",
|
|
50634
|
+
sgqlc.types.Arg(
|
|
50635
|
+
sgqlc.types.list_of(UserDefinedMonitorSearchFields),
|
|
50636
|
+
graphql_name="searchFields",
|
|
50637
|
+
default=None,
|
|
50638
|
+
),
|
|
50639
|
+
),
|
|
50640
|
+
(
|
|
50641
|
+
"namespaces",
|
|
50642
|
+
sgqlc.types.Arg(
|
|
50643
|
+
sgqlc.types.list_of(String), graphql_name="namespaces", default=None
|
|
50644
|
+
),
|
|
50645
|
+
),
|
|
50646
|
+
(
|
|
50647
|
+
"is_template_managed",
|
|
50648
|
+
sgqlc.types.Arg(Boolean, graphql_name="isTemplateManaged", default=None),
|
|
50649
|
+
),
|
|
50650
|
+
(
|
|
50651
|
+
"is_ootb_replacement",
|
|
50652
|
+
sgqlc.types.Arg(Boolean, graphql_name="isOotbReplacement", default=False),
|
|
50653
|
+
),
|
|
50654
|
+
(
|
|
50655
|
+
"include_ootb_monitors",
|
|
50656
|
+
sgqlc.types.Arg(Boolean, graphql_name="includeOotbMonitors", default=False),
|
|
50657
|
+
),
|
|
50658
|
+
(
|
|
50659
|
+
"include_ootb_replacement",
|
|
50660
|
+
sgqlc.types.Arg(Boolean, graphql_name="includeOotbReplacement", default=False),
|
|
50661
|
+
),
|
|
50662
|
+
(
|
|
50663
|
+
"mcons",
|
|
50664
|
+
sgqlc.types.Arg(
|
|
50665
|
+
sgqlc.types.list_of(String), graphql_name="mcons", default=None
|
|
50666
|
+
),
|
|
50667
|
+
),
|
|
50668
|
+
(
|
|
50669
|
+
"exclude_mcons",
|
|
50670
|
+
sgqlc.types.Arg(
|
|
50671
|
+
sgqlc.types.list_of(String), graphql_name="excludeMcons", default=None
|
|
50672
|
+
),
|
|
50673
|
+
),
|
|
50674
|
+
(
|
|
50675
|
+
"alerted_only",
|
|
50676
|
+
sgqlc.types.Arg(Boolean, graphql_name="alertedOnly", default=None),
|
|
50677
|
+
),
|
|
50678
|
+
(
|
|
50679
|
+
"tags",
|
|
50680
|
+
sgqlc.types.Arg(
|
|
50681
|
+
sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
|
|
50682
|
+
),
|
|
50683
|
+
),
|
|
50684
|
+
(
|
|
50685
|
+
"asset_tags",
|
|
50686
|
+
sgqlc.types.Arg(
|
|
50687
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
50688
|
+
graphql_name="assetTags",
|
|
50689
|
+
default=None,
|
|
50690
|
+
),
|
|
50691
|
+
),
|
|
50692
|
+
(
|
|
50693
|
+
"exclude_asset_tags",
|
|
50694
|
+
sgqlc.types.Arg(
|
|
50695
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
50696
|
+
graphql_name="excludeAssetTags",
|
|
50697
|
+
default=None,
|
|
50698
|
+
),
|
|
50699
|
+
),
|
|
50700
|
+
(
|
|
50701
|
+
"data_quality_dimensions",
|
|
50702
|
+
sgqlc.types.Arg(
|
|
50703
|
+
sgqlc.types.list_of(String),
|
|
50704
|
+
graphql_name="dataQualityDimensions",
|
|
50705
|
+
default=None,
|
|
50706
|
+
),
|
|
50707
|
+
),
|
|
50708
|
+
("order_by", sgqlc.types.Arg(String, graphql_name="orderBy", default=None)),
|
|
50709
|
+
("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=None)),
|
|
50710
|
+
("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
|
|
50711
|
+
)
|
|
50712
|
+
),
|
|
50713
|
+
)
|
|
50714
|
+
"""(experimental) List of monitor datasets
|
|
50715
|
+
|
|
50716
|
+
Arguments:
|
|
50717
|
+
|
|
50718
|
+
* `monitor_types` (`[UserDefinedMonitors]`): Type of monitors to
|
|
50719
|
+
filter by, default all
|
|
50720
|
+
* `status_types` (`[MonitorStatusType]`): Type of monitor status
|
|
50721
|
+
to filter by, default all
|
|
50722
|
+
* `consolidated_status_types` (`[ConsolidatedMonitorStatusType]`):
|
|
50723
|
+
Type of consolidated monitor status to filter by, default all
|
|
50724
|
+
* `description_field_or_table` (`[String]`): DEPRECATED
|
|
50725
|
+
* `created_by` (`[String!]`): Filter by creator using a list of
|
|
50726
|
+
user emails
|
|
50727
|
+
* `updated_by` (`[String!]`): Filter by updater using a list of
|
|
50728
|
+
user emails
|
|
50729
|
+
* `priorities` (`[String]`): Filter by priorities. It can include
|
|
50730
|
+
null to include monitors without a priority set
|
|
50731
|
+
* `domain_id` (`UUID`): Domain uuid to filter by
|
|
50732
|
+
* `domain_ids` (`[UUID!]`): List of domain uuids to filter by
|
|
50733
|
+
* `uuids` (`[String]`): list of uuids of the monitors to filter by
|
|
50734
|
+
* `created_by_filters` (`CreatedByFilters`): Deprecated
|
|
50735
|
+
* `labels` (`[String]`): List of labels to filter by
|
|
50736
|
+
* `search` (`[String]`): Search criteria for filtering the
|
|
50737
|
+
monitors list
|
|
50738
|
+
* `search_fields` (`[UserDefinedMonitorSearchFields]`): Which
|
|
50739
|
+
fields to include during search
|
|
50740
|
+
* `namespaces` (`[String]`): filter by namespaces
|
|
50741
|
+
* `is_template_managed` (`Boolean`): Filter monitors created by
|
|
50742
|
+
code
|
|
50743
|
+
* `is_ootb_replacement` (`Boolean`): Filter monitors which replace
|
|
50744
|
+
a default ootb detector (default: `false`)
|
|
50745
|
+
* `include_ootb_monitors` (`Boolean`): If set to true, OOTB
|
|
50746
|
+
monitors will be returned. They will be the first few monitors
|
|
50747
|
+
in the first page of the results (default: `false`)
|
|
50748
|
+
* `include_ootb_replacement` (`Boolean`): If set to true and
|
|
50749
|
+
is_ootb_replacement is not specified or false, ootb_replacement
|
|
50750
|
+
monitors will be included in result (default: `false`)
|
|
50751
|
+
* `mcons` (`[String]`): Filter by warehouses, projects, datasets,
|
|
50752
|
+
or tables (MCON)
|
|
50753
|
+
* `exclude_mcons` (`[String]`): Exclude monitors associated with
|
|
50754
|
+
these warehouses, projects, datasets, or tables (MCON)
|
|
50755
|
+
* `alerted_only` (`Boolean`): EXPERIMENTAL. Filter monitors to
|
|
50756
|
+
only the ones that are breached.
|
|
50757
|
+
* `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
|
|
50758
|
+
can include null to include monitors without tags
|
|
50759
|
+
* `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
|
|
50760
|
+
Returns monitors with at least one linked table that has any of
|
|
50761
|
+
the provided tags
|
|
50762
|
+
* `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
|
|
50763
|
+
monitors that have any linked table whose tags consist only of
|
|
50764
|
+
the provided tags. Tables with additional tags or no tags are
|
|
50765
|
+
included
|
|
50766
|
+
* `data_quality_dimensions` (`[String]`): Filter by data quality
|
|
50767
|
+
dimensions
|
|
50768
|
+
* `order_by` (`String`): Field and direction to order monitors by
|
|
50769
|
+
* `limit` (`Int`): Number of monitors to return
|
|
50770
|
+
* `offset` (`Int`): From which monitor to return the next results
|
|
50771
|
+
"""
|
|
50772
|
+
|
|
50773
|
+
get_monitor_tables = sgqlc.types.Field(
|
|
50774
|
+
sgqlc.types.list_of(sgqlc.types.non_null(MonitorTable)),
|
|
50775
|
+
graphql_name="getMonitorTables",
|
|
50776
|
+
args=sgqlc.types.ArgDict(
|
|
50777
|
+
(
|
|
50778
|
+
(
|
|
50779
|
+
"monitor_types",
|
|
50780
|
+
sgqlc.types.Arg(
|
|
50781
|
+
sgqlc.types.list_of(UserDefinedMonitors),
|
|
50782
|
+
graphql_name="monitorTypes",
|
|
50783
|
+
default=None,
|
|
50784
|
+
),
|
|
50785
|
+
),
|
|
50786
|
+
(
|
|
50787
|
+
"status_types",
|
|
50788
|
+
sgqlc.types.Arg(
|
|
50789
|
+
sgqlc.types.list_of(MonitorStatusType),
|
|
50790
|
+
graphql_name="statusTypes",
|
|
50791
|
+
default=None,
|
|
50792
|
+
),
|
|
50793
|
+
),
|
|
50794
|
+
(
|
|
50795
|
+
"consolidated_status_types",
|
|
50796
|
+
sgqlc.types.Arg(
|
|
50797
|
+
sgqlc.types.list_of(ConsolidatedMonitorStatusType),
|
|
50798
|
+
graphql_name="consolidatedStatusTypes",
|
|
50799
|
+
default=None,
|
|
50800
|
+
),
|
|
50801
|
+
),
|
|
50802
|
+
(
|
|
50803
|
+
"description_field_or_table",
|
|
50804
|
+
sgqlc.types.Arg(
|
|
50805
|
+
sgqlc.types.list_of(String),
|
|
50806
|
+
graphql_name="descriptionFieldOrTable",
|
|
50807
|
+
default=None,
|
|
50808
|
+
),
|
|
50809
|
+
),
|
|
50810
|
+
(
|
|
50811
|
+
"created_by",
|
|
50812
|
+
sgqlc.types.Arg(
|
|
50813
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)),
|
|
50814
|
+
graphql_name="createdBy",
|
|
50815
|
+
default=None,
|
|
50816
|
+
),
|
|
50817
|
+
),
|
|
50818
|
+
(
|
|
50819
|
+
"updated_by",
|
|
50820
|
+
sgqlc.types.Arg(
|
|
50821
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)),
|
|
50822
|
+
graphql_name="updatedBy",
|
|
50823
|
+
default=None,
|
|
50824
|
+
),
|
|
50825
|
+
),
|
|
50826
|
+
(
|
|
50827
|
+
"priorities",
|
|
50828
|
+
sgqlc.types.Arg(
|
|
50829
|
+
sgqlc.types.list_of(String), graphql_name="priorities", default=None
|
|
50830
|
+
),
|
|
50831
|
+
),
|
|
50832
|
+
("domain_id", sgqlc.types.Arg(UUID, graphql_name="domainId", default=None)),
|
|
50833
|
+
(
|
|
50834
|
+
"domain_ids",
|
|
50835
|
+
sgqlc.types.Arg(
|
|
50836
|
+
sgqlc.types.list_of(sgqlc.types.non_null(UUID)),
|
|
50837
|
+
graphql_name="domainIds",
|
|
50838
|
+
default=None,
|
|
50839
|
+
),
|
|
50840
|
+
),
|
|
50841
|
+
(
|
|
50842
|
+
"uuids",
|
|
50843
|
+
sgqlc.types.Arg(
|
|
50844
|
+
sgqlc.types.list_of(String), graphql_name="uuids", default=None
|
|
50845
|
+
),
|
|
50846
|
+
),
|
|
50847
|
+
(
|
|
50848
|
+
"created_by_filters",
|
|
50849
|
+
sgqlc.types.Arg(
|
|
50850
|
+
CreatedByFilters, graphql_name="createdByFilters", default=None
|
|
50851
|
+
),
|
|
50852
|
+
),
|
|
50853
|
+
(
|
|
50854
|
+
"labels",
|
|
50855
|
+
sgqlc.types.Arg(
|
|
50856
|
+
sgqlc.types.list_of(String), graphql_name="labels", default=None
|
|
50857
|
+
),
|
|
50858
|
+
),
|
|
50859
|
+
(
|
|
50860
|
+
"search",
|
|
50861
|
+
sgqlc.types.Arg(
|
|
50862
|
+
sgqlc.types.list_of(String), graphql_name="search", default=None
|
|
50863
|
+
),
|
|
50864
|
+
),
|
|
50865
|
+
(
|
|
50866
|
+
"search_fields",
|
|
50867
|
+
sgqlc.types.Arg(
|
|
50868
|
+
sgqlc.types.list_of(UserDefinedMonitorSearchFields),
|
|
50869
|
+
graphql_name="searchFields",
|
|
50870
|
+
default=None,
|
|
50871
|
+
),
|
|
50872
|
+
),
|
|
50873
|
+
(
|
|
50874
|
+
"namespaces",
|
|
50875
|
+
sgqlc.types.Arg(
|
|
50876
|
+
sgqlc.types.list_of(String), graphql_name="namespaces", default=None
|
|
50877
|
+
),
|
|
50878
|
+
),
|
|
50879
|
+
(
|
|
50880
|
+
"is_template_managed",
|
|
50881
|
+
sgqlc.types.Arg(Boolean, graphql_name="isTemplateManaged", default=None),
|
|
50882
|
+
),
|
|
50883
|
+
(
|
|
50884
|
+
"is_ootb_replacement",
|
|
50885
|
+
sgqlc.types.Arg(Boolean, graphql_name="isOotbReplacement", default=False),
|
|
50886
|
+
),
|
|
50887
|
+
(
|
|
50888
|
+
"include_ootb_monitors",
|
|
50889
|
+
sgqlc.types.Arg(Boolean, graphql_name="includeOotbMonitors", default=False),
|
|
50890
|
+
),
|
|
50891
|
+
(
|
|
50892
|
+
"include_ootb_replacement",
|
|
50893
|
+
sgqlc.types.Arg(Boolean, graphql_name="includeOotbReplacement", default=False),
|
|
50894
|
+
),
|
|
50895
|
+
(
|
|
50896
|
+
"mcons",
|
|
50897
|
+
sgqlc.types.Arg(
|
|
50898
|
+
sgqlc.types.list_of(String), graphql_name="mcons", default=None
|
|
50899
|
+
),
|
|
50900
|
+
),
|
|
50901
|
+
(
|
|
50902
|
+
"exclude_mcons",
|
|
50903
|
+
sgqlc.types.Arg(
|
|
50904
|
+
sgqlc.types.list_of(String), graphql_name="excludeMcons", default=None
|
|
50905
|
+
),
|
|
50906
|
+
),
|
|
50907
|
+
(
|
|
50908
|
+
"alerted_only",
|
|
50909
|
+
sgqlc.types.Arg(Boolean, graphql_name="alertedOnly", default=None),
|
|
50910
|
+
),
|
|
50911
|
+
(
|
|
50912
|
+
"tags",
|
|
50913
|
+
sgqlc.types.Arg(
|
|
50914
|
+
sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
|
|
50915
|
+
),
|
|
50916
|
+
),
|
|
50917
|
+
(
|
|
50918
|
+
"asset_tags",
|
|
50919
|
+
sgqlc.types.Arg(
|
|
50920
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
50921
|
+
graphql_name="assetTags",
|
|
50922
|
+
default=None,
|
|
50923
|
+
),
|
|
50924
|
+
),
|
|
50925
|
+
(
|
|
50926
|
+
"exclude_asset_tags",
|
|
50927
|
+
sgqlc.types.Arg(
|
|
50928
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
50929
|
+
graphql_name="excludeAssetTags",
|
|
50930
|
+
default=None,
|
|
50931
|
+
),
|
|
50932
|
+
),
|
|
50933
|
+
(
|
|
50934
|
+
"data_quality_dimensions",
|
|
50935
|
+
sgqlc.types.Arg(
|
|
50936
|
+
sgqlc.types.list_of(String),
|
|
50937
|
+
graphql_name="dataQualityDimensions",
|
|
50938
|
+
default=None,
|
|
50939
|
+
),
|
|
50940
|
+
),
|
|
50941
|
+
("order_by", sgqlc.types.Arg(String, graphql_name="orderBy", default=None)),
|
|
50942
|
+
("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=None)),
|
|
50943
|
+
("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
|
|
50944
|
+
)
|
|
50945
|
+
),
|
|
50946
|
+
)
|
|
50947
|
+
"""(experimental) List of monitor tables
|
|
50948
|
+
|
|
50949
|
+
Arguments:
|
|
50950
|
+
|
|
50951
|
+
* `monitor_types` (`[UserDefinedMonitors]`): Type of monitors to
|
|
50952
|
+
filter by, default all
|
|
50953
|
+
* `status_types` (`[MonitorStatusType]`): Type of monitor status
|
|
50954
|
+
to filter by, default all
|
|
50955
|
+
* `consolidated_status_types` (`[ConsolidatedMonitorStatusType]`):
|
|
50956
|
+
Type of consolidated monitor status to filter by, default all
|
|
50957
|
+
* `description_field_or_table` (`[String]`): DEPRECATED
|
|
50958
|
+
* `created_by` (`[String!]`): Filter by creator using a list of
|
|
50959
|
+
user emails
|
|
50960
|
+
* `updated_by` (`[String!]`): Filter by updater using a list of
|
|
50961
|
+
user emails
|
|
50962
|
+
* `priorities` (`[String]`): Filter by priorities. It can include
|
|
50963
|
+
null to include monitors without a priority set
|
|
50964
|
+
* `domain_id` (`UUID`): Domain uuid to filter by
|
|
50965
|
+
* `domain_ids` (`[UUID!]`): List of domain uuids to filter by
|
|
50966
|
+
* `uuids` (`[String]`): list of uuids of the monitors to filter by
|
|
50967
|
+
* `created_by_filters` (`CreatedByFilters`): Deprecated
|
|
50968
|
+
* `labels` (`[String]`): List of labels to filter by
|
|
50969
|
+
* `search` (`[String]`): Search criteria for filtering the
|
|
50970
|
+
monitors list
|
|
50971
|
+
* `search_fields` (`[UserDefinedMonitorSearchFields]`): Which
|
|
50972
|
+
fields to include during search
|
|
50973
|
+
* `namespaces` (`[String]`): filter by namespaces
|
|
50974
|
+
* `is_template_managed` (`Boolean`): Filter monitors created by
|
|
50975
|
+
code
|
|
50976
|
+
* `is_ootb_replacement` (`Boolean`): Filter monitors which replace
|
|
50977
|
+
a default ootb detector (default: `false`)
|
|
50978
|
+
* `include_ootb_monitors` (`Boolean`): If set to true, OOTB
|
|
50979
|
+
monitors will be returned. They will be the first few monitors
|
|
50980
|
+
in the first page of the results (default: `false`)
|
|
50981
|
+
* `include_ootb_replacement` (`Boolean`): If set to true and
|
|
50982
|
+
is_ootb_replacement is not specified or false, ootb_replacement
|
|
50983
|
+
monitors will be included in result (default: `false`)
|
|
50984
|
+
* `mcons` (`[String]`): Filter by warehouses, projects, datasets,
|
|
50985
|
+
or tables (MCON)
|
|
50986
|
+
* `exclude_mcons` (`[String]`): Exclude monitors associated with
|
|
50987
|
+
these warehouses, projects, datasets, or tables (MCON)
|
|
50988
|
+
* `alerted_only` (`Boolean`): EXPERIMENTAL. Filter monitors to
|
|
50989
|
+
only the ones that are breached.
|
|
50990
|
+
* `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
|
|
50991
|
+
can include null to include monitors without tags
|
|
50992
|
+
* `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
|
|
50993
|
+
Returns monitors with at least one linked table that has any of
|
|
50994
|
+
the provided tags
|
|
50995
|
+
* `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
|
|
50996
|
+
monitors that have any linked table whose tags consist only of
|
|
50997
|
+
the provided tags. Tables with additional tags or no tags are
|
|
50998
|
+
included
|
|
50999
|
+
* `data_quality_dimensions` (`[String]`): Filter by data quality
|
|
51000
|
+
dimensions
|
|
51001
|
+
* `order_by` (`String`): Field and direction to order monitors by
|
|
51002
|
+
* `limit` (`Int`): Number of monitors to return
|
|
51003
|
+
* `offset` (`Int`): From which monitor to return the next results
|
|
51004
|
+
"""
|
|
51005
|
+
|
|
51006
|
+
get_monitor_creators = sgqlc.types.Field(
|
|
51007
|
+
sgqlc.types.list_of("User"),
|
|
51008
|
+
graphql_name="getMonitorCreators",
|
|
51009
|
+
args=sgqlc.types.ArgDict(
|
|
51010
|
+
(
|
|
51011
|
+
(
|
|
51012
|
+
"monitor_types",
|
|
51013
|
+
sgqlc.types.Arg(
|
|
51014
|
+
sgqlc.types.list_of(UserDefinedMonitors),
|
|
51015
|
+
graphql_name="monitorTypes",
|
|
51016
|
+
default=None,
|
|
51017
|
+
),
|
|
51018
|
+
),
|
|
51019
|
+
(
|
|
51020
|
+
"status_types",
|
|
51021
|
+
sgqlc.types.Arg(
|
|
51022
|
+
sgqlc.types.list_of(MonitorStatusType),
|
|
51023
|
+
graphql_name="statusTypes",
|
|
51024
|
+
default=None,
|
|
51025
|
+
),
|
|
51026
|
+
),
|
|
51027
|
+
(
|
|
51028
|
+
"consolidated_status_types",
|
|
51029
|
+
sgqlc.types.Arg(
|
|
51030
|
+
sgqlc.types.list_of(ConsolidatedMonitorStatusType),
|
|
51031
|
+
graphql_name="consolidatedStatusTypes",
|
|
51032
|
+
default=None,
|
|
51033
|
+
),
|
|
51034
|
+
),
|
|
51035
|
+
(
|
|
51036
|
+
"description_field_or_table",
|
|
51037
|
+
sgqlc.types.Arg(
|
|
51038
|
+
sgqlc.types.list_of(String),
|
|
51039
|
+
graphql_name="descriptionFieldOrTable",
|
|
51040
|
+
default=None,
|
|
51041
|
+
),
|
|
51042
|
+
),
|
|
51043
|
+
(
|
|
51044
|
+
"created_by",
|
|
51045
|
+
sgqlc.types.Arg(
|
|
51046
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)),
|
|
51047
|
+
graphql_name="createdBy",
|
|
51048
|
+
default=None,
|
|
51049
|
+
),
|
|
51050
|
+
),
|
|
51051
|
+
(
|
|
51052
|
+
"updated_by",
|
|
51053
|
+
sgqlc.types.Arg(
|
|
51054
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)),
|
|
51055
|
+
graphql_name="updatedBy",
|
|
51056
|
+
default=None,
|
|
51057
|
+
),
|
|
51058
|
+
),
|
|
51059
|
+
(
|
|
51060
|
+
"priorities",
|
|
51061
|
+
sgqlc.types.Arg(
|
|
51062
|
+
sgqlc.types.list_of(String), graphql_name="priorities", default=None
|
|
51063
|
+
),
|
|
51064
|
+
),
|
|
51065
|
+
("domain_id", sgqlc.types.Arg(UUID, graphql_name="domainId", default=None)),
|
|
51066
|
+
(
|
|
51067
|
+
"domain_ids",
|
|
51068
|
+
sgqlc.types.Arg(
|
|
51069
|
+
sgqlc.types.list_of(sgqlc.types.non_null(UUID)),
|
|
51070
|
+
graphql_name="domainIds",
|
|
51071
|
+
default=None,
|
|
51072
|
+
),
|
|
51073
|
+
),
|
|
51074
|
+
(
|
|
51075
|
+
"uuids",
|
|
51076
|
+
sgqlc.types.Arg(
|
|
51077
|
+
sgqlc.types.list_of(String), graphql_name="uuids", default=None
|
|
51078
|
+
),
|
|
51079
|
+
),
|
|
51080
|
+
(
|
|
51081
|
+
"created_by_filters",
|
|
51082
|
+
sgqlc.types.Arg(
|
|
51083
|
+
CreatedByFilters, graphql_name="createdByFilters", default=None
|
|
51084
|
+
),
|
|
51085
|
+
),
|
|
51086
|
+
(
|
|
51087
|
+
"labels",
|
|
51088
|
+
sgqlc.types.Arg(
|
|
51089
|
+
sgqlc.types.list_of(String), graphql_name="labels", default=None
|
|
51090
|
+
),
|
|
51091
|
+
),
|
|
51092
|
+
(
|
|
51093
|
+
"search",
|
|
51094
|
+
sgqlc.types.Arg(
|
|
51095
|
+
sgqlc.types.list_of(String), graphql_name="search", default=None
|
|
51096
|
+
),
|
|
51097
|
+
),
|
|
51098
|
+
(
|
|
51099
|
+
"search_fields",
|
|
51100
|
+
sgqlc.types.Arg(
|
|
51101
|
+
sgqlc.types.list_of(UserDefinedMonitorSearchFields),
|
|
51102
|
+
graphql_name="searchFields",
|
|
51103
|
+
default=None,
|
|
51104
|
+
),
|
|
51105
|
+
),
|
|
51106
|
+
(
|
|
51107
|
+
"namespaces",
|
|
51108
|
+
sgqlc.types.Arg(
|
|
51109
|
+
sgqlc.types.list_of(String), graphql_name="namespaces", default=None
|
|
51110
|
+
),
|
|
51111
|
+
),
|
|
51112
|
+
(
|
|
51113
|
+
"is_template_managed",
|
|
51114
|
+
sgqlc.types.Arg(Boolean, graphql_name="isTemplateManaged", default=None),
|
|
51115
|
+
),
|
|
51116
|
+
(
|
|
51117
|
+
"is_ootb_replacement",
|
|
51118
|
+
sgqlc.types.Arg(Boolean, graphql_name="isOotbReplacement", default=False),
|
|
51119
|
+
),
|
|
51120
|
+
(
|
|
51121
|
+
"include_ootb_monitors",
|
|
51122
|
+
sgqlc.types.Arg(Boolean, graphql_name="includeOotbMonitors", default=False),
|
|
51123
|
+
),
|
|
51124
|
+
(
|
|
51125
|
+
"include_ootb_replacement",
|
|
51126
|
+
sgqlc.types.Arg(Boolean, graphql_name="includeOotbReplacement", default=False),
|
|
51127
|
+
),
|
|
51128
|
+
(
|
|
51129
|
+
"mcons",
|
|
51130
|
+
sgqlc.types.Arg(
|
|
51131
|
+
sgqlc.types.list_of(String), graphql_name="mcons", default=None
|
|
51132
|
+
),
|
|
51133
|
+
),
|
|
51134
|
+
(
|
|
51135
|
+
"exclude_mcons",
|
|
51136
|
+
sgqlc.types.Arg(
|
|
51137
|
+
sgqlc.types.list_of(String), graphql_name="excludeMcons", default=None
|
|
51138
|
+
),
|
|
51139
|
+
),
|
|
51140
|
+
(
|
|
51141
|
+
"alerted_only",
|
|
51142
|
+
sgqlc.types.Arg(Boolean, graphql_name="alertedOnly", default=None),
|
|
51143
|
+
),
|
|
51144
|
+
(
|
|
51145
|
+
"tags",
|
|
51146
|
+
sgqlc.types.Arg(
|
|
51147
|
+
sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
|
|
51148
|
+
),
|
|
51149
|
+
),
|
|
51150
|
+
(
|
|
51151
|
+
"asset_tags",
|
|
51152
|
+
sgqlc.types.Arg(
|
|
51153
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
51154
|
+
graphql_name="assetTags",
|
|
51155
|
+
default=None,
|
|
51156
|
+
),
|
|
51157
|
+
),
|
|
51158
|
+
(
|
|
51159
|
+
"exclude_asset_tags",
|
|
51160
|
+
sgqlc.types.Arg(
|
|
51161
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
51162
|
+
graphql_name="excludeAssetTags",
|
|
51163
|
+
default=None,
|
|
51164
|
+
),
|
|
51165
|
+
),
|
|
51166
|
+
(
|
|
51167
|
+
"data_quality_dimensions",
|
|
51168
|
+
sgqlc.types.Arg(
|
|
51169
|
+
sgqlc.types.list_of(String),
|
|
51170
|
+
graphql_name="dataQualityDimensions",
|
|
51171
|
+
default=None,
|
|
51172
|
+
),
|
|
51173
|
+
),
|
|
51174
|
+
("order_by", sgqlc.types.Arg(String, graphql_name="orderBy", default=None)),
|
|
51175
|
+
("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=None)),
|
|
51176
|
+
("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
|
|
51177
|
+
)
|
|
51178
|
+
),
|
|
51179
|
+
)
|
|
51180
|
+
"""(experimental) List of users who are monitor creators
|
|
51181
|
+
|
|
51182
|
+
Arguments:
|
|
51183
|
+
|
|
51184
|
+
* `monitor_types` (`[UserDefinedMonitors]`): Type of monitors to
|
|
51185
|
+
filter by, default all
|
|
51186
|
+
* `status_types` (`[MonitorStatusType]`): Type of monitor status
|
|
51187
|
+
to filter by, default all
|
|
51188
|
+
* `consolidated_status_types` (`[ConsolidatedMonitorStatusType]`):
|
|
51189
|
+
Type of consolidated monitor status to filter by, default all
|
|
51190
|
+
* `description_field_or_table` (`[String]`): DEPRECATED
|
|
51191
|
+
* `created_by` (`[String!]`): Filter by creator using a list of
|
|
51192
|
+
user emails
|
|
51193
|
+
* `updated_by` (`[String!]`): Filter by updater using a list of
|
|
51194
|
+
user emails
|
|
51195
|
+
* `priorities` (`[String]`): Filter by priorities. It can include
|
|
51196
|
+
null to include monitors without a priority set
|
|
51197
|
+
* `domain_id` (`UUID`): Domain uuid to filter by
|
|
51198
|
+
* `domain_ids` (`[UUID!]`): List of domain uuids to filter by
|
|
51199
|
+
* `uuids` (`[String]`): list of uuids of the monitors to filter by
|
|
51200
|
+
* `created_by_filters` (`CreatedByFilters`): Deprecated
|
|
51201
|
+
* `labels` (`[String]`): List of labels to filter by
|
|
51202
|
+
* `search` (`[String]`): Search criteria for filtering the
|
|
51203
|
+
monitors list
|
|
51204
|
+
* `search_fields` (`[UserDefinedMonitorSearchFields]`): Which
|
|
51205
|
+
fields to include during search
|
|
51206
|
+
* `namespaces` (`[String]`): filter by namespaces
|
|
51207
|
+
* `is_template_managed` (`Boolean`): Filter monitors created by
|
|
51208
|
+
code
|
|
51209
|
+
* `is_ootb_replacement` (`Boolean`): Filter monitors which replace
|
|
51210
|
+
a default ootb detector (default: `false`)
|
|
51211
|
+
* `include_ootb_monitors` (`Boolean`): If set to true, OOTB
|
|
51212
|
+
monitors will be returned. They will be the first few monitors
|
|
51213
|
+
in the first page of the results (default: `false`)
|
|
51214
|
+
* `include_ootb_replacement` (`Boolean`): If set to true and
|
|
51215
|
+
is_ootb_replacement is not specified or false, ootb_replacement
|
|
51216
|
+
monitors will be included in result (default: `false`)
|
|
51217
|
+
* `mcons` (`[String]`): Filter by warehouses, projects, datasets,
|
|
51218
|
+
or tables (MCON)
|
|
51219
|
+
* `exclude_mcons` (`[String]`): Exclude monitors associated with
|
|
51220
|
+
these warehouses, projects, datasets, or tables (MCON)
|
|
51221
|
+
* `alerted_only` (`Boolean`): EXPERIMENTAL. Filter monitors to
|
|
51222
|
+
only the ones that are breached.
|
|
51223
|
+
* `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
|
|
51224
|
+
can include null to include monitors without tags
|
|
51225
|
+
* `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
|
|
51226
|
+
Returns monitors with at least one linked table that has any of
|
|
51227
|
+
the provided tags
|
|
51228
|
+
* `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
|
|
51229
|
+
monitors that have any linked table whose tags consist only of
|
|
51230
|
+
the provided tags. Tables with additional tags or no tags are
|
|
51231
|
+
included
|
|
51232
|
+
* `data_quality_dimensions` (`[String]`): Filter by data quality
|
|
51233
|
+
dimensions
|
|
51234
|
+
* `order_by` (`String`): Field and direction to order monitors by
|
|
51235
|
+
* `limit` (`Int`): Number of monitors to return
|
|
51236
|
+
* `offset` (`Int`): From which monitor to return the next results
|
|
51237
|
+
"""
|
|
51238
|
+
|
|
51239
|
+
get_monitor_updaters = sgqlc.types.Field(
|
|
51240
|
+
sgqlc.types.list_of("User"),
|
|
51241
|
+
graphql_name="getMonitorUpdaters",
|
|
51242
|
+
args=sgqlc.types.ArgDict(
|
|
51243
|
+
(
|
|
51244
|
+
(
|
|
51245
|
+
"monitor_types",
|
|
51246
|
+
sgqlc.types.Arg(
|
|
51247
|
+
sgqlc.types.list_of(UserDefinedMonitors),
|
|
51248
|
+
graphql_name="monitorTypes",
|
|
51249
|
+
default=None,
|
|
51250
|
+
),
|
|
51251
|
+
),
|
|
51252
|
+
(
|
|
51253
|
+
"status_types",
|
|
51254
|
+
sgqlc.types.Arg(
|
|
51255
|
+
sgqlc.types.list_of(MonitorStatusType),
|
|
51256
|
+
graphql_name="statusTypes",
|
|
51257
|
+
default=None,
|
|
51258
|
+
),
|
|
51259
|
+
),
|
|
51260
|
+
(
|
|
51261
|
+
"consolidated_status_types",
|
|
51262
|
+
sgqlc.types.Arg(
|
|
51263
|
+
sgqlc.types.list_of(ConsolidatedMonitorStatusType),
|
|
51264
|
+
graphql_name="consolidatedStatusTypes",
|
|
51265
|
+
default=None,
|
|
51266
|
+
),
|
|
51267
|
+
),
|
|
51268
|
+
(
|
|
51269
|
+
"description_field_or_table",
|
|
51270
|
+
sgqlc.types.Arg(
|
|
51271
|
+
sgqlc.types.list_of(String),
|
|
51272
|
+
graphql_name="descriptionFieldOrTable",
|
|
51273
|
+
default=None,
|
|
51274
|
+
),
|
|
51275
|
+
),
|
|
51276
|
+
(
|
|
51277
|
+
"created_by",
|
|
51278
|
+
sgqlc.types.Arg(
|
|
51279
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)),
|
|
51280
|
+
graphql_name="createdBy",
|
|
51281
|
+
default=None,
|
|
51282
|
+
),
|
|
51283
|
+
),
|
|
51284
|
+
(
|
|
51285
|
+
"updated_by",
|
|
51286
|
+
sgqlc.types.Arg(
|
|
51287
|
+
sgqlc.types.list_of(sgqlc.types.non_null(String)),
|
|
51288
|
+
graphql_name="updatedBy",
|
|
51289
|
+
default=None,
|
|
51290
|
+
),
|
|
51291
|
+
),
|
|
51292
|
+
(
|
|
51293
|
+
"priorities",
|
|
51294
|
+
sgqlc.types.Arg(
|
|
51295
|
+
sgqlc.types.list_of(String), graphql_name="priorities", default=None
|
|
51296
|
+
),
|
|
51297
|
+
),
|
|
51298
|
+
("domain_id", sgqlc.types.Arg(UUID, graphql_name="domainId", default=None)),
|
|
51299
|
+
(
|
|
51300
|
+
"domain_ids",
|
|
51301
|
+
sgqlc.types.Arg(
|
|
51302
|
+
sgqlc.types.list_of(sgqlc.types.non_null(UUID)),
|
|
51303
|
+
graphql_name="domainIds",
|
|
51304
|
+
default=None,
|
|
51305
|
+
),
|
|
51306
|
+
),
|
|
51307
|
+
(
|
|
51308
|
+
"uuids",
|
|
51309
|
+
sgqlc.types.Arg(
|
|
51310
|
+
sgqlc.types.list_of(String), graphql_name="uuids", default=None
|
|
51311
|
+
),
|
|
51312
|
+
),
|
|
51313
|
+
(
|
|
51314
|
+
"created_by_filters",
|
|
51315
|
+
sgqlc.types.Arg(
|
|
51316
|
+
CreatedByFilters, graphql_name="createdByFilters", default=None
|
|
51317
|
+
),
|
|
51318
|
+
),
|
|
51319
|
+
(
|
|
51320
|
+
"labels",
|
|
51321
|
+
sgqlc.types.Arg(
|
|
51322
|
+
sgqlc.types.list_of(String), graphql_name="labels", default=None
|
|
51323
|
+
),
|
|
51324
|
+
),
|
|
51325
|
+
(
|
|
51326
|
+
"search",
|
|
51327
|
+
sgqlc.types.Arg(
|
|
51328
|
+
sgqlc.types.list_of(String), graphql_name="search", default=None
|
|
51329
|
+
),
|
|
51330
|
+
),
|
|
51331
|
+
(
|
|
51332
|
+
"search_fields",
|
|
51333
|
+
sgqlc.types.Arg(
|
|
51334
|
+
sgqlc.types.list_of(UserDefinedMonitorSearchFields),
|
|
51335
|
+
graphql_name="searchFields",
|
|
51336
|
+
default=None,
|
|
51337
|
+
),
|
|
51338
|
+
),
|
|
51339
|
+
(
|
|
51340
|
+
"namespaces",
|
|
51341
|
+
sgqlc.types.Arg(
|
|
51342
|
+
sgqlc.types.list_of(String), graphql_name="namespaces", default=None
|
|
51343
|
+
),
|
|
51344
|
+
),
|
|
51345
|
+
(
|
|
51346
|
+
"is_template_managed",
|
|
51347
|
+
sgqlc.types.Arg(Boolean, graphql_name="isTemplateManaged", default=None),
|
|
51348
|
+
),
|
|
51349
|
+
(
|
|
51350
|
+
"is_ootb_replacement",
|
|
51351
|
+
sgqlc.types.Arg(Boolean, graphql_name="isOotbReplacement", default=False),
|
|
51352
|
+
),
|
|
51353
|
+
(
|
|
51354
|
+
"include_ootb_monitors",
|
|
51355
|
+
sgqlc.types.Arg(Boolean, graphql_name="includeOotbMonitors", default=False),
|
|
51356
|
+
),
|
|
51357
|
+
(
|
|
51358
|
+
"include_ootb_replacement",
|
|
51359
|
+
sgqlc.types.Arg(Boolean, graphql_name="includeOotbReplacement", default=False),
|
|
51360
|
+
),
|
|
51361
|
+
(
|
|
51362
|
+
"mcons",
|
|
51363
|
+
sgqlc.types.Arg(
|
|
51364
|
+
sgqlc.types.list_of(String), graphql_name="mcons", default=None
|
|
51365
|
+
),
|
|
51366
|
+
),
|
|
51367
|
+
(
|
|
51368
|
+
"exclude_mcons",
|
|
51369
|
+
sgqlc.types.Arg(
|
|
51370
|
+
sgqlc.types.list_of(String), graphql_name="excludeMcons", default=None
|
|
51371
|
+
),
|
|
51372
|
+
),
|
|
51373
|
+
(
|
|
51374
|
+
"alerted_only",
|
|
51375
|
+
sgqlc.types.Arg(Boolean, graphql_name="alertedOnly", default=None),
|
|
51376
|
+
),
|
|
51377
|
+
(
|
|
51378
|
+
"tags",
|
|
51379
|
+
sgqlc.types.Arg(
|
|
51380
|
+
sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
|
|
51381
|
+
),
|
|
51382
|
+
),
|
|
51383
|
+
(
|
|
51384
|
+
"asset_tags",
|
|
51385
|
+
sgqlc.types.Arg(
|
|
51386
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
51387
|
+
graphql_name="assetTags",
|
|
51388
|
+
default=None,
|
|
51389
|
+
),
|
|
51390
|
+
),
|
|
51391
|
+
(
|
|
51392
|
+
"exclude_asset_tags",
|
|
51393
|
+
sgqlc.types.Arg(
|
|
51394
|
+
sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
|
|
51395
|
+
graphql_name="excludeAssetTags",
|
|
51396
|
+
default=None,
|
|
51397
|
+
),
|
|
51398
|
+
),
|
|
50335
51399
|
(
|
|
50336
51400
|
"data_quality_dimensions",
|
|
50337
51401
|
sgqlc.types.Arg(
|
|
@@ -50392,8 +51456,12 @@ class Query(sgqlc.types.Type):
|
|
|
50392
51456
|
* `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
|
|
50393
51457
|
can include null to include monitors without tags
|
|
50394
51458
|
* `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
|
|
50395
|
-
Returns monitors
|
|
51459
|
+
Returns monitors with at least one linked table that has any of
|
|
50396
51460
|
the provided tags
|
|
51461
|
+
* `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
|
|
51462
|
+
monitors that have any linked table whose tags consist only of
|
|
51463
|
+
the provided tags. Tables with additional tags or no tags are
|
|
51464
|
+
included
|
|
50397
51465
|
* `data_quality_dimensions` (`[String]`): Filter by data quality
|
|
50398
51466
|
dimensions
|
|
50399
51467
|
* `order_by` (`String`): Field and direction to order monitors by
|