2024-02-14 09:06:21 -08:00
|
|
|
fragment incidentsFields on EntityIncidentsResult {
|
|
|
|
start
|
|
|
|
count
|
|
|
|
total
|
|
|
|
incidents {
|
|
|
|
urn
|
|
|
|
type
|
|
|
|
incidentType
|
|
|
|
customType
|
|
|
|
title
|
|
|
|
description
|
|
|
|
status {
|
|
|
|
state
|
|
|
|
message
|
|
|
|
lastUpdated {
|
|
|
|
time
|
|
|
|
actor
|
|
|
|
}
|
|
|
|
}
|
|
|
|
source {
|
|
|
|
type
|
|
|
|
}
|
|
|
|
created {
|
|
|
|
time
|
|
|
|
actor
|
|
|
|
}
|
2024-05-24 14:03:05 -07:00
|
|
|
tags {
|
|
|
|
...globalTagsFields
|
|
|
|
}
|
2024-02-14 09:06:21 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment datasetSiblingIncidents on Dataset {
|
|
|
|
siblings {
|
|
|
|
isPrimary
|
|
|
|
siblings {
|
|
|
|
urn
|
|
|
|
type
|
|
|
|
... on Dataset {
|
|
|
|
incidents(start: $start, count: $count, state: $state) {
|
|
|
|
...incidentsFields
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2025-01-29 20:42:01 -05:00
|
|
|
siblingsSearch(input: { query: "*", count: 5 }) {
|
|
|
|
count
|
|
|
|
total
|
|
|
|
searchResults {
|
|
|
|
entity {
|
|
|
|
urn
|
|
|
|
type
|
|
|
|
... on Dataset {
|
|
|
|
incidents(start: $start, count: $count, state: $state) {
|
|
|
|
...incidentsFields
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-02-14 09:06:21 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
query getEntityIncidents($urn: String!, $start: Int!, $count: Int!, $state: IncidentState) {
|
|
|
|
entity(urn: $urn) {
|
|
|
|
... on Dataset {
|
|
|
|
incidents(start: $start, count: $count, state: $state) {
|
|
|
|
...incidentsFields
|
|
|
|
}
|
|
|
|
...datasetSiblingIncidents
|
2025-01-29 20:42:01 -05:00
|
|
|
privileges {
|
|
|
|
canEditIncidents
|
|
|
|
}
|
2024-02-14 09:06:21 -08:00
|
|
|
}
|
|
|
|
... on DataJob {
|
|
|
|
incidents(start: $start, count: $count, state: $state) {
|
|
|
|
...incidentsFields
|
|
|
|
}
|
2025-01-29 20:42:01 -05:00
|
|
|
privileges {
|
|
|
|
canEditIncidents
|
|
|
|
}
|
2024-02-14 09:06:21 -08:00
|
|
|
}
|
|
|
|
... on DataFlow {
|
|
|
|
incidents(start: $start, count: $count, state: $state) {
|
|
|
|
...incidentsFields
|
|
|
|
}
|
2025-01-29 20:42:01 -05:00
|
|
|
privileges {
|
|
|
|
canEditIncidents
|
|
|
|
}
|
2024-02-14 09:06:21 -08:00
|
|
|
}
|
|
|
|
... on Dashboard {
|
|
|
|
incidents(start: $start, count: $count, state: $state) {
|
|
|
|
...incidentsFields
|
|
|
|
}
|
2025-01-29 20:42:01 -05:00
|
|
|
privileges {
|
|
|
|
canEditIncidents
|
|
|
|
}
|
2024-02-14 09:06:21 -08:00
|
|
|
}
|
|
|
|
... on Chart {
|
|
|
|
incidents(start: $start, count: $count, state: $state) {
|
|
|
|
...incidentsFields
|
|
|
|
}
|
2025-01-29 20:42:01 -05:00
|
|
|
privileges {
|
|
|
|
canEditIncidents
|
|
|
|
}
|
2024-02-14 09:06:21 -08:00
|
|
|
}
|
|
|
|
}
|
2024-06-21 11:03:56 -07:00
|
|
|
}
|