35 lines
923 B
GraphQL
35 lines
923 B
GraphQL
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|