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!
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).

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