You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/12/07 07:11:27 UTC

[GitHub] [apisix] Firstsawyou opened a new issue #2982: [DISSCUS]: support `ctx.var` to get service_name and route_name

Firstsawyou opened a new issue #2982:
URL: https://github.com/apache/apisix/issues/2982


   ### Issue description
   
   When using the http-logger plugin, I need to obtain the name value corresponding to the service (for example: `"service_name:$service_name"`). But it is currently not available.
   Is it necessary for us to support `ctx.var` to get the value of `service_name`?
   By the way, sometimes `route_name` is also obtained, but it is not currently supported.
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): 2.0
   * OS:
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] membphis closed issue #2982: [DISSCUS]: support `ctx.var` to get service_name and route_name

Posted by GitBox <gi...@apache.org>.
membphis closed issue #2982:
URL: https://github.com/apache/apisix/issues/2982


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] membphis commented on issue #2982: [DISSCUS]: support `ctx.var` to get service_name and route_name

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2982:
URL: https://github.com/apache/apisix/issues/2982#issuecomment-740523374


   I think this feature is useful, look nice for me


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] Firstsawyou commented on issue #2982: [DISSCUS]: support `ctx.var` to get service_name and route_name

Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #2982:
URL: https://github.com/apache/apisix/issues/2982#issuecomment-744004518


   Assigned to me.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org