Opened 3 months ago

Closed 8 weeks ago

#21430 closed defect (fixed)

Graphs have empty paths when bandwidth data is unavailable

Reported by: cypherpunks Owned by: irl
Priority: Medium Milestone:
Component: Metrics/Atlas Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: #21274 Points:
Reviewer: Sponsor:


For some relays Onionoo does not have bandwidth data for all time periods. For instance B743BE28571D87AEFF9C409756644DB5C64A7C45 is missing its 5 years data.

When data is unavailable the graphs are empty except for the legend. However the path elements are still created leading to W3C validator errors such as

Element path is missing required attribute d.

FWICT this issue was partially addressed by #19553 but was solved by removing more recent graphs instead of having Atlas detect and handle unavailable data.

Child Tickets

Change History (3)

comment:1 Changed 8 weeks ago by RaBe

  • Status changed from new to needs_review

Skipping graphs that have no data, so the "No Data Available" image is maintained:

comment:2 Changed 8 weeks ago by cypherpunks

The empty line that is introduced contains trailing spaces, other than that it LGTM.

comment:3 Changed 8 weeks ago by irl

  • Resolution set to fixed
  • Status changed from needs_review to closed

Merged (amending the commit to remove the whitespace blank line). Thanks. (:

Note: See TracTickets for help on using tickets.