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

Trim Edges previously not working in alerts, now no longer works in dashboard panels #544

Open
tustunkok opened this issue Jan 16, 2025 · 1 comment
Labels
datasource/OpenSearch type/bug Something isn't working

Comments

@tustunkok
Copy link

What happened:
Trim Edges functionality has not been working since v2.16.0 in alerts. The workaround for them is to shift the time from the datetime picker. However, since 2.22.2 it has stopped working in normal visualizations too. Currently, Trim Edges values are not considered and have no effect on a visualization.

What you expected to happen:
The value that is entered to Trim Edges should cut the values from the beginning and end of the values in the panels. (The same behavior as in an Elasticsearch data source.)

How to reproduce it (as minimally and precisely as possible):
1- Create a time series visualization with an OpenSearch data source in a dashboard.
2- Try to enter some values to the Trim Edges input box in the @timestamp date histogram aggregation.

Anything else we need to know?:
This problem previously exists in the alerts but not as critical as exists in visualizations. Every visualization in a Grafana deployment can be affected by this bug.

Environment:

  • Grafana version: 11.3.2
  • OpenSearch version: 2.17.1
  • Plugin version: 2.22.2
@tustunkok
Copy link
Author

tustunkok commented Jan 17, 2025

I managed to get Trim Edges working again by disabling openSearchBackendFlowEnabled feature toggle. Trim Edges in alerts are still not working. I think this might be related with #545 and #407.

@kevinwcyu kevinwcyu moved this from Incoming to Next in AWS Datasources Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasource/OpenSearch type/bug Something isn't working
Projects
Status: Next
Development

No branches or pull requests

1 participant