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

perf(tracing/request-id): introduce $kong_request_id #11725

Merged
merged 26 commits into from
Oct 13, 2023

Conversation

chronolaw
Copy link
Contributor

@chronolaw chronolaw commented Oct 10, 2023

Summary

The version of lua-kong-module has bumped to 0.8.0, introducing a new variable $kong_request_id.

KAG-2734

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

  • [Implement ...]

Issue reference

Fix #[issue number]

@zhongweiy
Copy link
Contributor

It will be helpful to have performance data after applying this patch and https://github.com/Kong/lua-kong-nginx-module/pull/70/files.

Here is some performance data done before for reference.

  1. https://konghq.atlassian.net/browse/KAG-2692?focusedCommentId=113705
  2. nginx_config is in the description of this ticket https://konghq.atlassian.net/browse/KAG-2692 and wrk command: wrk -t1 -c40 -d10s http://127.0.0.1:80

@chronolaw chronolaw marked this pull request as ready for review October 11, 2023 00:23
@pull-request-size pull-request-size bot added size/M and removed size/S labels Oct 11, 2023
@chronolaw chronolaw requested review from dndx and ADD-SP October 11, 2023 02:26
@chronolaw chronolaw added this to the 3.5.0 milestone Oct 11, 2023
@chronolaw chronolaw requested a review from samugi October 11, 2023 06:24
@zhongweiy
Copy link
Contributor

Shall we also update the FIPS document like "core/uuid" does? https://docs.konghq.com/gateway/latest/kong-enterprise/fips-support/

@fffonion
Copy link
Contributor

fffonion commented Oct 12, 2023

The FIPS document is out-of-date, I will create a PR that updates it along with the request_id change.
https://github.com/Kong/docs.konghq.com/pull/6286/files

Copy link
Contributor

@ADD-SP ADD-SP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rebase on the master and adapt to changes of #11017, that PR also uses $request_id.

cc @samugi

@chronolaw
Copy link
Contributor Author

Please rebase on the master and adapt to changes of #11017, that PR also uses $request_id.

cc @samugi

Thank you @ADD-SP , I have rebased the branch and fixed some code in #11017.

@chronolaw chronolaw requested a review from samugi October 12, 2023 08:01
@chronolaw chronolaw force-pushed the perf/introduce_var_kong_request_id branch from fe65db2 to 594d055 Compare October 13, 2023 05:37
@dndx dndx merged commit 348c980 into master Oct 13, 2023
23 checks passed
@dndx dndx deleted the perf/introduce_var_kong_request_id branch October 13, 2023 07:09
samugi pushed a commit that referenced this pull request Nov 9, 2023
… performance (#11725)

This has better performance than `$request_id`.

KAG-2734
samugi pushed a commit that referenced this pull request Nov 15, 2023
… performance (#11725)

Bumped lua-kong-nginx-module to `0.8.0`.

This has better performance than `$request_id`.

KAG-2734
samugi pushed a commit that referenced this pull request Nov 15, 2023
… performance (#11725)

This has better performance than `$request_id`.

KAG-2734
samugi pushed a commit that referenced this pull request Nov 15, 2023
… performance (#11725)

Bumped lua-kong-nginx-module to `0.8.0`.

This has better performance than `$request_id`.

KAG-2734
samugi pushed a commit that referenced this pull request Nov 20, 2023
… performance (#11725)

This has better performance than `$request_id`.

KAG-2734
AndyZhang0707 added a commit that referenced this pull request Jul 18, 2024
AndyZhang0707 added a commit that referenced this pull request Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants