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

Expressions following pipeline aggregations (derivative) result in Query Error: 500 #154

Closed
blaho-bradley opened this issue Apr 25, 2023 · 1 comment · Fixed by #168
Closed
Assignees

Comments

@blaho-bradley
Copy link

opensearch_plugin_error

What happened: It looks like any expression (even just $A) following a pipeline aggregation results in this behavior (query 500 error). This is reproducible regardless of whether or not the metric is hidden.

What you expected to happen: I expect that the expression would operate each timeseries returned from the query

How to reproduce it (as minimally and precisely as possible):

  • Set OpenSearch datasource
  • Set Average metric on field / Date Histogram on A
  • Add metric "derivative" on Average metric
  • Add Expression $A
  • Observe "Query error: 500"

Anything else we need to know?:
This may be related to: grafana 51152

Environment:

  • Grafana version: v9.2.3
  • Plugin version: v2.4.0
@idastambuk
Copy link
Contributor

Hi @blaho-bradley, thanks for reporting this!
I've managed to reproduce it (albeit with a different error). Currently investigating, will report with any updates or ways to go around it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants