ishaaaan17 opened a new pull request, #13967:
URL: https://github.com/apache/trafficserver/pull/13967
## summary
removes the built-in slow log feature from ats core for the 11.0.0 major
release, addressing #12870.
transaction latency tracking and milestone timing are better handled by
external log analysis pipelines and custom logging configurations rather than
hardcoded core threshold timers.
## changes
1. **core http:**
- removed slow request calculation and milestone logging from
`HttpSM::update_stats()`.
- removed `slow_log_threshold` from `OverridableHttpConfigParams` and
`HttpConfig.cc`.
- removed `HTTP_SLOW_LOG_THRESHOLD` from `OVERRIDABLE_CONFIGS` in
`OverridableConfigDefs.h`.
2. **http/2:**
- removed `con_slow_log_threshold` and `stream_slow_log_threshold` static
variables and configurations from `HTTP2.h` and `HTTP2.cc`.
- removed connection slow log from `Http2CommonSession::common_free()`.
- removed stream slow log from `Http2Stream::~Http2Stream()`.
3. **api & cripts:**
- removed `TS_CONFIG_HTTP_SLOW_LOG_THRESHOLD` from
`TSOverridableConfigKey` in `include/ts/apidefs.h.in`, preserving 1:1 order
alignment with `OVERRIDABLE_CONFIGS`.
- removed `Slow` configuration class and
`proxy.config.http.slow.log.threshold` from `include/cripts/Configs.hpp`.
4. **records & configs:**
- removed `proxy.config.http.slow.log.threshold`,
`proxy.config.http2.connection.slow.log.threshold`, and
`proxy.config.http2.stream.slow.log.threshold` from `RecordsConfig.cc`.
- removed `slow:` block from `configs/records.yaml.default.in`.
- removed sample `slowlog` filter and format from
`configs/logging.yaml.default`.
- updated uranium test gold files in `tests/uranium_tests/records/`.
5. **documentation:**
- removed documentation entries from `records.yaml.en.rst`,
`TSHttpOverridableConfig.en.rst`, `TSOverridableConfigKey.en.rst`,
`lua.en.rst`, and japanese translations.
Fixes: #12870
--
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]