INPUT_OBJECT
StatsInput
Filters for querying stats
link GraphQL Schema definition
- input StatsInput {
- # Optionally aggregate stats timeseries by provided tags using the specified
- # function.
- StatsAggregationInput :
- # Optional endTime. If empty, defaults to now. Expressed in UTC ISO-8601 timestamp
- DateTime :
- StatsForecastInput :
- # Optional interval for samples between startTime and endTime expressed in
- # minutes.
- 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.
- String!] : [
- # Optional namespace from which to collect stats (defaults to provider from
- # entityId)
- String :
- # Some stats providers can support stats query strings, in which case the query
- # syntax is specific to the provider
- String :
- # Optional roll-up strategy used in each interval for time-range queries.
- StatsRollupType :
- # Optional number of digits of precision. Full precision if not specified.
- 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
- DateTime :
- # Optional key/value tags of the underlying metrics. If the same tag key is
- # repeated, the behavior is like an 'or'
- TagInput!] : [
- }
link Require by
- EntityPrimary Entity type in the graph, implementing the individual EntityNode interface and with additional fields permitting traversals to other entities in the entity topology and to access other graph nodes with information related to the entity.
- EntityNamespacenull
- StatsProviderThis is the default implementation of the StatsProviderInterface
- StatsProviderInterfaceInterface that all stats providers must implement
- StatsQuerynull