zorkian / go-datadog-api

A Go implementation of the Datadog API.
BSD 3-Clause "New" or "Revised" License
183 stars 156 forks source link

[dashboard widgets] Add "multi_compute" field to dashboard logs queries #257

Closed mhintz closed 5 years ago

mhintz commented 5 years ago

The current "compute" field is a single object, but we need multiple "compute" aggregations for the columns of the table widget. To solve this problem without doing a painful migration of the type of the "compute" field, we decided to add a field called multi_compute which contains an array of "compute" objects. This validation is already in place in the dashboards backend, and this PR adds it to the Go API.

bkabrda commented 5 years ago

LGTM, merging. Thanks for the PR!