Skip to content

Commit 5c4c12d

Browse files
chore: update api schema dump
Co-authored-by: octodog <mu001@lablup.com>
1 parent a2abb51 commit 5c4c12d

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

docs/manager/graphql-reference/supergraph.graphql

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12113,6 +12113,16 @@ input PreStartActionInput
1211312113
args: JSON!
1211412114
}
1211512115

12116+
"""
12117+
Added in UNRELEASED. Input for previewing a prometheus query template (admin only).
12118+
"""
12119+
input PreviewQueryDefinitionInput
12120+
@join__type(graph: STRAWBERRY)
12121+
{
12122+
"""PromQL template to validate."""
12123+
queryTemplate: String!
12124+
}
12125+
1211612126
"""
1211712127
Added in 26.2.0. Basic project information. Contains identity and descriptive fields for the project.
1211812128
"""
@@ -13689,6 +13699,11 @@ type Query
1368913699
"""
1369013700
prometheusQueryPresetResult(id: ID!, timeRange: QueryTimeRangeInput = null, options: ExecuteQueryDefinitionOptionsInput = null, timeWindow: String = null): QueryDefinitionExecuteResult! @join__field(graph: STRAWBERRY)
1369113701

13702+
"""
13703+
Added in UNRELEASED. Preview a prometheus query template before saving it as a preset (admin only).
13704+
"""
13705+
adminPrometheusQueryPresetPreview(input: PreviewQueryDefinitionInput!): QueryDefinitionExecuteResult! @join__field(graph: STRAWBERRY)
13706+
1369213707
"""
1369313708
Added in 26.4.2. Get a single query preset category by ID. Available to any authenticated user.
1369413709
"""

docs/manager/graphql-reference/v2-schema.graphql

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7859,6 +7859,14 @@ enum PresetValueType {
78597859
FLAG
78607860
}
78617861

7862+
"""
7863+
Added in UNRELEASED. Input for previewing a prometheus query template (admin only).
7864+
"""
7865+
input PreviewQueryDefinitionInput {
7866+
"""PromQL template to validate."""
7867+
queryTemplate: String!
7868+
}
7869+
78627870
"""
78637871
Added in 26.2.0. Basic project information. Contains identity and descriptive fields for the project.
78647872
"""
@@ -8831,6 +8839,11 @@ type Query {
88318839
"""
88328840
prometheusQueryPresetResult(id: ID!, timeRange: QueryTimeRangeInput = null, options: ExecuteQueryDefinitionOptionsInput = null, timeWindow: String = null): QueryDefinitionExecuteResult!
88338841

8842+
"""
8843+
Added in UNRELEASED. Preview a prometheus query template before saving it as a preset (admin only).
8844+
"""
8845+
adminPrometheusQueryPresetPreview(input: PreviewQueryDefinitionInput!): QueryDefinitionExecuteResult!
8846+
88348847
"""
88358848
Added in 26.4.2. Get a single query preset category by ID. Available to any authenticated user.
88368849
"""

0 commit comments

Comments
 (0)