Class MetricReport
java.lang.Object
com.arpnetworking.metrics.proxy.models.messages.MetricReport
Message class to hold data about a metric that should be sent to clients.
- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot io)
-
Constructor Summary
ConstructorDescriptionMetricReport
(String service, String host, String statistic, String metric, double value, Optional<Unit> unit, ZonedDateTime periodStart) Public constructor. -
Method Summary
-
Constructor Details
-
MetricReport
public MetricReport(String service, String host, String statistic, String metric, double value, Optional<Unit> unit, ZonedDateTime periodStart) Public constructor.- Parameters:
service
- name of the servicehost
- name of the hoststatistic
- name of the statisticmetric
- name of the metricvalue
- valueunit
- unitperiodStart
- start of the period
-
-
Method Details