AppUsageProjection
End-of-month egress projection for one shared app from linear extrapolation of calendar-month usage so far.
type AppUsageProjection {
appId: String!
currentEgressBytes: String!
currentIngressBytes: String!
sufficientData: Boolean!
daysElapsed: Float!
projectedBytes: String
freeAllowanceBytes: String!
allowancePooled: Boolean!
projectedPctOfFree: Float
onTrackToExceed: Boolean
inputLogByteHours: String!
projectedInputLogByteHours: String
dataOutRateBands: [DataOutRateBand!]
dataOutPricedCents: Float
projectedDataOutCents: Float
}
Fields
AppUsageProjection.appId ● String! non-null scalar
App id (as a string).
AppUsageProjection.currentEgressBytes ● String! non-null scalar
Egress bytes recorded so far this calendar month (from app_monthly_egress). Egress only -- bytes the service delivered to clients, measured as wire bytes at the network interface. Ingress is metered separately and does not count toward this figure or the allowance it is compared against.
AppUsageProjection.currentIngressBytes ● String! non-null scalar
Ingress bytes recorded so far this calendar month (from app_monthly_egress.ingress_bytes): bytes clients sent the service over UDP replication and GraphQL, measured on the same basis as egress. Billed once, as aggregate_data_ingress above its own monthly allowance; never counted toward the egress figure or allowance.
AppUsageProjection.sufficientData ● Boolean! non-null scalar
True when at least 3 days have elapsed in the month (projection is meaningful).
AppUsageProjection.daysElapsed ● Float! non-null scalar
Fractional UTC days elapsed since the calendar month started.
AppUsageProjection.projectedBytes ● String scalar
Projected end-of-month egress bytes (linear extrapolation), or null when insufficient data.
AppUsageProjection.freeAllowanceBytes ● String! non-null scalar
This app's free monthly egress allowance in bytes: 5 decimal GB of its own, or, in a month its organization's allowance is pooled (allowancePooled), what it holds of the pool plus what the pool has left.
AppUsageProjection.allowancePooled ● Boolean! non-null scalar
True when this month's free allowance is the organization's pool, shared by all its apps (allowancePool), rather than this app's own.
AppUsageProjection.projectedPctOfFree ● Float scalar
Projected usage as a percentage of the free allowance, or null when insufficient data.
AppUsageProjection.onTrackToExceed ● Boolean scalar
True when projected egress exceeds the free allowance, or null when insufficient data.
AppUsageProjection.inputLogByteHours ● String! non-null scalar
Stored input logs this calendar month so far, in byte-hours (input_log_storage_byte_hours, which has no free allowance). Recordings keep accruing after replay logging is turned off, until they age out at the end of the retention; 0 when nothing was held this month.
AppUsageProjection.projectedInputLogByteHours ● String scalar
Projected end-of-month stored input logs in byte-hours (linear extrapolation), or null when insufficient data.
AppUsageProjection.dataOutRateBands ● [DataOutRateBand!] list object
This month's data out split by delivery-rate band, as the ledger last priced it. Null when the app's month is not priced by delivery rate, or has no data out yet.
AppUsageProjection.dataOutPricedCents ● Float scalar
What this month's data out has cost so far, in cents, at its rate bands and after the free allowance (before any billing exemption). Null with dataOutRateBands.
AppUsageProjection.projectedDataOutCents ● Float scalar
Projected end-of-month data-out cost in cents: this month's mix of rate bands scaled to the projected egress and priced the same way. Null when there is insufficient data or no rate bands.
Returned By
appUsageProjection query