liaoxin01 commented on PR #70803:
URL: https://github.com/apache/doris/pull/70803#issuecomment-7181907355

   Could we keep the existing `recycler_instance_recycle_task_status` event 
counters with their `status` label (`submitted`, `completed`, `error`) and add 
a separate `recycler_instance_recycle_task_active{instance_id="..."}` gauge (1 
while running, 0 when idle)?
   
   These metrics serve different purposes: the counters track task events and 
failures, while the gauge reports current activity. Replacing the counters 
breaks existing queries and alerts, especially those using `status="error"`; 
the gauge cannot replace them because both successful and failed tasks return 
to 0. A separate metric also avoids changing the meaning and labels of the same 
metric name during rolling upgrades.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to