Skip to content

Commit

Permalink
SearchBackPressure Service Collector added (#483)
Browse files Browse the repository at this point in the history
* SearchBackPressure Collector added

Signed-off-by: CoderJeffrey <[email protected]>
  • Loading branch information
CoderJeffrey authored Jun 24, 2023
1 parent 5428a52 commit e0ea1da
Show file tree
Hide file tree
Showing 4 changed files with 915 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
import org.opensearch.performanceanalyzer.collectors.NodeDetailsCollector;
import org.opensearch.performanceanalyzer.collectors.NodeStatsAllShardsMetricsCollector;
import org.opensearch.performanceanalyzer.collectors.NodeStatsFixedShardsMetricsCollector;
import org.opensearch.performanceanalyzer.collectors.SearchBackPressureStatsCollector;
import org.opensearch.performanceanalyzer.collectors.ShardIndexingPressureMetricsCollector;
import org.opensearch.performanceanalyzer.collectors.ShardStateCollector;
import org.opensearch.performanceanalyzer.collectors.ThreadPoolMetricsCollector;
Expand Down Expand Up @@ -224,6 +225,10 @@ public PerformanceAnalyzerPlugin(final Settings settings, final java.nio.file.Pa
scheduledMetricCollectorsExecutor.addScheduledMetricCollector(
new ClusterApplierServiceStatsCollector(
performanceAnalyzerController, configOverridesWrapper));
scheduledMetricCollectorsExecutor.addScheduledMetricCollector(
new SearchBackPressureStatsCollector(
performanceAnalyzerController, configOverridesWrapper));

scheduledMetricCollectorsExecutor.addScheduledMetricCollector(
new AdmissionControlMetricsCollector());
scheduledMetricCollectorsExecutor.addScheduledMetricCollector(
Expand Down
Loading

0 comments on commit e0ea1da

Please sign in to comment.