Skip to content

proxy_protocol_filter: Add field stat_prefix to the filter configuration#34414

Merged
jmarantz merged 4 commits intoenvoyproxy:mainfrom
nareddyt:proxy-protocol-stats
Jun 10, 2024
Merged

proxy_protocol_filter: Add field stat_prefix to the filter configuration#34414
jmarantz merged 4 commits intoenvoyproxy:mainfrom
nareddyt:proxy-protocol-stats

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

nareddyt added 2 commits May 29, 2024 12:40
Signed-off-by: Teju Nareddy <tnareddy@confluent.io>
Signed-off-by: Teju Nareddy <tnareddy@confluent.io>
@repokitteh-read-only
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
Member

@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

ggreenway
ggreenway previously approved these changes May 31, 2024
Copy link
Member

@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
jmarantz previously approved these changes Jun 5, 2024
@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 nareddyt requested review from ggreenway and jmarantz June 5, 2024 21:13
@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
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>
nareddyt added a commit to nareddyt/envoy that referenced this pull request Oct 14, 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