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 :
- # **NOTE:** This API/functionality is in Alpha, This functionality can be unstable
- # and schema elements may change over future iterations.
- StatsAnomalyInput :
- # 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 :
- # Optional value to include out-of-band NAN and POSITIVE_INFINITY /
- # NEGATIVE_INFINITY in stats results if supported by the provider.
- # If a value is provided and the provider supports out-of-band values, then the
- # out-of-band elements in the `data` field will be replaced by the given value
- # and the `modes` field will be populated with the mode of each data element.
- # If the value is not provided or the provider does not support out-of-band
- # values, then any out-of-band values and their timestamps will be dropped and
- # modes will remain null.
- Float :
- # 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.
- EntityNamespace EntityNamespace should probably be defined in ensemble-graphql-common/src/main/resources/schema/common-entity/entity.graphqls
- StatsProviderThis is the default implementation of the StatsProviderInterface
- StatsProviderInterfaceInterface that all stats providers must implement
- StatsQuerynull