Skip to content
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

[FEATURE] Add query latency metrics to enhance performance monitoring #3116

Open
dai-chen opened this issue Oct 24, 2024 · 0 comments
Open
Labels
enhancement New feature or request metrics

Comments

@dai-chen
Copy link
Collaborator

Is your feature request related to a problem?

Currently, only request count metrics are available in SQL plugin, and there are no query latency metrics. This limitation makes it challenging to pinpoint slow SQL translations and effectively address performance bottlenecks.

What solution would you like?

I propose adding latency metrics to the SQL plugin. These metrics would provide insight into the time taken for SQL translation, helping to quickly identify and resolve performance issues.

What alternatives have you considered?

Without direct latency metrics, we have to rely on ALB latency metrics and OpenSearch search latency metrics as indirect indicators, which is less precise.

Do you have any additional context?

Current available metrics: https://github.com/opensearch-project/sql/blob/main/docs/user/admin/monitoring.rst

@dai-chen dai-chen added enhancement New feature or request untriaged metrics and removed untriaged labels Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request metrics
Projects
None yet
Development

No branches or pull requests

1 participant