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

Dynamic interpolation of variables #159

Closed
dotansimha opened this issue Nov 26, 2023 · 1 comment · Fixed by #182
Closed

Dynamic interpolation of variables #159

dotansimha opened this issue Nov 26, 2023 · 1 comment · Fixed by #182
Assignees

Comments

@dotansimha
Copy link
Member

dotansimha commented Nov 26, 2023

Not sure where this needs to be implemented. As we might want to allow users to easily do mapping of headers, and other request parameters.

I was thinking of a plugin like this maybe?

plugins:
  - type: mapping_transform
     config:
        - from: {request.headers['X-Request-ID']}
          to: {upstreamRequest.headers['X-Request-ID']}
@dotansimha
Copy link
Member Author

Maybe we should consider to use VRL? https://vector.dev/docs/reference/vrl/

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 a pull request may close this issue.

1 participant