public class MetricQuerier extends Object
| Constructor and Description |
|---|
MetricQuerier(org.apache.flink.configuration.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
Double |
getAggregatedMetricsByRestAPI(TestEnvironment.Endpoint endpoint,
org.apache.flink.api.common.JobID jobId,
String sourceOrSinkName,
String metricName,
String filter) |
static org.apache.flink.runtime.rest.messages.job.JobDetailsInfo |
getJobDetails(org.apache.flink.runtime.rest.RestClient client,
TestEnvironment.Endpoint endpoint,
org.apache.flink.api.common.JobID jobId) |
org.apache.flink.runtime.rest.messages.job.metrics.AggregatedMetricsResponseBody |
getMetricList(TestEnvironment.Endpoint endpoint,
org.apache.flink.api.common.JobID jobId,
org.apache.flink.runtime.jobgraph.JobVertexID vertexId) |
org.apache.flink.runtime.rest.messages.job.metrics.AggregatedMetricsResponseBody |
getMetrics(TestEnvironment.Endpoint endpoint,
org.apache.flink.api.common.JobID jobId,
org.apache.flink.runtime.jobgraph.JobVertexID vertexId,
String filters) |
public MetricQuerier(org.apache.flink.configuration.Configuration configuration)
throws org.apache.flink.util.ConfigurationException
org.apache.flink.util.ConfigurationExceptionpublic static org.apache.flink.runtime.rest.messages.job.JobDetailsInfo getJobDetails(org.apache.flink.runtime.rest.RestClient client,
TestEnvironment.Endpoint endpoint,
org.apache.flink.api.common.JobID jobId)
throws Exception
Exceptionpublic org.apache.flink.runtime.rest.messages.job.metrics.AggregatedMetricsResponseBody getMetricList(TestEnvironment.Endpoint endpoint, org.apache.flink.api.common.JobID jobId, org.apache.flink.runtime.jobgraph.JobVertexID vertexId) throws Exception
Exceptionpublic org.apache.flink.runtime.rest.messages.job.metrics.AggregatedMetricsResponseBody getMetrics(TestEnvironment.Endpoint endpoint, org.apache.flink.api.common.JobID jobId, org.apache.flink.runtime.jobgraph.JobVertexID vertexId, String filters) throws Exception
ExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.