debian-mirror-gitlab/app/assets/javascripts/monitoring/queries/get_annotations.query.graphql
2022-06-21 17:19:12 +05:30

27 lines
529 B
GraphQL

query getAnnotations(
$projectPath: ID!
$environmentName: String
$dashboardPath: String!
$startingFrom: Time!
) {
project(fullPath: $projectPath) {
id
environments(name: $environmentName) {
nodes {
id
name
metricsDashboard(path: $dashboardPath) {
annotations(from: $startingFrom) {
nodes {
id
description
startingAt
endingAt
panelId
}
}
}
}
}
}
}