-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
Issue Template
Title: Add a route name field to each route in route.Route list (HTTP route)
Description:
This is a feature request for adding a name field to the http routes. It would be enabled by default but if the name is not specified in the config, then it won't be enabled. This feature has helped us a lot with logging and debugging at eBay. One of the use cases is when there are 100s of routes and we want to check which route has been matched; the name makes it easier to identify. We wanted to see if this will be useful for the community. We have a PR that can be made for this case. If there is interest, I can also make a subsequent PR adding the route name field to access logs. Here is an example of how the config JSON for the route.Route object would look like:
