Tabnine Logo
org.apache.flink.metrics.reporter
Code IndexAdd Tabnine to your IDE (free)

How to use org.apache.flink.metrics.reporter

Best Java code snippets using org.apache.flink.metrics.reporter (Showing top 20 results out of 315)

origin: org.apache.flink/flink-runtime_2.11

  @Override
  public void run() {
    try {
      reporter.report();
    } catch (Throwable t) {
      LOG.warn("Error while reporting metrics", t);
    }
  }
}
origin: org.apache.beam/beam-runners-flink_2.11

@Override
public void notifyOfRemovedMetric(Metric metric, String metricName, MetricGroup group) {
 final String name = group.getMetricIdentifier(metricName, this);
 super.notifyOfRemovedMetric(metric, metricName, group);
 synchronized (this) {
  ps.printf("%s: %s%n", name, Metrics.toString(metric));
 }
}
origin: org.apache.flink/flink-runtime

if (reporter != null) {
  FrontMetricGroup front = new FrontMetricGroup<AbstractMetricGroup<?>>(i, group);
  reporter.notifyOfRemovedMetric(metric, metricName, front);
origin: org.apache.flink/flink-runtime_2.11

if (reporter != null) {
  FrontMetricGroup front = new FrontMetricGroup<AbstractMetricGroup<?>>(i, group);
  reporter.notifyOfAddedMetric(metric, metricName, front);
origin: org.apache.flink/flink-runtime_2.10

for (MetricReporter reporter : reporters) {
  try {
    reporter.close();
  } catch (Throwable t) {
    LOG.warn("Metrics reporter did not shut down cleanly", t);
origin: com.alibaba.blink/flink-runtime

reporterConfig.addAllToProperties(metricConfig);
LOG.info("Configuring {} with {}.", namedReporter, metricConfig);
reporterInstance.open(metricConfig);
origin: org.apache.flink/flink-runtime

  @Override
  public void run() {
    try {
      reporter.report();
    } catch (Throwable t) {
      LOG.warn("Error while reporting metrics", t);
    }
  }
}
origin: org.apache.flink/flink-runtime_2.11

if (reporter != null) {
  FrontMetricGroup front = new FrontMetricGroup<AbstractMetricGroup<?>>(i, group);
  reporter.notifyOfRemovedMetric(metric, metricName, front);
origin: org.apache.flink/flink-runtime

if (reporter != null) {
  FrontMetricGroup front = new FrontMetricGroup<AbstractMetricGroup<?>>(i, group);
  reporter.notifyOfAddedMetric(metric, metricName, front);
origin: org.apache.flink/flink-runtime_2.11

for (MetricReporter reporter : reporters) {
  try {
    reporter.close();
  } catch (Throwable t) {
    throwable = ExceptionUtils.firstOrSuppressed(t, throwable);
origin: org.apache.flink/flink-runtime_2.10

reporterConfig.addAllToProperties(metricConfig);
LOG.info("Configuring {} with {}.", reporterClass.getSimpleName(), metricConfig);
reporterInstance.open(metricConfig);
origin: com.alibaba.blink/flink-runtime

  @Override
  public void run() {
    try {
      reporter.report();
    } catch (Throwable t) {
      LOG.warn("Error while reporting metrics", t);
    }
  }
}
origin: com.alibaba.blink/flink-runtime

if (reporter != null) {
  FrontMetricGroup front = new FrontMetricGroup<AbstractMetricGroup<?>>(i, group);
  reporter.notifyOfRemovedMetric(metric, metricName, front);
origin: com.alibaba.blink/flink-runtime

if (reporter != null) {
  FrontMetricGroup front = new FrontMetricGroup<AbstractMetricGroup<?>>(i, group);
  reporter.notifyOfAddedMetric(metric, metricName, front);
origin: org.apache.flink/flink-runtime

for (MetricReporter reporter : reporters) {
  try {
    reporter.close();
  } catch (Throwable t) {
    throwable = ExceptionUtils.firstOrSuppressed(t, throwable);
origin: org.apache.flink/flink-runtime

reporterConfig.addAllToProperties(metricConfig);
LOG.info("Configuring {} with {}.", namedReporter, metricConfig);
reporterInstance.open(metricConfig);
origin: org.apache.flink/flink-runtime_2.10

  @Override
  public void run() {
    try {
      reporter.report();
    } catch (Throwable t) {
      LOG.warn("Error while reporting metrics", t);
    }
  }
}
origin: org.apache.flink/flink-runtime_2.10

if (reporter != null) {
  FrontMetricGroup front = new FrontMetricGroup<AbstractMetricGroup<?>>(i, group);
  reporter.notifyOfRemovedMetric(metric, metricName, front);
origin: org.apache.flink/flink-runtime_2.10

if (reporter != null) {
  FrontMetricGroup front = new FrontMetricGroup<AbstractMetricGroup<?>>(i, group);
  reporter.notifyOfAddedMetric(metric, metricName, front);
origin: com.alibaba.blink/flink-runtime

for (MetricReporter reporter : reporters) {
  try {
    reporter.close();
  } catch (Throwable t) {
    throwable = ExceptionUtils.firstOrSuppressed(t, throwable);
org.apache.flink.metrics.reporter

Most used classes

  • MetricReporter
  • Scheduled
  • AbstractReporter
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