Adds a widget to the top of a dashboard. Its name must be unique on the dashboard.
Calls POST /v1/dashboard/{dashboardId}/widget
Arguments
Options
What to aggregate: 1 to 10 measures.
Applied to every measure, on top of each measure’s own filters.
Bucket size. Defaults from the window’s length and steps coarser when the window would exceed 500 buckets. One of HOUR, DAY, WEEK, MONTH
PREVIOUS_PERIOD adds the preceding window of the same length to every series. One of NONE, PREVIOUS_PERIOD
Run every measure once per named filter set, e.g. one group per agent.
Unique on the dashboard: how the widget is matched on update.
Chart type. Defaults to LINE. One of LINE, NUMBER, RADAR, STACKED_BAR, TABLE
Grid width. Defaults to MEDIUM. One of SMALL, MEDIUM, LARGE, EXTRA_LARGE
Example
Every command also takes the global options and sets one
of the exit codes.