opensearch-project / performance-analyzer

📈 Get detailed performance metrics from your cluster independently of the Java Virtual Machine (JVM)
https://opensearch.org/docs/latest/monitoring-plugins/pa/index/
Apache License 2.0
33 stars 67 forks source link

Searchbackpressure #482

Closed CoderJeffrey closed 1 year ago

CoderJeffrey commented 1 year ago

Signed-off-by: Jeffrey Liu ujeffliu@amazon.com

Is your feature request related to a problem? Please provide an existing Issue # , or describe. Not related to an issue, but add the functionality to monitor the SearchBackPressure Service.

Describe the solution you are proposing Add SearchBackPressureStatsCollector.java to collect SearchBackPressure related metrics, and added Unit Testing for SearchBackPressureStatsCollector.java. And the metrics are all stored in /dev/shm/performanceanalyzer directory Can verify by search for "search_back_pressure" in any log file.

Describe alternatives you've considered N/A

Additional context Add any other context or screenshots about the feature request here.

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.