Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

ES filters on tables breaks Warp10 annotations queries #43

Open
ldec opened this issue Aug 8, 2019 · 0 comments
Open

ES filters on tables breaks Warp10 annotations queries #43

ldec opened this issue Aug 8, 2019 · 0 comments

Comments

@ldec
Copy link

ldec commented Aug 8, 2019

When using a Warp10 datasource for annotations, creating filters in ES tables breaks the Warp10 query.

Warp10 annotation:

[ $token 'mySerie' { } $end $interval ] FETCH 

When creating a filter in the dashboard (here a table using an ES datasource):
create_filter

filter

The following JS error happens every time the dashboard is refreshed (and the annotation is not shown anymore):

AnnotationSrv.query error TypeError: "myVar.current is undefined"
    computeGrafanaContext https://GRAFANA_URL/public/plugins/grafana-warp10-datasource/warp10-datasource.js:254
    annotationQuery https://GRAFANA_URL/public/plugins/grafana-warp10-datasource/warp10-datasource.js:134
    s https://GRAFANA_URL/public/build/app.469095018b321ef1da7c.js:22
    c https://GRAFANA_URL/public/build/vendor.469095018b321ef1da7c.js:130
    c https://GRAFANA_URL/public/build/vendor.469095018b321ef1da7c.js:130
    $digest https://GRAFANA_URL/public/build/vendor.469095018b321ef1da7c.js:130
    $apply https://GRAFANA_URL/public/build/vendor.469095018b321ef1da7c.js:130
    l https://GRAFANA_URL/public/build/vendor.469095018b321ef1da7c.js:130
    h https://GRAFANA_URL/public/build/vendor.469095018b321ef1da7c.js:130
    n https://GRAFANA_URL/public/build/vendor.469095018b321ef1da7c.js:130
app.469095018b321ef1da7c.js:22:827595

There is no "exec" call made after in the browser Network inspector.

The error still happens after removing the filter from the dashboard with the following action:
remove_filter

and will only stop once the "Filters" variables (as shown bellow) is removed.

filters

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant