Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy_protocol_filter: Add field stat_prefix to the filter configuration #34414

Merged
merged 4 commits into from
Jun 10, 2024

Conversation

nareddyt
Copy link
Contributor

Commit Message:
proxy_protocol_filter: Add field stat_prefix to the filter configuration

Additional Description:
This field allows for differentiating statistics when multiple proxy protocol listener filters are configured.

This PR is a follow-up from previous conversation: #32861 (comment)

Risk Level: Low

  • All client-facing behavior changes are guarded by new filter config field.

Testing:

  • Stats unit tests
  • Proxy protocol listener filter integration tests

Docs Changes:
Done

Release Notes:
Done

Platform Specific Features:
None

Signed-off-by: Teju Nareddy <tnareddy@confluent.io>
Signed-off-by: Teju Nareddy <tnareddy@confluent.io>
Copy link

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @wbpcode
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #34414 was opened by nareddyt.

see: more, trace.

@nareddyt
Copy link
Contributor Author

@ggreenway I believe you have the most context based on #32861 (comment). Sorry for the late follow-up!

Signed-off-by: Teju Nareddy <tnareddy@confluent.io>
Copy link
Member

@wbpcode wbpcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm api

@wbpcode wbpcode assigned ggreenway and unassigned wbpcode May 30, 2024
Copy link
Contributor

@ggreenway ggreenway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall. Thanks!

@jmarantz can you take a look at the tag extraction rules and double-check?

/wait-any

source/common/config/well_known_names.cc Show resolved Hide resolved
ggreenway
ggreenway previously approved these changes May 31, 2024
Copy link
Contributor

@ggreenway ggreenway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Over to @jmarantz for a final look at the tag extraction.

@nareddyt
Copy link
Contributor Author

nareddyt commented Jun 3, 2024

PTAL @jmarantz

@nareddyt
Copy link
Contributor Author

nareddyt commented Jun 5, 2024

PTAL, would like to get this merged soon.

@nareddyt
Copy link
Contributor Author

nareddyt commented Jun 5, 2024

@jmarantz this should be a quick review :)

@jmarantz
Copy link
Contributor

jmarantz commented Jun 5, 2024

one documentation nit remains.

Signed-off-by: Teju Nareddy <tnareddy@confluent.io>
@nareddyt nareddyt dismissed stale reviews from jmarantz and ggreenway via 8c5a624 June 5, 2024 21:12
@nareddyt
Copy link
Contributor Author

nareddyt commented Jun 5, 2024

one documentation nit remains.

Done, PTAL

@nareddyt
Copy link
Contributor Author

nareddyt commented Jun 6, 2024

Looks like fuzz coverage is broken, seems unrelated to my PR

@nareddyt
Copy link
Contributor Author

nareddyt commented Jun 6, 2024

/retest

@nareddyt
Copy link
Contributor Author

nareddyt commented Jun 6, 2024

PTAL, CI passed @jmarantz @ggreenway

@nareddyt
Copy link
Contributor Author

nareddyt commented Jun 7, 2024

PTAL @jmarantz

@jmarantz jmarantz merged commit 69d4ef8 into envoyproxy:main Jun 10, 2024
53 checks passed
nareddyt added a commit to nareddyt/envoy that referenced this pull request Jun 10, 2024
…ation (envoyproxy#34414)

Commit Message:
proxy_protocol_filter: Add field stat_prefix to the filter configuration

Additional Description:
This field allows for differentiating statistics when multiple proxy protocol listener filters are configured.

This PR is a follow-up from previous conversation: envoyproxy#32861 (comment)

Risk Level: Low

All client-facing behavior changes are guarded by new filter config field.
Testing:

Stats unit tests
Proxy protocol listener filter integration tests
Docs Changes:
Done

Release Notes:
Done

Platform Specific Features:
None

Signed-off-by: Teju Nareddy <tnareddy@confluent.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants