Jennifer Pinkham > WebService-DataDog-0.9.0 > WebService::DataDog::Search

Download:
WebService-DataDog-0.9.0.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: v0.9.0   Source   Latest Release: WebService-DataDog-1.0.0

NAME ^

WebService::DataDog::Search - Interface to Search functions in DataDog's API.

VERSION ^

Version 0.9.0

SYNOPSIS ^

This module allows you interact with the Search endpoint of the DataDog API.

Per DataDog: "This end point allows you to search for entities in Datadog. The currently searchable entities are: hosts, metrics"

METHODS ^

retrieve()

Return a list of search results for the specified term.

        my $search = $datadog->build('Search');
        my $search_results = $search->retrieve(
                term  => $search_term,
                facet => [ 'hosts', 'metrics' ] #optional
        );

Parameters:

syntax highlighting: