Skip to content

Commit

Permalink
Fix analyze request documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
athultr1997 authored and ebyhr committed Sep 15, 2024
1 parent c03df85 commit 785844b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/routing-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ You can use an external service for processing your routing by setting the
`rulesType` to `EXTERNAL` and configuring the `rulesExternalConfiguration`.

Trino Gateway then sends all headers as a map in the body of a POST request to the external service.
Headers specified in `blacklistHeaders` are excluded. If `requestAnalyzerConfig.isAnalyzeRequest` is set to `true`,
Headers specified in `blacklistHeaders` are excluded. If `requestAnalyzerConfig.analyzeRequest` is set to `true`,
`TrinoRequestUser` and `TrinoQueryProperties` are also included.

Additionally, the following HTTP information is included:
Expand Down Expand Up @@ -164,7 +164,7 @@ username against the extracted user. It will return `False` if a user has not
been extracted.

User extraction is only available if enabled by configuring
`requestAnalyzerConfig.isAnalyzeRequest = True`
`requestAnalyzerConfig.analyzeRequest = True`

### TrinoQueryProperties

Expand Down Expand Up @@ -211,7 +211,7 @@ object:
The `trinoQueryProperties` are configured under the `requestAnalyzerConfig`
configuration node.

#### isAnalyzeRequest
#### analyzeRequest

Set to `True` to make `trinoQueryProperties` and `trinoRequestUser` available

Expand Down

0 comments on commit 785844b

Please sign in to comment.