envoyproxy/envoy

Add a route name field to each route in route.Route list (HTTP route)

Open

#6364 aperta il 22 mar 2019

Vedi su GitHub
 (4 commenti) (0 reazioni) (1 assegnatario)C++ (5373 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

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:

Screen Shot 2019-03-22 at 4 19 36 PM

Guida contributor