You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by "hubcio (via GitHub)" <gi...@apache.org> on 2026/07/29 07:16:40 UTC

[PR] feat(server-ng): enforce PAT limits and expose Prometheus metrics [iggy]

hubcio opened a new pull request, #3773:
URL: https://github.com/apache/iggy/pull/3773

   Enforce max_tokens_per_user at PAT create ingress on both planes and
   add a real /metrics endpoint with legacy gauge parity. Binary-plane
   PAT rewrite errors used to be dropped silently (the client hung until
   timeout); they now return a typed deny. The segments gauge reports the
   correct scrape-time count instead of reproducing the legacy drift
   bug.
   


-- 
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: commits-unsubscribe@iggy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(server-ng): enforce PAT limits and expose Prometheus metrics [iggy]

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #3773:
URL: https://github.com/apache/iggy/pull/3773#issuecomment-5129629167

   ## [Codecov](https://app.codecov.io/gh/apache/iggy/pull/3773?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :white_check_mark: All modified and coverable lines are covered by tests.
   :white_check_mark: Project coverage is 74.37%. Comparing base ([`0fa657a`](https://app.codecov.io/gh/apache/iggy/commit/0fa657a94ac665db69739b6bcf79713b9a3b39d1?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`7331626`](https://app.codecov.io/gh/apache/iggy/commit/7331626417f497c974fedc17972f0d7c17cc40fc?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@             Coverage Diff              @@
   ##             master    #3773      +/-   ##
   ============================================
   - Coverage     75.12%   74.37%   -0.76%     
     Complexity      969      969              
   ============================================
     Files          1307     1307              
     Lines        152751   152696      -55     
     Branches     128184   128129      -55     
   ============================================
   - Hits         114756   113567    -1189     
   - Misses        34465    35681    +1216     
   + Partials       3530     3448      -82     
   ```
   
   | [Components](https://app.codecov.io/gh/apache/iggy/pull/3773/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [Rust Core](https://app.codecov.io/gh/apache/iggy/pull/3773/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `75.56% <ø> (+0.03%)` | :arrow_up: |
   | [Java SDK](https://app.codecov.io/gh/apache/iggy/pull/3773/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `62.71% <ø> (ø)` | |
   | [C# SDK](https://app.codecov.io/gh/apache/iggy/pull/3773/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `72.26% <ø> (ø)` | |
   | [Python SDK](https://app.codecov.io/gh/apache/iggy/pull/3773/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `92.27% <ø> (ø)` | |
   | [PHP SDK](https://app.codecov.io/gh/apache/iggy/pull/3773/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `84.52% <ø> (ø)` | |
   | [Node SDK](https://app.codecov.io/gh/apache/iggy/pull/3773/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `92.24% <ø> (ø)` | |
   | [Go SDK](https://app.codecov.io/gh/apache/iggy/pull/3773/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `18.18% <ø> (-24.91%)` | :arrow_down: |
   
   | [Files with missing lines](https://app.codecov.io/gh/apache/iggy/pull/3773?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [core/metadata/src/stm/user.rs](https://app.codecov.io/gh/apache/iggy/pull/3773?src=pr&el=tree&filepath=core%2Fmetadata%2Fsrc%2Fstm%2Fuser.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29yZS9tZXRhZGF0YS9zcmMvc3RtL3VzZXIucnM=) | `87.95% <ø> (ø)` | |
   | [core/server-ng/src/bootstrap.rs](https://app.codecov.io/gh/apache/iggy/pull/3773?src=pr&el=tree&filepath=core%2Fserver-ng%2Fsrc%2Fbootstrap.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29yZS9zZXJ2ZXItbmcvc3JjL2Jvb3RzdHJhcC5ycw==) | `21.23% <ø> (+0.02%)` | :arrow_up: |
   | [core/server-ng/src/dispatch.rs](https://app.codecov.io/gh/apache/iggy/pull/3773?src=pr&el=tree&filepath=core%2Fserver-ng%2Fsrc%2Fdispatch.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29yZS9zZXJ2ZXItbmcvc3JjL2Rpc3BhdGNoLnJz) | `39.98% <ø> (+0.05%)` | :arrow_up: |
   | [core/server-ng/src/http.rs](https://app.codecov.io/gh/apache/iggy/pull/3773?src=pr&el=tree&filepath=core%2Fserver-ng%2Fsrc%2Fhttp.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29yZS9zZXJ2ZXItbmcvc3JjL2h0dHAucnM=) | `52.97% <ø> (+5.63%)` | :arrow_up: |
   | [core/server-ng/src/http/state.rs](https://app.codecov.io/gh/apache/iggy/pull/3773?src=pr&el=tree&filepath=core%2Fserver-ng%2Fsrc%2Fhttp%2Fstate.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29yZS9zZXJ2ZXItbmcvc3JjL2h0dHAvc3RhdGUucnM=) | `0.00% <ø> (ø)` | |
   | [core/server-ng/src/http/submit.rs](https://app.codecov.io/gh/apache/iggy/pull/3773?src=pr&el=tree&filepath=core%2Fserver-ng%2Fsrc%2Fhttp%2Fsubmit.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29yZS9zZXJ2ZXItbmcvc3JjL2h0dHAvc3VibWl0LnJz) | `0.00% <ø> (ø)` | |
   | [core/server-ng/src/pat.rs](https://app.codecov.io/gh/apache/iggy/pull/3773?src=pr&el=tree&filepath=core%2Fserver-ng%2Fsrc%2Fpat.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29yZS9zZXJ2ZXItbmcvc3JjL3BhdC5ycw==) | `0.00% <ø> (ø)` | |
   | [core/simulator/src/replica.rs](https://app.codecov.io/gh/apache/iggy/pull/3773?src=pr&el=tree&filepath=core%2Fsimulator%2Fsrc%2Freplica.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29yZS9zaW11bGF0b3Ivc3JjL3JlcGxpY2EucnM=) | `100.00% <ø> (ø)` | |
   
   ... and [42 files with indirect coverage changes](https://app.codecov.io/gh/apache/iggy/pull/3773/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   </details>
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>


-- 
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: commits-unsubscribe@iggy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(server-ng): enforce PAT limits and expose Prometheus metrics [iggy]

Posted by "hubcio (via GitHub)" <gi...@apache.org>.
hubcio merged PR #3773:
URL: https://github.com/apache/iggy/pull/3773


-- 
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: commits-unsubscribe@iggy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org