Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pkg/dashboards/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,9 @@ type DashboardWidgetLayoutInput struct {
// DashboardWidgetNRQLQueryInput - NRQL query used by a widget.
type DashboardWidgetNRQLQueryInput struct {
// New Relic account ID to issue the query against.
AccountID int `json:"accountId"`
AccountID int `json:"accountId,omitempty"`
// New Relic account IDs to issue the query against.
AccountIDS []int `json:"accountIds,omitempty"`
// NRQL formatted query.
Query nrdb.NRQL `json:"query"`
}
Expand Down
Loading