Class JobVerticeController
java.lang.Object
cn.sliew.flinkful.rest.client.controller.JobVerticeController
@RestController
@RequestMapping("/flinkful/job-vertices")
public class JobVerticeController
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjobVertexAccumulators(String jobId, String vertexId) https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-accumulatorsjobVertexBackPressure(String jobId, String vertexId) https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-backpressurejobVertexDetail(String jobId, String vertexId) https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexidCompletableFuture<org.apache.flink.runtime.webmonitor.threadinfo.VertexFlameGraph>jobVertexFlameGraph(String jobId, String vertexId, Optional<String> type) https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-flamegraphjobVertexMetrics(String jobId, String vertexId, Optional<String> get) https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-metricsjobVertexSubtaskAccumulators(String jobId, String vertexId) https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-subtasks-accumulatorsjobVertexSubtaskAttemptAccumulators(String jobId, String vertexId, Integer subtaskIndex, Integer attempt) https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-subtasks-subtaskindex-attempts-att-1jobVertexSubtaskAttemptDetail(String jobId, String vertexId, Integer subtaskIndex, Integer attempt) https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-subtasks-subtaskindex-attempts-attjobVertexSubtaskDetail(String jobId, String vertexId, Integer subtaskIndex) https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-subtasks-subtaskindexjobVertexSubtaskMetrics(String jobId, String vertexId, Integer subtaskIndex, String get) https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-subtasks-subtaskindex-metricsjobVertexSubtaskMetrics(String jobId, String vertexId, Optional<String> get, Optional<String> agg, Optional<String> subtasks) https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-subtasks-accumulatorsjobVertexSubtaskTimes(String jobId, String vertexId) https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-subtasktimesjobVertexTaskManagers(String jobId, String vertexId) https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-subtasktimesjobVertexWatermarks(String jobId, String vertexId) https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-watermarks
-
Constructor Details
-
JobVerticeController
public JobVerticeController()
-
-
Method Details
-
jobVertexDetail
@GetMapping("{jobId}/vertices/{vertexId}") public CompletableFuture<JobVertexDetailsInfo> jobVertexDetail(@PathVariable("jobId") String jobId, @PathVariable("vertexId") String vertexId) throws IOException https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid- Throws:
IOException
-
jobVertexAccumulators
@GetMapping("{jobId}/vertices/{vertexId}/accumulators") public CompletableFuture<JobVertexAccumulatorsInfo> jobVertexAccumulators(@PathVariable("jobId") String jobId, @PathVariable("vertexId") String vertexId) throws IOException https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-accumulators- Throws:
IOException
-
jobVertexBackPressure
@GetMapping("{jobId}/vertices/{vertexId}/backpressure") public CompletableFuture<JobVertexBackPressureInfo> jobVertexBackPressure(@PathVariable("jobId") String jobId, @PathVariable("vertexId") String vertexId) throws IOException https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-backpressure- Throws:
IOException
-
jobVertexFlameGraph
@GetMapping("{jobId}/vertices/{vertexId}/flamegraph") public CompletableFuture<org.apache.flink.runtime.webmonitor.threadinfo.VertexFlameGraph> jobVertexFlameGraph(@PathVariable("jobId") String jobId, @PathVariable("vertexId") String vertexId, @RequestParam("type") Optional<String> type) throws IOException https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-flamegraph- Throws:
IOException
-
jobVertexMetrics
@GetMapping("{jobId}/vertices/{vertexId}/metrics") public CompletableFuture<MetricCollectionResponseBody> jobVertexMetrics(@PathVariable("jobId") String jobId, @PathVariable("vertexId") String vertexId, @RequestParam("get") Optional<String> get) throws IOException https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-metrics- Throws:
IOException
-
jobVertexSubtaskTimes
@GetMapping("{jobId}/vertices/{vertexId}/subtasktimes") public CompletableFuture<SubtasksTimesInfo> jobVertexSubtaskTimes(@PathVariable("jobId") String jobId, @PathVariable("vertexId") String vertexId) throws IOException https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-subtasktimes- Throws:
IOException
-
jobVertexTaskManagers
@GetMapping("{jobId}/vertices/{vertexId}/taskmanagers") public CompletableFuture<JobVertexTaskManagersInfo> jobVertexTaskManagers(@PathVariable("jobId") String jobId, @PathVariable("vertexId") String vertexId) throws IOException https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-subtasktimes- Throws:
IOException
-
jobVertexWatermarks
@GetMapping("{jobId}/vertices/{vertexId}/watermarks") public CompletableFuture<MetricCollectionResponseBody> jobVertexWatermarks(@PathVariable("jobId") String jobId, @PathVariable("vertexId") String vertexId) throws IOException https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-watermarks- Throws:
IOException
-
jobVertexSubtaskAccumulators
@GetMapping("{jobId}/vertices/{vertexId}/subtasks/accumulators") public CompletableFuture<SubtasksAllAccumulatorsInfo> jobVertexSubtaskAccumulators(@PathVariable("jobId") String jobId, @PathVariable("vertexId") String vertexId) throws IOException https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-subtasks-accumulators- Throws:
IOException
-
jobVertexSubtaskMetrics
@GetMapping("{jobId}/vertices/{vertexId}/subtasks/metrics") public CompletableFuture<MetricCollectionResponseBody> jobVertexSubtaskMetrics(@PathVariable("jobId") String jobId, @PathVariable("vertexId") String vertexId, @RequestParam("get") Optional<String> get, @RequestParam("agg") Optional<String> agg, @RequestParam("subtasks") Optional<String> subtasks) throws IOException https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-subtasks-accumulators- Throws:
IOException
-
jobVertexSubtaskDetail
@GetMapping("{jobId}/vertices/{vertexId}/subtasks/{subtaskIndex}") public CompletableFuture<SubtaskExecutionAttemptDetailsInfo> jobVertexSubtaskDetail(@PathVariable("jobId") String jobId, @PathVariable("vertexId") String vertexId, @PathVariable("subtaskIndex") Integer subtaskIndex) throws IOException https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-subtasks-subtaskindex- Throws:
IOException
-
jobVertexSubtaskMetrics
@GetMapping("{jobId}/vertices/{vertexId}/subtasks/{subtaskIndex}/metrics") public CompletableFuture<MetricCollectionResponseBody> jobVertexSubtaskMetrics(@PathVariable("jobId") String jobId, @PathVariable("vertexId") String vertexId, @PathVariable("subtaskIndex") Integer subtaskIndex, @RequestParam("get") String get) throws IOException https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-subtasks-subtaskindex-metrics- Throws:
IOException
-
jobVertexSubtaskAttemptDetail
@GetMapping("{jobId}/vertices/{vertexId}/subtasks/{subtaskIndex}/attempts/{attempt}") public CompletableFuture<SubtaskExecutionAttemptDetailsInfo> jobVertexSubtaskAttemptDetail(@PathVariable("jobId") String jobId, @PathVariable("vertexId") String vertexId, @PathVariable("subtaskIndex") Integer subtaskIndex, @PathVariable("attempt") Integer attempt) throws IOException https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-subtasks-subtaskindex-attempts-att- Throws:
IOException
-
jobVertexSubtaskAttemptAccumulators
@GetMapping("{jobId}/vertices/{vertexId}/subtasks/{subtaskIndex}/attempts/{attempt}/accumulators") public CompletableFuture<SubtaskExecutionAttemptAccumulatorsInfo> jobVertexSubtaskAttemptAccumulators(@PathVariable("jobId") String jobId, @PathVariable("vertexId") String vertexId, @PathVariable("subtaskIndex") Integer subtaskIndex, @PathVariable("attempt") Integer attempt) throws IOException https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#jobs-jobid-vertices-vertexid-subtasks-subtaskindex-attempts-att-1- Throws:
IOException
-