Class RestApiMetricsCollector<KEY,​Context extends JobAutoScalerContext<KEY>>

    • Constructor Detail

      • RestApiMetricsCollector

        public RestApiMetricsCollector()
    • Method Detail

      • queryAggregatedVertexMetrics

        protected java.util.Map<FlinkMetric,​org.apache.flink.runtime.rest.messages.job.metrics.AggregatedMetric> queryAggregatedVertexMetrics​(Context ctx,
                                                                                                                                                    org.apache.flink.runtime.jobgraph.JobVertexID jobVertexID,
                                                                                                                                                    java.util.Map<java.lang.String,​FlinkMetric> metrics)
      • queryJmMetrics

        protected java.util.Map<FlinkMetric,​org.apache.flink.runtime.rest.messages.job.metrics.Metric> queryJmMetrics​(org.apache.flink.client.program.rest.RestClusterClient<?> restClient,
                                                                                                                            java.util.Map<java.lang.String,​FlinkMetric> metrics)
      • queryAggregatedTmMetrics

        protected java.util.Map<FlinkMetric,​org.apache.flink.runtime.rest.messages.job.metrics.AggregatedMetric> queryAggregatedTmMetrics​(org.apache.flink.client.program.rest.RestClusterClient<?> restClient,
                                                                                                                                                java.util.Map<java.lang.String,​FlinkMetric> metrics)