Tabnine Logo
JMXReportingService.registerMetricSetWithPrefix
Code IndexAdd Tabnine to your IDE (free)

How to use
registerMetricSetWithPrefix
method
in
org.apache.gobblin.runtime.services.JMXReportingService

Best Java code snippets using org.apache.gobblin.runtime.services.JMXReportingService.registerMetricSetWithPrefix (Showing top 2 results out of 315)

origin: apache/incubator-gobblin

private void registerJvmMetrics() {
 registerMetricSetWithPrefix("jvm.gc", new GarbageCollectorMetricSet());
 registerMetricSetWithPrefix("jvm.memory", new MemoryUsageGaugeSet());
 registerMetricSetWithPrefix("jvm.threads", new ThreadStatesGaugeSet());
 this.metricRegistry.register("jvm.fileDescriptorRatio", new FileDescriptorRatioGauge());
 for (Map.Entry<String, MetricSet> metricSet : this.additionalMetricSets.entrySet()) {
  registerMetricSetWithPrefix(metricSet.getKey(), metricSet.getValue());
 }
}
origin: org.apache.gobblin/gobblin-runtime

private void registerJvmMetrics() {
 registerMetricSetWithPrefix("jvm.gc", new GarbageCollectorMetricSet());
 registerMetricSetWithPrefix("jvm.memory", new MemoryUsageGaugeSet());
 registerMetricSetWithPrefix("jvm.threads", new ThreadStatesGaugeSet());
 this.metricRegistry.register("jvm.fileDescriptorRatio", new FileDescriptorRatioGauge());
 for (Map.Entry<String, MetricSet> metricSet : this.additionalMetricSets.entrySet()) {
  registerMetricSetWithPrefix(metricSet.getKey(), metricSet.getValue());
 }
}
org.apache.gobblin.runtime.servicesJMXReportingServiceregisterMetricSetWithPrefix

Popular methods of JMXReportingService

  • <init>
  • registerJvmMetrics

Popular in Java

  • Running tasks concurrently on multiple threads
  • getResourceAsStream (ClassLoader)
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top plugins for WebStorm
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