Skip to content

use the new hosts search endpoint - #302

Open
eloyekunle wants to merge 1 commit into
zorkian:masterfrom
eloyekunle:master
Open

use the new hosts search endpoint#302
eloyekunle wants to merge 1 commit into
zorkian:masterfrom
eloyekunle:master

Conversation

@eloyekunle

Copy link
Copy Markdown

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.

Comment thread search.go
Comment thread hosts.go Outdated
Comment thread hosts.go Outdated

@jirikuncar jirikuncar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should keep the old function for compatibility reasons.

@eloyekunle

Copy link
Copy Markdown
Author

I have re-added the old function.

@eloyekunle

Copy link
Copy Markdown
Author

@jirikuncar any luck?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants