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

Envoy attributes as a source for Transformations #8489

Open
jmunozro opened this issue Jul 20, 2023 · 1 comment
Open

Envoy attributes as a source for Transformations #8489

jmunozro opened this issue Jul 20, 2023 · 1 comment
Labels
stale Issues that are stale. These will not be prioritized without further engagement on the issue. Type: Enhancement New feature or request

Comments

@jmunozro
Copy link
Member

jmunozro commented Jul 20, 2023

Version

1.14.x (latest stable)

Is your feature request related to a problem? Please describe.

I want to expose the value of an envoy attribute to dynamic metadata with a transformation. The intention is to be able to add logic in a later filter, using that information.

As an example, i'd like to read xds.route_name in a transformation, then save it to dynamic metadata, and be able to print it in the logs as %DYNAMIC_METADATA(com.test.my_filter:test_key)%

Describe the solution you'd like

Envoy attributes can be read in a transformation and saved to dynamic metadata

Describe alternatives you've considered

Lua filter

I would like to have an identification of the route, in order to refer to it as part of the dynamic metadata, the attribute xds.route_name contains the desired information. Other source for this value would work as a workaround for this particular use case, but we will probably hit this again eventually in the future.

Additional Context

No response

@jmunozro jmunozro added the Type: Enhancement New feature or request label Jul 20, 2023
Copy link

This issue has been marked as stale because of no activity in the last 180 days. It will be closed in the next 180 days unless it is tagged "no stalebot" or other activity occurs.

@github-actions github-actions bot added the stale Issues that are stale. These will not be prioritized without further engagement on the issue. label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issues that are stale. These will not be prioritized without further engagement on the issue. Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant