2 * Custom netdata information file
3 * -------------------------------
5 * Use this file to add custom information on netdata dashboards:
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 :
12 * custom dashboard_info.js = your_filename.js
14 * Using this file you can:
16 * 1. Overwrite or add messages to menus, submenus and charts.
17 * Use dashboard_info.js to find out what you can define.
19 * 2. Inject javascript code into the default netdata dashboard.
23 // ----------------------------------------------------------------------------
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
30 customDashboard.menu = {
35 // ----------------------------------------------------------------------------
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
41 customDashboard.submenu = {
46 // ----------------------------------------------------------------------------
47 // CONTEXT (the template each chart is based on)
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
56 customDashboard.context = {