Skip to content

Commit

Permalink
Dummy diff showing embedding query types at the root
Browse files Browse the repository at this point in the history
  • Loading branch information
sdboyer committed Jul 7, 2023
1 parent 8e3ccac commit 4f66bf7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions public/app/plugins/datasource/cloudwatch/dataquery.cue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ composableKinds: DataQuery: {
schemas: [{
version: [0, 0]
schema: {
common.DataQuery
#CloudWatchLogsQuery | #CloudWatchMetricsQuery | #CloudWatchAnnotationsQuery
#MetricStat: {
// AWS region to query for the metric
region: string
Expand All @@ -55,7 +57,6 @@ composableKinds: DataQuery: {

// Shape of a CloudWatch Metrics query
#CloudWatchMetricsQuery: {
common.DataQuery
#MetricStat

// Whether a query is a Metrics, Logs, or Annotations query
Expand Down Expand Up @@ -153,7 +154,6 @@ composableKinds: DataQuery: {

// Shape of a CloudWatch Logs query
#CloudWatchLogsQuery: {
common.DataQuery

// Whether a query is a Metrics, Logs, or Annotations query
queryMode: #CloudWatchQueryMode
Expand Down Expand Up @@ -184,7 +184,6 @@ composableKinds: DataQuery: {

// Shape of a CloudWatch Annotation query
#CloudWatchAnnotationQuery: {
common.DataQuery
#MetricStat

// Whether a query is a Metrics, Logs, or Annotations query
Expand Down

0 comments on commit 4f66bf7

Please sign in to comment.