Package org.apache.phoenix.metrics

Examples of org.apache.phoenix.metrics.MetricsManager


  private static final String CONTEXT = "tracing";

  private List<Metric> spans = new ArrayList<Metric>();

  public TraceMetricSource() {
    MetricsManager manager = Metrics.initialize();

    // Register this instance.
    // For right now, we ignore the MBean registration issues that show up in DEBUG logs. Basically,
    // we need a Jmx MBean compliant name. We'll get to a better name when we want that later
    manager.registerSource(CONTEXT, "Phoenix call tracing", this);
  }
View Full Code Here

TOP

Related Classes of org.apache.phoenix.metrics.MetricsManager

Copyright © 2018 www.massapicom. 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.