Skip to content

Add response trailers for bandwidth limit filter#18040

Closed
zhiyong-gayang wants to merge 122 commits intoenvoyproxy:mainfrom
zhiyong-gayang:main
Closed

Add response trailers for bandwidth limit filter#18040
zhiyong-gayang wants to merge 122 commits intoenvoyproxy:mainfrom
zhiyong-gayang:main

Conversation

@zhiyong-gayang
Copy link
Copy Markdown
Contributor

I want use this PR to discuss whether this change is acceptable. If it's acceptable, I will create another PR with the implementations.

Commit Message: Add response trailers for the bandwidth limit filter delays.
Additional Description: This is useful when downstream want to understand how much delays that is caused by bandwidth limit filter.
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

@repokitteh-read-only
Copy link
Copy Markdown

Hi @garyyang2002, welcome and thank you for your contribution.

We will try to review your Pull Request as quickly as possible.

In the meantime, please take a look at the contribution guidelines if you have not done so already.

🐱

Caused by: #18040 was opened by garyyang2002.

see: more, trace.

@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/envoy/.
envoyproxy/api-shepherds assignee is @lizan
CC @envoyproxy/api-watchers: FYI only for changes made to api/envoy/.

🐱

Caused by: #18040 was opened by garyyang2002.

see: more, trace.

@lizan
Copy link
Copy Markdown
Member

lizan commented Sep 10, 2021

cc @nitgoy @mattklein123 @yanavlasov @tonya11en (bandwidth limit filter owners)

@nitgoy
Copy link
Copy Markdown
Contributor

nitgoy commented Sep 13, 2021

This is a feature that @garyyang2002 added to our internal fork at Microsoft based on user feedback. He's trying to see if it makes sense to merge it back to envoy upstream. @mattklein123, @yanavlasov please chime in.

@yanavlasov
Copy link
Copy Markdown
Contributor

Sorry for the late response. Yes, I think it makes sense to merge it upstream.

@mattklein123 mattklein123 self-assigned this Sep 21, 2021
@mattklein123
Copy link
Copy Markdown
Member

Sure sounds good. I think the API and the implementation can come in a single PR so please add the implementation to this or just close and open a new one with the implementation.

/wait

Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: gayang <gayang@microsoft.com>
@zhiyong-gayang zhiyong-gayang changed the title Add response trailers for bandwidth limit filter (API Changes only) Add response trailers for bandwidth limit filter Sep 26, 2021
zhiyong-gayang and others added 11 commits September 26, 2021 14:55
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: John Esmet <john.esmet@gmail.com>
Signed-off-by: gayang <gayang@microsoft.com>
Request add to Security Team for research, platform portability and liason to our upstream dependencies.

Signed-off-by: William A Rowe Jr <wrowe@vmware.com>
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: Michael Payne <michael@sooper.org>
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: Le Yao <le.yao@intel.com>
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: Adam Kotwasinski <adam.kotwasinski@gmail.com>
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: gayang <gayang@microsoft.com>
danzh2010 and others added 16 commits September 26, 2021 14:55
Commit Message: updateListenerConfig() and onFilterChainDraining() to ActiveListener interface and implement them in ActiveQuicListener. Unblock listener update for UDP listener.

Risk Level: high, touches LDS.
Testing: new integration tests
Fixes #13115
Signed-off-by: Dan Zhang <danzh@google.com>
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: zirain <zirain2009@hotmail.com>
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: gayang <gayang@microsoft.com>
)

Signed-off-by: Snow Pettersen <snowp@lyft.com>
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: YaoZengzeng <yaozengzeng@huawei.com>
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: gayang <gayang@microsoft.com>
…z HTTP implementation (#17895)

This allows for dynamic metadata when using an HTTP authorization service. Currently, it is only possible to set dynamic metadata using a gRPC authorization service.

Risk Level: low, new opt-in feature in an extension
Testing: unit tests
Docs Changes: proto definitions documented
Release Notes: ext_authz: added :ref:dynamic_metadata_from_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.AuthorizationResponse.dynamic_metadata_from_headers> to support emitting dynamic metadata from headers returned by an external authorization service via HTTP.

Signed-off-by: John Esmet <john.esmet@gmail.com>
Signed-off-by: gayang <gayang@microsoft.com>
…18246)

Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: Xin Zhuang <stevenzzz@google.com>
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: Gregory Brail <gregbrail@google.com>
Signed-off-by: gayang <gayang@microsoft.com>
… updates in the thread aware lb (#18253)

Signed-off-by: wbpcode <wbphub@live.com>
Signed-off-by: gayang <gayang@microsoft.com>
* docs: Consolidate build rules
* add-todo

Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: gayang <gayang@microsoft.com>
This is a clone of #18252 but with the formatting fixed.

Risk Level: None - test only
Testing: N/A
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Signed-off-by: Ryan Hamilton <rch@google.com>
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: gayang <gayang@microsoft.com>
Signed-off-by: gayang <gayang@microsoft.com>
@zhiyong-gayang
Copy link
Copy Markdown
Contributor Author

Created a new PR: #18267

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.