Ddog v0.1.1 Ddog.Helper View Source

Link to this section Summary

Functions

Accepts list of tags passed and return a list of tags for Datadog search.

Accepts a list of monitors and return a prettified string. When argument is of type map, it returns a prettified json string.

Link to this section Functions

Link to this function

add_auth(url, query \\ %{}) View Source

Accepts list of tags passed and return a list of tags for Datadog search.

Returns tag1 tag2 tag3

## Examples

  iex> build_query(["tag1", "tag2", "tag3"])
  "tag1 tag2 tag3"

Accepts a list of monitors and return a prettified string. When argument is of type map, it returns a prettified json string.