Hyperlinkv0.8.0-beta.28

ApiMetrics

ApiMetrics.apiUsageSnapshotconstsrc/ApiUsageSchema.ts:45
Schema.Struct<{
  readonly clientId: Schema.String
  readonly inFlight: Schema.Number
  readonly requestsTotal: Schema.Number
  readonly errorsTotal: Schema.Number
  readonly topEndpoints: Schema.$Array<
    Schema.Struct<{
      readonly group: Schema.String
      readonly endpoint: Schema.String
      readonly requests: Schema.Number
      readonly errors: Schema.Number
    }>
  >
}>

Point-in-time API usage snapshot — element of the ApiMetrics usage ref (usage.get).

wire schemasApiMetrics
export const apiUsageSnapshot = Schema.Type;