envoyproxy / envoyproxy/gateway

Getting service, namespace of matched rule in accessLog

Aperta
#6,102 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
stale triage
Lingua principale
Go
Stelle
3k
Fork
864
Merge medio
2g 2h
PR unite (30g)
140

Descrizione

*Description*:
i have a use case such that in my dashboards i use namespace and service name to filter my traffic
now in envoy i want to add a field to my access log as below
```
UPS: _
```
how can i achieve it?
currently the solution i'm using is creating HTTPRoute for every service
```
UPS: %CEL(xds.route_metadata.filter_metadata['envoy-gateway']['resources'][0]['namespace'])%_%CEL(xds.route_metadata.filter_metadata['envoy-gateway']['resources'][0]['name'])%
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.