INPUT_OBJECT

StatsInput

Filters for querying stats

link GraphQL Schema definition

  • input StatsInput {
  • # Optionally aggregate stats timeseries by provided tags using the specified
  • # function.
  • aggregation: StatsAggregationInput
  • # Optional endTime. If empty, defaults to now. Expressed in UTC ISO-8601 timestamp
  • endTime: DateTime
  • forecast: StatsForecastInput
  • # Optional interval for samples between startTime and endTime expressed in
  • # minutes.
  • intervalMins: Int
  • # Optionally filter by keys.
  • # To list available keys for an entity, don't filter on keys and specify only the
  • # "key" field in stats.
  • keys: [String!]
  • # Optional namespace from which to collect stats (defaults to provider from
  • # entityId)
  • namespace: String
  • # Some stats providers can support stats query strings, in which case the query
  • # syntax is specific to the provider
  • queryString: String
  • # Optional roll-up strategy used in each interval for time-range queries.
  • rollupType: StatsRollupType
  • # Optional number of digits of precision. Full precision if not specified.
  • significantDigits: Int
  • # Optional startTime.
  • # If both startTime and endTime are null, a single latest value is fetched. The
  • # behavior of this
  • # may vary by namespace:
  • #
  • # | VRNI | will fetch the latest stat using 5-minute sampling from the last hour
  • # |
  • # | VROPS | will fetch latest "current" stat as defined by vROps |
  • #
  • # If only startTime is null, the query defaults to 24 hours before endTime
  • startTime: DateTime
  • # Optional key/value tags of the underlying metrics. If the same tag key is
  • # repeated, the behavior is like an 'or'
  • tags: [TagInput!]
  • }