Package com.dianping.cat.consumer.metric.model.entity

Examples of com.dianping.cat.consumer.metric.model.entity.MetricItem.addDomain()


      long current = metric.getTimestamp() / 1000 / 60;
      int min = (int) (current % (60));
      String key = m_configManager.buildMetricKey(domain, METRIC, metricName);
      MetricItem metricItem = report.findOrCreateMetricItem(key);

      metricItem.addDomain(domain).setType(status);
      updateMetric(metricItem, min, config.getCount(), config.getValue());

      config.setTitle(metricName);

      ProductLine productline = m_productLineConfigManager.queryProductLine(report.getProduct());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.