query DomainTrafficUsage(
    $domainId: ID!,
    $intervalKey: String,
) {
    domain: node(id: $domainId) {
        ... on Domain {
            id
            statistics {
                trafficUsage(intervalKey: $intervalKey) {
                    totalUsageFormatted
                    limitUsagePercent
                    usageByServices {
                        serviceName
                        usage
                        usageFormatted
                        incoming
                        incomingFormatted
                        outgoing
                        outgoingFormatted
                        percentOfAll
                    }
                }
            }
            subscription {
                limits {
                    traffic {
                        isUnlimited
                        formattedValue
                    }
                }
            }
        }
    }
}
