debian-mirror-gitlab/app/assets/javascripts/monitoring/queries/getAnnotations.query.graphql
2020-04-22 19:07:51 +05:30

26 lines
522 B
GraphQL

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