mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
update graphql for alerts
This commit is contained in:
parent
55b3867bea
commit
134067e623
@ -24,6 +24,7 @@ export const Alarm = {
|
|||||||
message
|
message
|
||||||
startTime
|
startTime
|
||||||
scope
|
scope
|
||||||
|
name
|
||||||
tags {
|
tags {
|
||||||
key
|
key
|
||||||
value
|
value
|
||||||
@ -43,6 +44,35 @@ export const Alarm = {
|
|||||||
startTime
|
startTime
|
||||||
endTime
|
endTime
|
||||||
}
|
}
|
||||||
|
snapshot {
|
||||||
|
expression
|
||||||
|
metrics {
|
||||||
|
name
|
||||||
|
results {
|
||||||
|
metric {
|
||||||
|
labels {
|
||||||
|
key
|
||||||
|
value
|
||||||
|
}
|
||||||
|
}
|
||||||
|
values {
|
||||||
|
id
|
||||||
|
owner {
|
||||||
|
scope
|
||||||
|
serviceID
|
||||||
|
serviceName
|
||||||
|
normal
|
||||||
|
serviceInstanceID
|
||||||
|
serviceInstanceName
|
||||||
|
endpointID
|
||||||
|
endpointName
|
||||||
|
}
|
||||||
|
value
|
||||||
|
traceID
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}`,
|
}`,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user