debian-mirror-gitlab/app/assets/javascripts/monitoring/queries/getAnnotations.query.graphql

27 lines
522 B
GraphQL
Raw Normal View History

2020-04-22 19:07:51 +05:30
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
}
}
}
}
}
}
}