OBJECT

StatsQuery

link GraphQL Schema definition

  • type StatsQuery {
  • # Starting with a given entity, query for the top N related entities, sorting the
  • # related entities by a given stat, using the given traversal.
  • #
  • # Arguments
  • # entityId: [Not documented]
  • # input: [Not documented]
  • queryRelatedEntitiesByStat(
  • entityId: EntityId!,
  • input: StatsRelatedEntitiesQueryInput!
  • ): [StatsRelatedEntity!]
  • # Query time-series stats for a given list of entity IDs.
  • #
  • # Arguments
  • # entityId: Optional list of entityIds to query for stats. If no
  • # entityIds are specified, the stats are queried based on the input
  • # input: Query parameters
  • queryStats(entityId: [EntityId!], input: StatsInput): [Stats!]
  • # Direct access to individual stats provider queries through per-provider fields.
  • #
  • # The top-level stats queries leverage these providers based upon the stats
  • # query's namespace.
  • # If no namespace is specified by the user, the namespaces and thus providers are
  • # chosen from the provider information from the entityIds.
  • statsProviders: StatsProviders!
  • }

link Require by