-
Notifications
You must be signed in to change notification settings - Fork 9
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
Simplify HTTP headers injection #12
Comments
This doesn't seem to be feasible. The RequestHeader representing the default header entries, does not have a public constructor or setters. |
Hi @manikmagar I was trying to set the I was trying to follow the instructions here: https://medium.com/@jromasanta/part-2-integrating-dynatrace-using-mulesoft-4-22da37c24d58 I've tried using |
Hi @zedwards14276, I assume this is a warning in the Anypoint Studio only. You can safely ignore that since that variable is inserted by the module at runtime. |
While auto-injection isn't supported (see Limitations ), the HTTP Request Context Injection
approach requires users to be aware of what header entries need to be added.
Depending on the propagators configured, the list of header entries could vary. This need for explicit entries needs to be avoided.
We could provide a dataweave module function ,eg
otel.getHttpHeaders()
which returns HTTP default headers compatible map, that users could add in default headers -The text was updated successfully, but these errors were encountered: