-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] Migrating Metrics From Performance Analyzer to OpenTelemetry Framework #585
Comments
@ansjcy, thanks for putting this up. Utilizing the OpenSearch telemetry framework for emitting these metrics does seem promising. The PA plugin generators are already well-written, making them easily reusable. Since these metrics are ideally part of a plugin rather than being merged directly into the core, migrating them to the OpenSearch telemetry framework within the PA plugin sounds like a sensible approach. thoughts here @reta @backslasht @msfroh @khushbr @Bukhtawar |
Agree with @Gaganjuneja , the OpenSearch already collects tons of metrics but exposes them through REST APIs, using the newly developed metric providers, we certainly could unify the approach. Thanks @ansjcy ! |
+1, I like the idea of migrating the Performance Analyzer plugin metrics into the OpenTelemetry format. But, would like to understand bit more on deprecation of "Performance Analyzer" plugin part.
|
Thank you, @reta and @backslasht, for your prompt responses. My suggestion is to retain these metrics within the "Performance Analyzer" plugin for the time being, given its extensive collection of operating system metrics. To facilitate this, we can pass the MetricsRegistry from the core to the Performance Analyzer plugin and initiate the migration of metrics to utilize an OpenTelemetry-based metrics registry for publishing purposes. Eventually, we can deliberate on the feasibility of integrating this plugin entirely into the core, taking into consideration the implications of backporting as well. |
Introduction
This RFC proposes migrating metrics from the OpenSearch Performance Analyzer (a plugin designed to gather system and application-level metrics) to OpenTelemetry framework, in light of the recent integration of OpenTelemetry as a trace/metrics collector within OpenSearch, and eventually deprecate the Performance Analyzer plugin.
Background
OpenSearch Performance Analyzer has been a valuable plugin within OpenSearch, offering insights into system and application level performance. With the advancement in observability frameworks and the community's move towards standardization, OpenSearch has integrated OpenTelemetry as a metrics collector, we are now presented with an opportunity to streamline our metrics collection workflow and framework and improve the maintainability and performance of the metrics collection workflow.
Motivation
Proposal
Appendix
Categories of PA (the plugin) Collectors
OSMetricsCollector
and forward to the Json file in shared Memory.DiskCollector
and forward to the Json file in shared Memory.NetworkInterfaceCollector
and forward to the Json file in shared Memory.routingTable
data within the clusterService passed from OpenSearchstats()
function on the threadpool object passed from OpenSearch. we use Java reflection to get the capacity of the threadpoolThe text was updated successfully, but these errors were encountered: