Skip to main content

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!
projectedPctOfFree: Float
onTrackToExceed: Boolean
}

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

Per-app free monthly egress allowance in bytes (5 decimal GB).

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.

Returned By

appUsageProjection query