Merge branch 'master' into tooling/npm-scripts

pull/15561/head
Dominik Prokop 6 years ago
commit 167a18f1f2
  1. 2
      docs/sources/project/building_from_source.md
  2. 4
      public/app/plugins/datasource/prometheus/datasource.ts

@ -83,7 +83,7 @@ go get github.com/Unknwon/bra
bra run
```
You'll also need to run `yarn watch` to watch for changes to the front-end (typescript, html, sass)
You'll also need to run `yarn start` to watch for changes to the front-end (typescript, html, sass)
### Running tests

@ -396,6 +396,10 @@ export class PrometheusDatasource implements DataSourceApi<PromQuery> {
const expandedQueries = queries.map(query => ({
...query,
expr: this.templateSrv.replace(query.expr, {}, this.interpolateQueryExpr),
// null out values we don't support in Explore yet
legendFormat: null,
step: null,
}));
state = {
...state,

Loading…
Cancel
Save