GoshPosh / grafana-meta-queries

Grafana plugin for calculating time period metrics like week over week, month over month and year over year etc.
Apache License 2.0
283 stars 71 forks source link

Question: how to access a metric of elastic search query? #26

Open kccheung opened 6 years ago

kccheung commented 6 years ago

As title and please check the screenshot below, my query D expression B['Count'] cannot show up any value correctly.

screen shot 2018-05-03 at 11 41 11

Gauravshah commented 6 years ago

@kccheung you will need to set alias on your first query and then use B['alias']

TryTryAgain commented 5 years ago

I had a similar issue and it was because I didn't follow the first step "Set the panel datasource as MetaQueries" ... if your default datasource is not MetaQueries that may be your issue as well.