wilmerdooley commented on PR #67664:
URL: https://github.com/apache/airflow/pull/67664#issuecomment-4606242707

     @pierrejeambrun 
     
     Thanks! Here are screenshots of the Historical Metrics section, taken from 
a local run with the metrics data set so that one state sits at the API cap 
(state_count_limit, 1000).
   
     A state is capped (success at the limit)
   
   <img width="2180" height="646" alt="dagrun-capped" 
src="https://github.com/user-attachments/assets/a23af1ca-58b6-4ccf-9d62-c8907bed5d47";
 />
   
     The Success badge renders as 1000+, and the percentages are hidden for 
every state in the group. This is the fix: once any count is capped the summed 
total is only a lower bound, so the per-state percentages computed from it
     would be wrong.
   
     Nothing capped (for comparison)
     
   <img width="2180" height="646" alt="dagrun-normal" 
src="https://github.com/user-attachments/assets/4cd44ad5-5bcf-4784-9fe4-98af76524dba";
 />
   
     When no state reaches the limit, the percentages display as before. The 
suppression only kicks in for the capped case.
   
     Full dashboard, capped case
   
   <img width="3360" height="2400" alt="dashboard-capped" 
src="https://github.com/user-attachments/assets/c0187a01-27c1-4a40-9d90-b6946644dc8b";
 />
   
     The same behavior applies to the Task Instances group.


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