Besides Nginx variable, APISIX also provides additional variables.
List in alphabetical order:
|balancer_ip||the IP of picked upstream server||18.104.22.168|
|balancer_port||the port of picked upstream server||80|
|consumer_name||username of |
|graphql_name||the operation name of GraphQL||HeroComparison|
|graphql_operation||the operation type of GraphQL||mutation|
|graphql_root_fields||the top level fields of GraphQL||["hero"]|
|mqtt_client_id||the client id in MQTT protocol|
|route_id||id of |
|route_name||name of |
|service_id||id of |
|service_name||name of |
You can also register your own variable.