Consumption GraphQL API Fields
Each GraphQL API dataset has specific fields that can be used when querying for data from that dataset.
Check each available field and their descriptions below.
workloadConsumptionMetrics (Consumption)
Field | Description |
---|---|
accounted | Total amount of product usage accounted for the client. The response for this field is the result of a sum. Example: 1767504904 . |
clientId | Client unique identifier on Azion. Example: 8437r . |
countryCode | Country code associated with the usage data. It refers to edge locations where processing takes place, not the user’s access location. Example: BR . |
metricName | Name of the measured metric for analytics. Example: invocations . |
productId | Unique identifier of the product being used. Example: 1441110021 . |
region | Geographical region associated with the usage data. It refers to edge locations where processing takes place, not the user’s access location. Example: latam . |
workloadId | Identifier for the workload associated with the usage. Example: 4829301746 . |
Available products usage data
Product name | Product ID | Modules | Metric name/Calculated Field |
---|---|---|---|
Data Stream | 1498670028 | - | - data_streamed : total volume of data streamed through Data Stream.- requests : total number of requests processed by Data Stream. |
Edge Application | 1441740010 | - image_processor - edge_firewall - load_balancer - application_accelerator | - data_transferred_total : total amount of data transferred through Edge Application.- requests : total number of requests received by Edge Application.- waf_requests : total number of requests inspected by WAF. |
Edge Functions | 1531930033 | - | - compute_time : Total execution time (in milliseconds) of Edge Functions in milliseconds.- invocations : total number of times an edge function was executed. |
Image Processor | 1441110021 | - | images_processed : total number of images processed by Image Processor. |
Tiered Cache | 1564082375 | - | - data_transferred_total : total amount of data transferred through Tiered Cache. - requests : total number of cache requests processed by Tiered Cache. |
About countryCode and region fields
countryCode
and region
fields indicate the edge locations where data processing occurs, being determined by network architecture and routing. It’s important to note that this location may not necessarily be the same as the location from which the user accesses the service or the origin of the data.
The workloadConsumptionMetrics
uses the following regions and countries while retrieving results related to usage data:
Region | Country |
---|---|
All Other Regions | Angola, South Africa |
Brazil | Brazil |
Canada | Canada |
Europe | Deutschland, Spain, France, Great Britain, Italy, Netherlands, United Kingdom |
Latam | Argentina, Bolivia, Chile, Colombia, Ecuador, Mexico, Peru, Paraguay, Uruguay, Venezuela |
No Region | No Region |
North America | Canada, United States |
United States | United States |
Contributors