Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Excerpt

The reference shows the full usage of the custom widgets for Squirro dashboards.

 In this reference the command line utility squirro_widget and it's usage for uploading widgets to a Squirro cluster is explained. Then each of the main components of a widget has its own section: JavaScript, CSS, HTML.

...

FileTypeExplanation
widget.jsJavaScriptThe executable code of the widget. This file is loaded when the widget is used on a dashboard.
widget.cssCSSStyling of the widget. This file must exist even when no styles are used for the widget.
widget.htmlHTMLTemplate for the HTML code of the widget. Even if no custom template is used, this file must exist.
widget.ini
widget.ini.orig
Config

Automatically created file - do not create yourself. These files keep track of the widget metadata.

...