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

INFRA-13891 Pull upstream changes #1

Open
wants to merge 106 commits into
base: 509-as-429
Choose a base branch
from

Conversation

jimmybigcommerce
Copy link

@jimmybigcommerce jimmybigcommerce commented May 28, 2024

Pulling in upstream changes to address issues in Bookworm.

The 509-as-429 branch is the one we are running in our nginx build.

Pablo Fischer and others added 30 commits August 16, 2018 12:31
Fixed incorrect calculation of nginx_vts_upstream_request_seconds and nginx_vts_upstream_response_seconds values
Getting a total is better done by letting Prometheus calculate the sum
of each instance of the named metric (eg
sum(nginx_vts_server_requests_total) ). With them there, we have to
explicit exclude them in queries, which is quite awkward.
The `ngx_http_vhost_traffic_status_node_init` function initializes
the data structures and processes the first request. However it
was not updating the histogram buckets. Refactor the common code
from this function and `ngx_http_vhost_traffic_status_node_set`
into a common `ngx_http_vhost_traffic_status_node_update` function
to fix this and to reduce the chance of similar problems.
There is a small typo in src/ngx_http_vhost_traffic_status_display_json.c.

Should read `destroy` rather than `destory`.
fix vhost_traffic_status_filter_max_node 16 uris
docs: fix simple typo, destory -> destroy
Fixed incorrect calculation of nginx_vts_upstream_request_seconds and nginx_vts_upstream_response_seconds values
fix: limit the r->uri search scope to avoid overflow
Cast key length to correct type
Set histogram buckets on first request
Escape special characters in Prometheus output
prometheus filter field name direction change to code
remove redundant comparision, found by cppcheck
Prometheus request count label fixes
Test: describe how to test and fix failed test case
Add support for nginx_upstream_check_module module
Feature: added moduleVersion field in format/json
u5surf and others added 30 commits March 13, 2023 01:02
test: Fix upstream check test properly
* it is necessary while the below patch is released officially.
* nginx/nginx@2c5fccd
Fix escaping filter_key in prometheus output
Release [v0.2.2] - 2023-04-17
** Bugfix
- fixed issues/228 Change the reffered source of upstream_states in shm_add_upstream()
- fixed issues/248 Shared memory (lock|unlock) is set when using the ngx_http_vhost_traffic_status_display_get_size() function

** Bugfix
- Add shmtx unlock

** Chore
- add cpanm --notest in CI

** Test
- Fix upstream check test properly
- Add upstream check test
Release [v0.2.3] - 2024-12-31

** Bugfix
    - fixed encodeURI into template

** Ci
- support freenginx

** Docs
- Fix README
Add new boolean flag `vhost_traffic_status_stats_by_upstream` to allow disabling statistics collection for upstream servers


---------

Co-authored-by: Ben Kochie <[email protected]>
add 1.27.x compatibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.