Skip to content

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

Open
@tharakawijekoon

Description

@tharakawijekoon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions