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)

FieldDescription
accountedTotal amount of product usage accounted for the client. The response for this field is the result of a sum. Example: 1767504904.
clientIdClient unique identifier on Azion. Example: 8437r.
countryCodeCountry code associated with the usage data. It refers to edge locations where processing takes place, not the user’s access location. Example: BR.
metricNameName of the measured metric for analytics. Example: invocations.
productIdUnique identifier of the product being used. Example: 1441110021.
regionGeographical region associated with the usage data. It refers to edge locations where processing takes place, not the user’s access location. Example: latam.
workloadIdIdentifier for the workload associated with the usage. Example: 4829301746.

Available products usage data

Product nameProduct IDModulesMetric name/Calculated Field
Data Stream1498670028-- data_streamed: total volume of data streamed through Data Stream.
- requests: total number of requests processed by Data Stream.
Edge Application1441740010- 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 Functions1531930033-- compute_time: Total execution time (in milliseconds) of Edge Functions in milliseconds.
- invocations: total number of times an edge function was executed.
Image Processor1441110021-images_processed: total number of images processed by Image Processor.
Tiered Cache1564082375-- 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:

RegionCountry
All Other RegionsAngola, South Africa
BrazilBrazil
CanadaCanada
EuropeDeutschland, Spain, France, Great Britain, Italy, Netherlands, United Kingdom
LatamArgentina, Bolivia, Chile, Colombia, Ecuador, Mexico, Peru, Paraguay, Uruguay, Venezuela
No RegionNo Region
North AmericaCanada, United States
United StatesUnited States

Contributors