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

[Doc] Improve "Working with Product Observability" doc to state the order the RequestCorrelationIdValve should be added #2004

Open
tharakawijekoon opened this issue Sep 3, 2020 · 0 comments

Comments

@tharakawijekoon
Copy link
Contributor

Description:
If the RequestCorrelationIdValve is added to the catalina-server.xml, it should come after the RequestEncodingValve to avoid encoding issues.

<Valve className="org.wso2.carbon.tomcat.ext.valves.RequestEncodingValve" encoding="UTF-8"/>

<Valve className="org.wso2.carbon.tomcat.ext.valves.RequestCorrelationIdValve"
                      headerToCorrelationIdMapping="{'customHeader':'Correlation-ID'}" queryToCorrelationIdMapping="{'RelayState':'Correlation-ID'}"/>

This should be documented.

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

No branches or pull requests

1 participant