action #161138
closedFix graphs/data on job age dashbaord
0%
Description
Observation¶
Graphs on https://stats.openqa-monitor.qa.suse.de/d/7W06NBWGk/job-age?orgId=1&from=now-30d&to=now show negative values. That leads to Grafana appending "ago" to durations displayed at the very top of the dashboard. You can also see the negative values if you select the table view in edit mode of the affected graphs/panels. I think all panels that are using one of the job_age_p*
fields are affected.
Acceptance criteria¶
- AC1: Negative values are no longer written to the
job_age_p*
fields so the graphs/panels using them don't show "ago" or negative values in the table view anymore (because it makes no sense for an age to be negative).
Suggestions¶
- Checkout the Telegraf config for how those values are computed and fix the computation
Out of scope¶
- Fixing/removing negative values that are already in InfluxDB (although it may be worth a try if it is easy)
Updated by tinita 7 months ago
- Status changed from Feedback to Resolved
Looks good now for the last 2 hours: https://stats.openqa-monitor.qa.suse.de/d/7W06NBWGk/job-age?orgId=1&from=now-2h&to=now&viewPanel=11 (currently it says 51 minutes)
Updated by okurz 7 months ago
- Status changed from Resolved to Feedback
the top-left panel on https://stats.openqa-monitor.qa.suse.de/d/7W06NBWGk/job-age?orgId=1&from=now-30d&to=now shows "1 hour ago" so … not fixed?
Updated by tinita 7 months ago
okurz wrote in #note-5:
the top-left panel on https://stats.openqa-monitor.qa.suse.de/d/7W06NBWGk/job-age?orgId=1&from=now-30d&to=now shows "1 hour ago" so … not fixed?
That's because my fix is only 6 days old.
https://stats.openqa-monitor.qa.suse.de/d/7W06NBWGk/job-age?orgId=1&from=now-6d&to=now looks good