Opened 3 years ago

Last modified 18 months ago

#3350 new undecided

Graph in Buildbot

Reported by: stibbons Owned by:
Priority: major Milestone: 0.9.+
Version: master Keywords: chart, metrics
Cc:

Description (last modified by sa2ajj)

Produce some key, visual, and useful graphs, that will help users feeling confortable with the Buildbot web interface.

Examples:

A) is pretty easy to do, and I think the Data API can give us this data on the fly (correct me if I am wrong).

B) need to extract data from the step, a given step would exposes the number of test success/failed. This would use the Statistics API developped this summer 2015.

Plan:

  • A) first step, to integrate the graph framework, connect to real data (already in the database).
  • B) I propose the following architecture:
    • connect the stat service to a new table inside the main buildbot database (either mysql, sqlite,...). This would store only test results, per build, as an example.
    • StatService? can be configured to feed this table, but it is not mandatory
    • the web interface needs to query (data API?) this table to retrieve data for a given builder
    • the graph is displayed to the user

For graph framework, I really like Highcharts which is free for non commercial use.

Change History (2)

comment:1 Changed 3 years ago by sa2ajj

  • Description modified (diff)
  • Milestone changed from undecided to 0.9.+
Note: See TracTickets for help on using tickets.