Search in sources :

Example 1 with LastExceptionDataProvider

use of org.apache.beam.runners.dataflow.worker.status.LastExceptionDataProvider in project beam by apache.

the class StreamingDataflowWorker method startStatusPages.

public void startStatusPages() {
    if (debugCaptureManager != null) {
        debugCaptureManager.start();
    }
    statusPages.addServlet(stateCache.statusServlet());
    statusPages.addServlet(new SpecsServlet());
    statusPages.addStatusDataProvider("harness", "Harness", new HarnessDataProvider());
    statusPages.addStatusDataProvider("metrics", "Metrics", new MetricsDataProvider());
    statusPages.addStatusDataProvider("exception", "Last Exception", new LastExceptionDataProvider());
    statusPages.addStatusDataProvider("cache", "State Cache", stateCache);
    statusPages.addStatusDataProvider("streaming", "Streaming Rpcs", windmillServer);
    statusPages.start();
}
Also used : LastExceptionDataProvider(org.apache.beam.runners.dataflow.worker.status.LastExceptionDataProvider)

Aggregations

LastExceptionDataProvider (org.apache.beam.runners.dataflow.worker.status.LastExceptionDataProvider)1