INPUT_OBJECT

InsightAggregationInput

link GraphQL Schema definition

  • input InsightAggregationInput {
  • # Aggregation type
  • aggregationType: InsightAggregationType
  • # fieldName dictates columns/member-variables on which to aggregate.
  • # fieldName has 2 special use cases:
  • # - systemFailures: to get insights that are tagged with isFault = true
  • # - resource: widely used field name for originatingEntityIds
  • # Note that: resource or originatingEntityIds both can be used to query.
  • fieldName: String!
  • # Limit number of buckets, if specified, top N buckets will be returned
  • maxBucketCount: Int
  • # Optional sub-aggregations
  • subAggregations: [InsightAggregationInput!]
  • }