Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(plugin/prometheus): generate metrics output data with string.buf…
…fer (#11065) This PR follows #11040, continue to optimize the string usage by string.buffer. KAG-1852 Full changelog - use table.new for seen_metrics - buffered_print() outputs a string, not a table - change printable_metric_data of stream to fit the new buffered_print() - do not use ipairs to iterate array - other small optimizations
- Loading branch information
Showing
4 changed files
with
37 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
027d646
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.
Bazel Build
Docker image available
kong/kong:027d64686c0c8b9e3045b8e5aea5aaaec40f6cc9
Artifacts available https://github.com/Kong/kong/actions/runs/5367948147