go-datadog-api
go-datadog-api copied to clipboard
use the new hosts search endpoint
From the Datadog API reference:
The prefix host: is also supported for the query to seach over host names, but it is deprecated, use the host search endpoint instead.
This PR updates the library to use the host search endpoint for hosts search.
I have re-added the old function.
@jirikuncar any luck?