AlinsRan opened a new pull request, #14150:
URL: https://github.com/apache/apisix/pull/14150

   ### Description
   
   Bump `nginx-lua-prometheus-api7` from `1.1.0-1` to `1.1.1-1`.
   
   `1.1.1` updates a metric's pending increment in place instead of allocating 
a new `{v, t}` table on every `incr()` before the next `sync()` 
(api7/nginx-lua-prometheus#28). A histogram observation calls `incr()` for the 
count, the sum and every bucket it falls into, so the HTTP latency histograms 
allocate several dozen short-lived tables per request today. The change has no 
API or configuration impact; `1.1.0` and `1.1.1` differ only in 
`prometheus_resty_counter.lua`.
   
   `nginx-lua-prometheus-api7-1.1.1-1` is published on LuaRocks.
   
   `t/plugin/prometheus.t` to `prometheus4.t` were run locally against `1.1.1` 
and `1.1.0`. Both fail only on assertions that also fail on `master` locally 
(`[error]` checks hit by `lua-resty-events` `failed to receive the header 
bytes` noise, and `prometheus.t` TEST 41).
   
   #### Which issue(s) this PR fixes:
   
   None.
   
   ### Checklist
   
   - [x] I have explained the need for this PR and the problem it solves
   - [x] I have explained the changes or the new features added to this PR
   - [ ] I have added tests corresponding to this change
   - [ ] I have updated the documentation to reflect this change
   - [x] I have verified that this change is backward compatible (If not, 
please discuss on the [APISIX mailing 
list](https://github.com/apache/apisix/tree/master#community) first)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to