-
Notifications
You must be signed in to change notification settings - Fork 616
Clarify meaning of latency headers in proxy page and update kong.log PDK latencies field #8792
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -398,6 +398,16 @@ Generates a table with useful information for logging. | |
The following fields are included in the returned table: | ||
* `client_ip` - client IP address in textual format. | ||
* `latencies` - request/proxy latencies. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are all of these available in 2.8? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, only 3.11 onwards There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was under the expectation that this page would be sourced from our |
||
- `kong` - Time spent processing inside Kong (in ms), excluding upstream and third-party I/O. | ||
- `proxy` - Time spent waiting for upstream response (in ms). | ||
- `request` - Complete end-to-end request processing time (in ms). | ||
- `receive` - Time spent receiving/processing upstream server response data (in ms). | ||
- `client` - Time that Kong waits to receive headers and body from the client, plus how long Kong waits for the client to read/receive the response from Kong (in ms). | ||
- `third_party` - Total time spent on third-party I/O (in ms), such as Redis, DNS, HTTP calls, and socket calls. | ||
- `dns` - Time spent on DNS resolution (in ms). | ||
- `redis` - Time spent on Redis operations (in ms). | ||
- `http_client` - Time spent on HTTP client calls (in ms). | ||
- `socket` - Time spent on generic socket operations (in ms). | ||
* `request.headers` - request headers. | ||
* `request.method` - request method. | ||
* `request.querystring` - request query strings. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no mentioned of this advanced_latency_tokens in the config reference page. CAn you include how it need to be set right here?
Is it advanced_latency_tokens=true?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be sourced from our kong.conf file. It's a value from the
KONG_HEADERS
config option.