Interface MetricsClient

    • Method Detail

      • gauge

        void gauge​(String name,
                   double value,
                   String hostname,
                   Map<String,​Set<String>> tags)
        Sends a metric to the Datadog API, including the gauge name and value.
        Parameters:
        name - - A String with the name of the metric to record.
        value - - A long containing the value to submit.
        hostname - - A String with the hostname to submit.
        tags - - A Map containing the tags to submit.
      • rate

        void rate​(String name,
                  double value,
                  String hostname,
                  Map<String,​Set<String>> tags)
        Sends a rate metric to the Datadog API, including the counter name and value.
        Parameters:
        name - - A String with the name of the metric to record.
        value - - A long containing the value to submit.
        hostname - - A String with the hostname to submit.
        tags - - A Map containing the tags to submit.