Page MenuHomePhabricator

Tendril DB graphs say 24hr but at 12hr
Closed, DeclinedPublic

Description

For example, https://tendril.wikimedia.org/host/view/db1061.eqiad.wmnet/3306 has "12hr / 5min" as headings, but the graphs are 12hr graphs (6x 2h bars). Either the text should say 12 or the graph should be for 24 hr.

Event Timeline

jcrespo triaged this task as Lowest priority.Jun 14 2016, 1:32 PM
jcrespo moved this task from Triage to Backlog on the DBA board.
jcrespo moved this task from Backlog to Backlog (help welcome) on the DBA board.

To clarify, tendril's graphing capabilities are to be deprecated in favor of a more integrated diamond + graphite/prometheus + grafana solution, that is why this has very little priority. Related: T126757 T99485

Also, "5 minutes" and "1 hours" as units is a really bad idea in general, and makes impossible to compare those graphs. The unit should be seconds or minutes in both cases.

If this works, this should make this bug obsolete:

Screenshot from 2016-08-22 17-22-26.png (947×1 px, 107 KB)

Actually, the graphs should return 24 hours, not sure why they are returning only 12 :-/

$hours  = 24;
...
sprintf('gsl.server_id = %d and gsl.stamp > now() - interval 24 hour', $server_id))
Marostegui subscribed.

I am going to close this as I don't think we are going to spend time on this - the idea is to replace/refactor tendril with more/different stuff that we have in mind and discussed several times.
Further, we don't really use tendril for any of its graphing capabilities.