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
32 stars 66 forks source link

[FEATURE] Dynamic control for metrics collectors #549

Open ansjcy opened 9 months ago

ansjcy commented 9 months ago

Is your feature request related to a problem? The primary objective of this request is to empower administrators and users with dynamic control over metrics collectors during runtime within the OpenSearch ecosystem.

What solution would you like? Specifically, we aim to implement the ability to enable or disable collectors on-the-fly. This dynamic control should intelligently handle cases where a collector's deactivation impacts other dependent collectors, ensuring a seamless and coherent metrics collection process. Furthermore, we aspire to explore the realm of automation by devising mechanisms that automatically adjust collector states based on real-time resource consumption and error metrics. By doing so, we will not only enhance the flexibility and robustness of the metrics collection process but also contribute to the efficiency of the OpenSearch cluster management.

What alternatives have you considered? N/A

Do you have any additional context? A list of collectors we have:

kartva commented 9 months ago

I'd love to tackle this issue.

dblock commented 1 month ago

[Triage -- attendees 1, 2, 3, 4, 5, 6, 7]

dblock commented 1 month ago

@DesmondWillowbrook do you want to try and finish the draft PR?