bryancall commented on issue #12361:
URL: 
https://github.com/apache/trafficserver/issues/12361#issuecomment-6195977490

   Following up here since this stalled after the mailing list thread.
   
   **Where we left it.** On 2025-08-04 @jasmine-nahrain [proposed on 
dev@](https://lists.apache.org/thread/t96govpdnc0bgj92cp3xls7o2pbtrs6x) that we 
deprecate http_stats and move what only it has into stats_over_http:
   
   - support the config options that http_stats has
   - add remap plugin support to stats_over_http (#12316)
   - carry over the two counters http_stats keeps (response bytes and response 
count)
   
   @zwoop gave it a +1. He noted that the removal has to go on 11-Dev, with a 
deprecation heads-up in the 10.2 docs as a separate PR. @ezelkow1 also gave it 
a +1, and nobody objected.
   
   **What happened since.**
   
   - #12316 was closed as stale on 2025-10-07 without being merged.
   - 10.2.0 shipped without a deprecation notice for http_stats.
   - http_stats still builds in master, 10.2.x and 11-Dev.
   
   **How they compare on master today:**
   
   | | stats_over_http | http_stats |
   |---|---|---|
   | Where it lives | core, built by default | experimental |
   | How it loads | global (`plugin.config`) | remap (`remap.config`) |
   | Output | JSON, CSV, Prometheus flat and labeled | JSON, CSV |
   | Choosing a format | `Accept` header or path suffix | `--csv` per remap 
rule |
   | Compression | gzip, deflate, br built in | chain the compress plugin |
   | Access control | secret path, IPv4/IPv6 allow lists, config file with 
reload | remap ACLs |
   | Cacheable response | no, always `no-cache` | yes, with `--max-age` |
   | Tests | two autests | none |
   | Commits since June 2025 | 12 | 2 |
   
   http_stats came in with #8797 as a copy of stats_over_http rewritten as a 
remap plugin. Its own counters are still named `stats_over_http2.*`. Only two 
of its features are missing from stats_over_http: remap mode and the cacheable 
response.
   
   **What I'd like to do.** Jasmine's plan, plus the caching piece, since that 
is what an http_stats user would lose:
   
   1. Add remap mode to stats_over_http, picking up where #12316 left off.
   2. Add an opt-in max-age option so the stats response can be cached.
   3. Add a deprecation notice and a migration table to the http_stats docs in 
the next 10.2.x release.
   4. Remove http_stats on 11-Dev.
   
   I'm working on PRs for these and will link them here.
   


-- 
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