envoy
envoy copied to clipboard
ext_authz: add logging options
Commit Message: ext_authz: add logging options / stats Additional Description:
logging_options enables ext_authz to emit per-stream stats through filter state for access logging. The stats emitted depend on the client used.
If envoy GRPC is used, latency, bytes sent, bytes received, upstream host, and cluster info are emitted. Otherwise, only latency is emitted.
If logging_options.filter_metadata is present, ext_authz will also emit the filter metadata in its logging info.
ext authz will only emit stats & and filter metadata if a request is made.
Testing: unit & integration tests Docs Changes: none Release Notes: changelog updated Platform Specific Features: n/a
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @markdroth
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).
/assign tyxia
/retest
/lgtm api
@tyxia can you PTAL?
/retest
@markdroth @tyxia i think this may be waiting on further review
@antoniovleonti if you merge main the current arm fail should be resolved
/lgtm api
/retest
@antoniovleonti Looks like retest did not work, please merge main to re-trigger the CI. Thanks!
/retest
/retest