#Worker Metrics using gql api endpoint

1 messages · Page 1 of 1 (latest)

rancid sentinel
#

I'm trying to create a custom dashboard for my worker. Looking at the sum fields in the documentation I can't find what the units of the responses are. Can anyone assist? E.g. what is the unit for wallTime here?

magic flax
#

Microseconds probably

#

All other usages of it are microseconds

#

Same with CPU time

#
type AccountWorkersInvocationsAdaptiveMax {
  # Maximum CPU time for one request - microseconds
  cpuTime: float64!
  # Maximum duration of one request - GB*s
  duration: float64!
  # Maximum response body size for one request - bytes
  responseBodySize: float64!
  # Maximum wall time for one request - microseconds
  wallTime: float64!
}

type AccountWorkersInvocationsAdaptiveMin {
  # Minimum CPU time for one request - microseconds
  cpuTime: float64!
  # Minimum duration of one request - GB*s
  duration: float64!
  # Minimum response body size for one request - bytes
  responseBodySize: float64!
  # Minimum wall time for one request - microseconds
  wallTime: float64!
}