0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-05-18 15:11:22 +00:00
netdata_netdata/web/gui/dashboard_info_custom_example.js
Costa Tsaousis 8fbf817ef8
modularized all source code ()
* modularized all external plugins

* added README.md in plugins

* fixed title

* fixed typo

* relative link to external plugins

* external plugins configuration README

* added plugins link

* remove plugins link

* plugin names are links

* added links to external plugins

* removed unecessary spacing

* list to table

* added language

* fixed typo

* list to table on internal plugins

* added more documentation to internal plugins

* moved python, node, and bash code and configs into the external plugins

* added statsd README

* fix bug with corrupting config.h every 2nd compilation

* moved all config files together with their code

* more documentation

* diskspace info

* fixed broken links in apps.plugin

* added backends docs

* updated plugins readme

* move nc-backend.sh to backends

* created daemon directory

* moved all code outside src/

* fixed readme identation

* renamed plugins.d.plugin to plugins.d

* updated readme

* removed linux- from linux plugins

* updated readme

* updated readme

* updated readme

* updated readme

* updated readme

* updated readme

* fixed README.md links

* fixed netdata tree links

* updated codacy, codeclimate and lgtm excluded paths

* update CMakeLists.txt

* updated automake options at top directory

* libnetdata slit into directories

* updated READMEs

* updated READMEs

* updated ARL docs

* updated ARL docs

* moved /plugins to /collectors

* moved all external plugins outside plugins.d

* updated codacy, codeclimate, lgtm

* updated README

* updated url

* updated readme

* updated readme

* updated readme

* updated readme

* moved api and web into webserver

* web/api web/gui web/server

* modularized webserver

* removed web/gui/version.txt
2018-10-15 23:16:42 +03:00

59 lines
1.8 KiB
JavaScript

// SPDX-License-Identifier: GPL-3.0-or-later
/*
* Custom netdata information file
* -------------------------------
*
* Use this file to add custom information on netdata dashboards:
*
* 1. Copy it to a new filename (so that it will not be overwritten with netdata updates)
* 2. Edit it to fit your needs
* 3. Set the following option to /etc/netdata/netdata.conf :
*
* [web]
* custom dashboard_info.js = your_filename.js
*
* Using this file you can:
*
* 1. Overwrite or add messages to menus, submenus and charts.
* Use dashboard_info.js to find out what you can define.
*
* 2. Inject javascript code into the default netdata dashboard.
*
*/
// ----------------------------------------------------------------------------
// MENU
//
// - title the menu title as to be rendered at the charts menu
// - icon html fragment of the icon to display
// - info html fragment for the description above all the menu charts
customDashboard.menu = {
};
// ----------------------------------------------------------------------------
// SUBMENU
//
// - title the submenu title as to be rendered at the charts menu
// - info html fragment for the description above all the submenu charts
customDashboard.submenu = {
};
// ----------------------------------------------------------------------------
// CONTEXT (the template each chart is based on)
//
// - info html fragment for the description above the chart
// - height a ratio to the default as a decimal number: 1.0 = 100%
// - colors a single color or an array of colors to use for the dimensions
// - valuerange the y-range of the chart as an array [min, max]
// - heads an array of gauge charts to render above the submenu section
// - mainheads an array of gauge charts to render at the menu section
customDashboard.context = {
};