INPUT_OBJECT

EntityAggregationInput

link GraphQL Schema definition

  • input EntityAggregationInput {
  • # Optional user-defined name for the aggregation
  • aggregationName: String
  • # Aggregation type
  • aggregationType: EntityAggregationType
  • # Field on which to aggregate
  • #
  • # The following format are supported for Entities:
  • #
  • # - ``
  • # - `tag[s].key`
  • # - `tag[s].value`
  • # - `property.`
  • #
  • # To refer to fields from a namespace the above forms can all be prefixed with
  • # `namespace..`
  • fieldName: String!
  • # The type of the field, used for metric aggregations
  • fieldType: EntityAggregationFieldType
  • # Limit number of buckets, if specified, top N buckets will be returned
  • maxBucketCount: Int
  • # Optional sub-aggregations
  • subAggregations: [EntityAggregationInput!]
  • }