Tabnine Logo
StatsProviderImpl.getMetrics
Code IndexAdd Tabnine to your IDE (free)

How to use
getMetrics
method
in
io.pravega.shared.metrics.StatsProviderImpl

Best Java code snippets using io.pravega.shared.metrics.StatsProviderImpl.getMetrics (Showing top 3 results out of 315)

origin: pravega/pravega

@Override
public StatsLogger createStatsLogger(String name) {
  init();
  return new StatsLoggerImpl(getMetrics(), "pravega." + name);
}
origin: pravega/pravega

  @Override
  public DynamicLogger createDynamicLogger() {
    init();
    return new DynamicLoggerImpl(conf, metrics, new StatsLoggerImpl(getMetrics(), "pravega"));
  }
}
origin: pravega/pravega

reporters.add(CsvReporter.forRegistry(getMetrics())
       .convertRatesTo(TimeUnit.SECONDS)
       .convertDurationsTo(TimeUnit.MILLISECONDS)
reporters.add(StatsDReporter.forRegistry(getMetrics())
              .prefixedWith(conf.getMetricsPrefix())
              .build(conf.getStatsDHost(), conf.getStatsDPort()));
log.info("Configuring stats with graphite at {}:{}", conf.getGraphiteHost(), conf.getGraphitePort());
final Graphite graphite = new Graphite(new InetSocketAddress(conf.getGraphiteHost(), conf.getGraphitePort()));
reporters.add(GraphiteReporter.forRegistry(getMetrics())
  .prefixedWith(conf.getMetricsPrefix())
  .convertRatesTo(TimeUnit.SECONDS)
final JmxReporter jmx = JmxReporter.forRegistry(getMetrics())
  .inDomain(conf.getJmxDomain())
  .convertRatesTo(TimeUnit.SECONDS)
  log.info("Configuring stats with ganglia at {}:{}", conf.getGangliaHost(), conf.getGangliaPort());
  final GMetric ganglia = new GMetric(conf.getGangliaHost(), conf.getGangliaPort(), GMetric.UDPAddressingMode.MULTICAST, 1);
  reporters.add(GangliaReporter.forRegistry(getMetrics())
    .prefixedWith(conf.getMetricsPrefix())
    .convertRatesTo(TimeUnit.SECONDS)
reporters.add(ConsoleReporter.forRegistry(getMetrics())
  .convertRatesTo(TimeUnit.SECONDS)
  .convertDurationsTo(TimeUnit.MILLISECONDS)
io.pravega.shared.metricsStatsProviderImplgetMetrics

Popular methods of StatsProviderImpl

  • <init>
  • init

Popular in Java

  • Start an intent from android
  • getSharedPreferences (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • getSupportFragmentManager (FragmentActivity)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • String (java.lang)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now