I’m +1 on removing the “clear|zero” operations from traffic_ctl in 10.0.0.

— Leif


> On Jul 16, 2024, at 4:12 AM, Damian Meden <dme...@apache.org> wrote:
> 
> Hello.
> 
> With the latest inclusion of the new Metric machinery in ATS 10 you are no
> longer able to reset|zero a counter at runtime, this used to make sense as
> the old metrics were persistent, this is no longer the case for ATS 10. All
> counters are reset on every restart, so this would be the way to clear them
> all.
> 
> 
> Q: Do you guys have any good arguments to (re)implement this "feature"? It
> does not make sense to implement a feature just to keep backward
> compatibility when there is no real need.
> 
> Keep in mind that there are other ways to monitor
> <https://docs.trafficserver.apache.org/en/latest/appendices/command-line/traffic_ctl.en.html#cmdoption-traffic_ctl-metric-arg-monitor>
> a metric in case you want to know how this metric performs without the need
> to reset it.
> 
> To keep this consistent, in case we do not implement it we would need to
> remove this(metric clear|zero) API from traffic_ctl for ATS 10.
> 
> Regards,
> Damian

Reply via email to