Is there any simple way to try out LAVA Dashboard?

Asked by Terry Guo

Hi there,

I am new to the whole LAVA test system. But it seems the Dashboard module can work independently to display test results that already stored in a pgsql database. Am I correct? If I am right, then is there any simple way to try this feature out? I read some documents but didn't find a more specific document. Please help me.

1. I set up the LAVA server and LAVA Dashboard using ppa:linaro-validation/ppa. Now the server end works fine.

2. I have a data base which stores the results of my daily test, the records look like:

    id date performance
   test1 2012/2/1 889.000
   test1 2012/2/2 800.000
   test1 2012/2/3 870.000
  .................................................

3. I just want to show those data in a trend graph with date as x axis. I think I only need three modules lava server, lava dashboard, lava dashboard tool.

4. Can you please give me some guides on how to do this? A brief introduction to write such jason file or some reference example are all welcomed.

Thanks very much in advance.

Best regards,
Terry

Question information

Language:
English Edit question
Status:
Answered
For:
LAVA Dashboard (deprecated) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Zygmunt Krynicki (zyga) said :
#1

Wysłane z iPhone'a

Dnia 17 lut 2012 o godz. 03:35 Terry Guo <email address hidden> napisał(a):

> New question #187992 on LAVA Dashboard:
> https://answers.launchpad.net/lava-dashboard/+question/187992
>
> Hi there,
>
> I am new to the whole LAVA test system. But it seems the Dashboard module can work independently to display test results that already stored in a pgsql database. Am I correct? If I am right, then is there any simple way to try this feature out? I read some documents but didn't find a more specific document. Please help me.

Lava dashboard depends on lava server. Other than that you are correct

> 1. I set up the LAVA server and LAVA Dashboard using ppa:linaro-validation/ppa. Now the server end works fine.

It is deprecated. It only confuses people, we should get rid of it. See http://launchpad.net/lava-project/ to find out how to install lava

> 2. I have a data base which stores the results of my daily test, the records look like:
>
> id date performance
> test1 2012/2/1 889.000
> test1 2012/2/2 800.000
> test1 2012/2/3 870.000
> .................................................
>
> 3. I just want to show those data in a trend graph with date as x axis. I think I only need three modules lava server, lava dashboard, lava dashboard tool.

You can write an extension that will show this data. Alternatively you can use the data views and reports feature of the dashboard to render such a page

> 4. Can you please give me some guides on how to do this? A brief introduction to write such jason file or some reference example are all welcomed.

Please look at lp:~linaro-validation/lava-dashboard/data-views-and-reports for examples. You will need to configure your lava installation to find the two directories in that branch

> Thanks very much in advance.
>
> Best regards,
> Terry
>
> --
> You received this question notification because you are a member of
> Linaro Validation Team, which is an answer contact for LAVA Dashboard.

Revision history for this message
Terry Guo (terry.guo) said :
#2

Hi,

Thanks for help. If I plan to try the LAVA extension, does it mean I have to install LAVA Server from source?

If the server is installed, how can I make my extension take effect?

BR,
Terry

Revision history for this message
Zygmunt Krynicki (zyga) said :
#3

You can install lava server from our releases using pip. Create a virtualenv and type: pip install lava-server

Your extension needs to advertise itself using the entry point system. Look at setup.py for lava-dashboard, search for the extension line please.

Dnia 17 lut 2012 o godz. 09:35 Terry Guo <email address hidden> napisał(a):

> Question #187992 on LAVA Dashboard changed:
> https://answers.launchpad.net/lava-dashboard/+question/187992
>
> Status: Answered => Open
>
> Terry Guo is still having a problem:
> Hi,
>
> Thanks for help. If I plan to try the LAVA extension, does it mean I
> have to install LAVA Server from source?
>
> If the server is installed, how can I make my extension take effect?
>
> BR,
> Terry
>
> --
> You received this question notification because you are a member of
> Linaro Validation Team, which is an answer contact for LAVA Dashboard.

Can you help with this problem?

Provide an answer of your own, or ask Terry Guo for more information if necessary.

To post a message you must log in.