| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.rest.handler.job | |
| org.apache.flink.runtime.webmonitor.threadinfo |
| 构造器和说明 |
|---|
JobVertexFlameGraphHandler(GatewayRetriever<? extends RestfulGateway> leaderRetriever,
org.apache.flink.api.common.time.Time timeout,
Map<String,String> responseHeaders,
ExecutionGraphCache executionGraphCache,
Executor executor,
JobVertexThreadInfoTracker<JobVertexThreadInfoStats> threadInfoOperatorTracker) |
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<JobVertexThreadInfoStats> |
ThreadInfoRequestCoordinator.triggerThreadInfoRequest(Map<org.apache.flink.shaded.guava30.com.google.common.collect.ImmutableSet<ExecutionAttemptID>,CompletableFuture<TaskExecutorThreadInfoGateway>> executionsWithGateways,
int numSamples,
java.time.Duration delayBetweenSamples,
int maxStackTraceDepth)
Triggers collection of thread info stats of a job vertex by combining thread info responses
from given subtasks.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static JobVertexFlameGraph |
JobVertexFlameGraphFactory.createFullFlameGraphFrom(JobVertexThreadInfoStats sample)
Converts
JobVertexThreadInfoStats into a FlameGraph. |
static JobVertexFlameGraph |
JobVertexFlameGraphFactory.createOffCpuFlameGraph(JobVertexThreadInfoStats sample)
Converts
JobVertexThreadInfoStats into a FlameGraph representing blocked (Off-CPU)
threads. |
static JobVertexFlameGraph |
JobVertexFlameGraphFactory.createOnCpuFlameGraph(JobVertexThreadInfoStats sample)
Converts
JobVertexThreadInfoStats into a FlameGraph representing actively running
(On-CPU) threads. |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T extends Statistics> |
JobVertexThreadInfoTrackerBuilder.newBuilder(GatewayRetriever<ResourceManagerGateway> resourceManagerGatewayRetriever,
java.util.function.Function<JobVertexThreadInfoStats,T> createStatsFn,
ScheduledExecutorService executor,
org.apache.flink.api.common.time.Time restTimeout)
Create a new
JobVertexThreadInfoTrackerBuilder. |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.