java.lang.Object
com.arpnetworking.metrics.proxy.models.messages.NewMetric

public final class NewMetric extends Object
Message class to inform clients of a new metric.
Author:
Brandon Arp (brandon dot arp at inscopemetrics dot io)
  • Constructor Details

    • NewMetric

      public NewMetric(String service, String metric, String statistic)
      Public constructor.
      Parameters:
      service - service the metric is from
      metric - metric name
      statistic - statistic
  • Method Details

    • getService

      public String getService()
    • getMetric

      public String getMetric()
    • getStatistic

      public String getStatistic()
    • toString

      public String toString()
      Overrides:
      toString in class Object