ProductionQu Query

listMetrics

Topics: Devices

List metrics with pagination. Requires metric:list permission.

Returns

MetricConnection!

Arguments

first

IntOptional

Number of items to return from the start

last

IntOptional

Number of items to return from the end

after

StringOptional

Cursor pointing to the item after which to start

before

StringOptional

Cursor pointing to the item before which to start

Filter criteria for metrics

Sort order for results

Exact field SDL
"""List metrics with pagination. Requires metric:list permission."""
listMetrics(
  """Number of items to return from the start"""
  first: Int
  """Number of items to return from the end"""
  last: Int
  """Cursor pointing to the item after which to start"""
  after: String
  """Cursor pointing to the item before which to start"""
  before: String
  """Filter criteria for metrics"""
  filter: MetricFilterInput
  """Sort order for results"""
  sort: [MetricSortInput!]
): MetricConnection! @topic(names: ["devices"])

Declared on Query. Access is checked by the platform for each operation.