Manyy8 opened a new pull request, #14016: URL: https://github.com/apache/trafficserver/pull/14016
## Summary Fixes `TSStatCreate()` to respect the supplied `TSRecordDataType` instead of always creating a gauge. ## Changes - Create `Metrics::Counter` for `TS_RECORDDATATYPE_COUNTER`. - Create `Metrics::Gauge` for `TS_RECORDDATATYPE_INT`. - Return `TS_ERROR` for unsupported data types. - Extend `SDK_API_TSStatCreate` regression coverage to verify counter and gauge behavior. ## Testing - Successfully built the `traffic_server` target. - Added regression checks for counter and gauge operations. - Runtime regression test execution is not yet verified. -- 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]
