Interface DatadogClient

    • Method Detail

      • event

        boolean event​(DatadogEvent event)
        Sends an event to the Datadog API, including the event payload.
        Parameters:
        event - - a DatadogEvent object
        Returns:
        a boolean to signify the success or failure of the HTTP POST request.
      • serviceCheck

        boolean serviceCheck​(String name,
                             DatadogClient.Status status,
                             String hostname,
                             Map<String,​Set<String>> tags)
        Sends a service check to the Datadog API, including the check name, and status.
        Parameters:
        name - - A String with the name of the service check to record.
        status - - An Status with the status code to record for this service check.
        hostname - - A String with the hostname to submit.
        tags - - A Map containing the tags to submit.
        Returns:
        a boolean to signify the success or failure of the HTTP POST request.