]> arthur.barton.de Git - netdata.git/blob - web/dashboard_info_custom_example.js
Merge branch 'master' into ab-debian
[netdata.git] / web / dashboard_info_custom_example.js
1 /*
2  * Custom netdata information file
3  * -------------------------------
4  *
5  * Use this file to add custom information on netdata dashboards:
6  *
7  * 1. Copy it to a new filename (so that it will not be overwritten with netdata updates)
8  * 2. Edit it to fit your needs
9  * 3. Set the following option to /etc/netdata/netdata.conf :
10  *
11  *    [web]
12  *      custom dashboard_info.js = your_filename.js
13  *
14  * Using this file you can:
15  *
16  * 1. Overwrite or add messages to menus, submenus and charts.
17  *    Use dashboard_info.js to find out what you can define.
18  *
19  * 2. Inject javascript code into the default netdata dashboard.
20  *
21  */
22
23 // ----------------------------------------------------------------------------
24 // MENU
25 //
26 // - title      the menu title as to be rendered at the charts menu
27 // - icon       html fragment of the icon to display
28 // - info       html fragment for the description above all the menu charts
29
30 customDashboard.menu = {
31
32 };
33
34
35 // ----------------------------------------------------------------------------
36 // SUBMENU
37 //
38 // - title       the submenu title as to be rendered at the charts menu
39 // - info        html fragment for the description above all the submenu charts
40
41 customDashboard.submenu = {
42
43 };
44
45
46 // ----------------------------------------------------------------------------
47 // CONTEXT (the template each chart is based on)
48 //
49 // - info        html fragment for the description above the chart
50 // - height      a ratio to the default as a decimal number: 1.0 = 100%
51 // - colors      a single color or an array of colors to use for the dimensions
52 // - valuerange  the y-range of the chart as an array [min, max]
53 // - heads       an array of gauge charts to render above the submenu section
54 // - mainheads   an array of gauge charts to render at the menu section
55
56 customDashboard.context = {
57
58 };